Computes bounded maximum-likelihood ability estimates for response patterns under fixed item parameters. This is a scoring helper for inspecting fitted calibrations; it does not account for uncertainty in the item parameters.
Usage
score_theta(resp, item_pars, bounds = c(-6, 6))Examples
set.seed(1)
pars <- data.frame(a = c(1, 1.2), d = c(0, -0.5))
resp <- simulate_2pl(rnorm(5), pars)
score_theta(resp, pars)
#> [1] -5.9999390 5.9999241 0.4122068 5.9999241 0.4122068