MirtUniPVs: Function to create plausible values from a mirt object

View source: R/MirtLogLikMatrix.R

MirtUniPVsR Documentation

Function to create plausible values from a mirt object

Description

Similar results can be achieved by using the "fscores" function from the package "mirt". However, this version may be more effective in (unidimensional only) cases where the fitted ability distribution is non-normal (e.g. fitted using a Davidian polynomial).

Usage

MirtUniPVs(mirtobj, excludefake = TRUE)

Arguments

mirtobj

An estimated IRT model (of class SingleGroupClass) estimated either using the function "unimirt" or by applying the function "mirt" directly.

excludefake

A logical value dnoting whether any added "fake" cases should be excluded from the returned ability estimates (default=TRUE).

Value

A vector of plausible ability values. The number of plausible values is always equal to the number of cases used to fit the IRT model in the first place.

Examples

## Not run: 
mirt1=unimirt(mathsdata,"2")
MirtUniPVs(mirt1)

## End(Not run)

CambridgeAssessmentResearch/unimirt documentation built on June 10, 2025, 6:03 a.m.