Bock1997 | R Documentation |
A 3-item tabulated data set extracted from Table 3 in Chapter Two.
Phil Chalmers rphilip.chalmers@gmail.com
Bock, R. D. (1997). The Nominal Categories Model. In van der Linden, W. J. & Hambleton, R. K. Handbook of modern item response theory. New York: Springer.
## Not run:
dat <- expand.table(Bock1997)
head(dat)
itemstats(dat, use_ts=FALSE)
mod <- mirt(dat, 1, 'nominal')
# reproduce table 3 in Bock (1997)
fs <- round(fscores(mod, verbose = FALSE, full.scores = FALSE)[,c('F1','SE_F1')],2)
fttd <- residuals(mod, type = 'exp')
table <- data.frame(fttd[,-ncol(fttd)], fs)
table
mod <- mirt(dat, 1, 'nominal')
coef(mod)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.