Learn R Programming

eRm (version 0.15-5)

MLoef: Martin-Löf's Likelihood-Ratio-Test

Description

This Likelihood-Ratio-Test is based on item subgroup splitting.

Usage

MLoef(robj, splitcr = "median")

Arguments

robj
An object of class 'Rm'.
splitcr
Split criterion to define the item groups. "median" and "mean" split items in two groups based on their items' raw scores. splitcr can also be a vector of length $k$ (where $k$ denotes the number of items) t

Value

  • MLoef returns an object of class MLoef containing:
  • LRLR-value
  • dfdegrees of freedom
  • p.valuep-value of the test
  • fullModelthe overall Rasch model
  • subModelsa list containing the submodels
  • Lflog-likelihood of the full model
  • Lslist of the sub models' log-likelihoods
  • i.groupsa list of the item groups
  • splitcrsubmitted split criterion
  • split.vectorbinary allocation of items to groups
  • warningitems equalling median or mean for the respective split criteria
  • callthe matched call

encoding

UTF-8

Details

This function implements a generalization of the Martin-Löf test for polytomous items as proposed by Christensen, Bjørner, Kreiner & Petersen (2002), but does currently not allow for missing values. If the split criterion is "median" or "mean" and one or more items' raw scores are equal the median resp. mean, MLoef will assign those items to the lower raw score group. summary.MLoef gives detailed information about the allocation of all items. summary and print methods are available for objects of class 'MLoef'. An exact version of the Martin-Löf test for binary items is implemented in the NPtest function.

References

Christensen, K. B., Bjørner, J. B., Kreiner S. & Petersen J. H. (2002). Testing unidimensionality in polytomous Rasch models. Psychometrika, (67)4, 563--574. Fischer, G. H., and Molenaar, I. (1995). Rasch Models -- Foundations, Recent Developements, and Applications. Springer. Rost, J. (2004). Lehrbuch Testtheorie -- Testkonstruktion. Bern: Huber.

See Also

LRtest, Waldtest

Examples

Run this code
# Martin-Löf-test on dichotomous Rasch model using "median" and a user-defined
# split vector. Note that group indicators can be of character and/or numeric.
splitvec <- c(1, 1, 1, "x", "x", "x", 0, 0, 1, 0)

res <- RM(raschdat1[,1:10])

MLoef.1 <- MLoef(res, splitcr = "median")
MLoef.2 <- MLoef(res, splitcr = splitvec)

MLoef.1

summary(MLoef.2)

Run the code above in your browser using DataLab