Learn R Programming

eRm (version 0.3.1)

LLTM: Estimation of linear logistic test models

Description

This function computes the parameter estimates of a linear logistic test model (LLTM) for binary item responses by using CML estimation.

Usage

LLTM(X, W, mpoints = 1, groupvec = 1)

Arguments

X
Input 0/1 data matrix or data frame; rows represent individuals (N in total), columns represent items.
W
Design matrix for the Rasch model. If omitted, the function will compute W automatically.
mpoints
Number of measurement points.
groupvec
Vector of length N which determines the group membership of each subject, starting from 1

Value

  • Returns on object of class eRm and contains the log-likelihood value, the parameter estimates and their standard errors.
  • modelType of model.
  • loglikThe log-likelihood.
  • dfDegrees of freedom.
  • iterNumber of iterations required.
  • etaparEstimated basic item parameters.
  • se_etaStandard errors of the estimated basic item parameters.
  • hessianHessian matrix.
  • betaparEstimated item parameters.
  • LRThe log-likelihood test statistic for the model.
  • WDesign matrix.
  • mpointsNumber of measurement points.
  • ngroupsNumber of groups.

Details

Through appropriate definition of W the LLTM can be viewed as a more parsimonous Rasch model, on the one hand, e.g. by imposing some cognitive base operations to solve the items. One the other hand, linear extensions of the Rasch model such as group comparisons and repeated measurement designs can be computed. If more than one measurement point is examined, the item responses for the 2nd, 3rd, etc. measurement point are added column-wise in X, i.e. X(T1)|X(T2)|... Available methods for LLTM-objects are print, coef, model.matrix, vcov, summary.

References

Fischer, G. H., and Molenaar, I. (1995). Rasch Models - Foundations, Recent Developements, and Applications. Springer.

See Also

print.eRm,coef.eRm,vcov.eRm,model.matrix.eRm,summary.eRm

Examples

Run this code
#LLTM for two measurement points 
#100 persons, 2*10 items, W generated automatically

data(lltmdat)                                         
res <- LLTM(lltmdat, mpoints = 2)
res

Run the code above in your browser using DataLab