Learn R Programming

eRm (version 0.9.0)

RSM: Estimation of rating scale models

Description

This function computes the parameter estimates of a rating scale model for polytomous item responses by using CML estimation.

Usage

RSM(X, W, se = TRUE, sum0 = TRUE)

Arguments

X
Input data matrix or data frame with item responses (starting from 0); rows represent individuals, columns represent items. Missing values are inserted as NA.
W
Design matrix for the RSM. If omitted, the function will compute W automatically.
se
If TRUE, the standard errors are computed.
sum0
If TRUE, the parameters are normed to sum-0 by specifying an appropriate W. If FALSE, the first parameter is restricted to 0.

Value

  • Returns an object of class Rm, eRm and contains the log-likelihood value, the parameter estimates and their standard errors.
  • loglikThe log-likelihood.
  • iterNumber of iterations.
  • etaparEstimated basic item parameters.
  • se.etaStandard errors of the estimated basic item parameters.
  • betaparEstimated item parameters.
  • hessianHessian matrix if se = TRUE.
  • ICList of AIC, BIC, and cAIC.
  • WDesign matrix.
  • XData matrix.
  • X01Dichotomized data matrix.
  • ...

Details

The design matrix approach transforms the RSM into a partial credit model and estimates the corresponding basic parameters by using CML. Available methods for RSM-objects are print, coef, model.matrix, vcov, summary, logLik, person.parameters, plotICC, LRtest.

References

Fischer, G. H., and Molenaar, I. (1995). Rasch Models - Foundations, Recent Developements, and Applications. Springer. Mair, P., and Hatzinger, R. (2007). Extended Rasch modeling: The eRm package for the application of IRT models in R. Journal of Statistical Software, 20(9), 1-20. Mair, P., and Hatzinger, R. (2007). CML based estimation of extended Rasch models with the eRm package in R. Psychology Science, 49, 26-43.

See Also

RM,PCM,LRtest

Examples

Run this code
##RSM with 10 subjects, 3 items
data(rsmdat)
res <- RSM(rsmdat)
print(res)  
summary(res)

Run the code above in your browser using DataLab