clr_tests | R Documentation |
The conditional likelihood ratio tests compare item parameters in low and high score groups for an overall test of homogeneity, and in groups defined by the levels of exogenous factors for tests of no differential item functioning (DIF).
clr_tests(dat.items, dat.exo = NULL, model = c("RM", "PCM"))
dat.items |
A data frame with the responses to the items. |
dat.exo |
A single factor or a data frame consisting of one or more exogenous factor variables. |
model |
If model="RM" a Rasch model will be fitted, if model="PCM" a partial credit model for polytomous items is used. |
matrix with test statistics, df and p values.
Marianne Mueller
Andersen, E.B. (1973). A goodness of fit test for the Rasch model. Psychometrika, 38, 123-140.
#CLR overall test and test of no DIF for agegrp and sex clr_tests(amts[,4:13],amts[,2:3])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.