predict.ppar | R Documentation |
Returns data matrix based on model probabilites. So far implemented for dichotomous models only.
## S3 method for class 'ppar'
predict(object, cutpoint = "randomized", ...)
object |
Object of class |
cutpoint |
Either single integer value between 0 and 1 or |
... |
Additional arguments ignored |
A randomized assignment implies that for each cell an additional random number is drawn. If the model probability is larger than this value, the person gets 1 on this particular item, if smaller, 0 is assigned. Alternatively, a numeric probability cutpoint can be assigned and the 0-1 scoring is carried out according to the same rule.
Returns data matrix based on model probabilities
Patrick Mair, Reinhold Hatzinger
gofIRT.ppar
#Model-based data matrix for RSM
res <- RM(raschdat2)
pres <- person.parameter(res)
predict(pres)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.