estimateAbility: Calculate an IRT ability estimate for the given sequence of...

Description Usage Arguments Value Examples

Description

Calculate an IRT ability estimate for the given sequence of scores and items.

Usage

1
estimateAbility(item_pars, scores, simulation)

Arguments

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.

Value

a list with properties theta and csem.

Examples

1
2
3
4
  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(item_pars, scores, simulation)

yuehmeir2/CATSimulator documentation built on June 13, 2021, 7:02 p.m.