IRT.drawPV | R Documentation |
This function draws plausible values of a continuous latent variable
based on a fitted object for which the
CDM::IRT.posterior
method
is defined.
IRT.drawPV(object,NPV=5)
object |
Object for which the method |
NPV |
Number of plausible values to be drawn. |
Matrix with plausible values
## Not run:
#############################################################################
# EXAMPLE 1: Plausible value imputation for Rasch model in sirt
#############################################################################
library(sirt)
data(data.read, package="sirt")
dat <- data.read
# fit Rasch model
mod <- rasch.mml2(dat)
# draw 10 plausible values
pv1 <- TAM::IRT.drawPV(mod, NPV=10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.