## Loading ltm Cat object
data(ltm_cat)
## Store example answers
setAnswers(ltm_cat) <- c(1,0,1,0,1, rep(NA, 35))
## Set different estimation procedures and estimate ability parameter
setEstimation(ltm_cat) <- "EAP"
estimateTheta(ltm_cat)
setEstimation(ltm_cat) <- "MAP"
estimateTheta(ltm_cat)
setEstimation(ltm_cat) <- "MLE"
estimateTheta(ltm_cat)
setEstimation(ltm_cat) <- "WLE"
estimateTheta(ltm_cat)
Run the code above in your browser using DataLab