| irtc_itemfit | R Documentation |
Residual-based item fit for a fitted model: infit and outfit mean squares with Wilson-Hilferty t statistics, evaluated at the EAP person estimates. Values near 1 indicate good fit; the conventional normal range is 0.7 to 1.3.
irtc_itemfit(mod, resp = NULL)
## S3 method for class 'irtc_itemfit'
print(x, lang = irtc_lang(), ...)
mod |
A fitted |
resp |
The response data; only needed when the model object does not store it (streaming engine). |
x |
An |
lang |
Output language, |
... |
Ignored. |
A data frame of class irtc_itemfit with columns item,
N, outfit, outfit_t, infit, infit_t.
irtc_quality, irtc_ctt
set.seed(1)
theta <- rnorm(200)
resp <- as.data.frame(sapply(seq(-1, 1, length.out = 5), function(b) {
as.numeric(runif(200) < plogis(theta - b))
}))
mod <- irtc.mml(resp = resp, verbose = FALSE)
irtc_itemfit(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.