lzpoly(matrix,Ncat,ip = NA, model = "GRM", ability = NA, method = "EAP")"PCM", "GPCM", and "GRM" (default).matrix.
In case no ability parameters are available then ability=NA."EB", "EAP" (default), and "MI".lzpoly is the natural extension of lz to polytomously scores items. In this case the user can choose one from three possible IRT models to fit the data: The partial credit model (model="PCM"), the generalized partial credit model (model="GPCM"), or the graded response model (model="GRM"). Ability parameters can be estimated by means of one of three methods: Empirical Bayes ("EB"), expected a posteriori ("EAP"), or multiple imputation ("MI").
Both item and ability parameters may be provided as function parameters (ip and ability, respectively). If ip is provided then ability must also be provided. The reason is that the estimation of the ability parameters is done via the function factor.scores from the gpcm or grm) containing the estimated item parameters (i.e., providing a matrix of item parameters to ip is not sufficient).
Aberrant response behavior is (potentially) indicated by small values of lzpoly (i.e., in the left tail of the sampling distribution).lz,lzstar# Load the physical functioning data (polytomous item scores):
data(PhysFuncData);
# Compute the lzpoly scores:
lzpoly(PhysFuncData,Ncat=3);Run the code above in your browser using DataLab