ScoreDistFromMirt | R Documentation |
This function can be used to help facilitate observed score IRT equating. Early trials suggest this function works best with unidimensional models.
ScoreDistFromMirt(mirtobj, which.items = NULL, theta.mean.sd = NULL)
mirtobj |
An estimated IRT model (of class SingleGroupClass) estimated either using mirt or unimirt. Must be fitted using the (default) "EM" method. Will work with any form of model (graded response, Rasch,...). Will even work with multidimensional models but may be innaccurate unless the object incorporates a large number of quadrature points. |
which.items |
A vector of denoting which items should be included in calculating the score. |
theta.mean.sd |
A vector of length 2 giving the mean and standard deviation of the ability distribution. If not supplied then these are derived directly from the mirt object. This parameter may only be used for unidimensional models. |
The function returns a data.frame with columns: score (a vector of possible scores) ,prob (the proportion of candidates expected to achieve each scores), expectedtheta (expected ability given the total score), and sd theta the standard deviation of abilities for candidates with the given total score.
## Not run:
mirt1=unimirt(mathsdata,"2")
ScoreDistFromMirt(mirt1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.