Description Usage Arguments Value Examples
Calculate an IRT EAP ability estimate for the given sequence of scores and items.
1 | estimateAbility.eap(item_pars, scores, simulation)
|
item_pars |
a matrix of doubles, items by params. Must have columns for $PAR_* matching the $MODEL |
scores |
a vector of integers. A score for each item. Must be same length as nrow(item_pars). |
simulation |
an object defining the test that is being run. |
a list with properties theta and csem.
1 2 3 4 5 | simulation = readRDS(system.file("example/passage-adaptive-wpm.rds", package = "CATSimulator"))
item_pars = as.matrix(simulation$itempool[1:5,c("PAR_1","PAR_2","PAR_3")])
scores = generateScores(item_pars, -0.4)
abilityEstimate = estimateAbility.eap(item_pars, scores, simulation)
abilityEstimate.irtoys = irtoys::eap(resp=scores, ip=list(est=item_pars), qu=irtoys::normal.qu(51, -5.0, 5.0, 0.0, 1.0, scaling=""))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.