This function simulates data according to the Nominal Response Model.
Usage
NRM.sim(Parlist, pp)
Arguments
Parlist
A list of numerical vectors with item parameters has to be committed. Note that the zeta parameters as well as the lambda parameters have to add up to 0 for each item. For details concerning the structure of the list see section 'Details'.
pp
A numerical vector of person parameters.
Details
The structure of the Parlist is as follows:
Vector for Item 1: c(zeta1, zeta2, ..., lambda1, lambda2, ...)
Vector for Item 2: c(zeta1, zeta2, ..., lambda1, lambda2, ...)
etc.
Value
The function returns a length(pp)*length(Parlist) data.frame.
Author(s)
Manuel Reif
References
Bock, R. D. (1972). Estimating item parameters and latent ability when responses are scored in two or
more nominal categories. Psychometrika, 37, 29-51.