I have a dataset that looks like this.
test.takers item1 item2 item3 item4 item5 item6 item7 item8 item9 item10 item11 item12 item13 item14 item16 item17 item18 total_score
tt1 1 1 0 1 0 1 1 1 0 NA 1 1 NA 1 1 1 1 12
tt2 0 1 0 0 0 0 0 NA 1 1 NA 0 1 0 NA 1 0 6
tt3 1 1 1 1 0 0 NA 1 NA NA 1 1 1 NA 0 NA 0 8
tt4 1 1 1 0 1 NA 1 1 0 0 NA 1 NA 1 0 0 NA 8
tt5 0 1 1 0 1 1 NA NA 0 1 1 1 NA 0 0 1 1 9
tt6 0 0 0 1 1 1 1 NA 1 1 1 NA 1 1 NA 0 0 9
tt7 1 0 0 1 1 1 1 1 NA 0 1 1 1 0 1 1 NA 11
The dataset consists of 3000 test takers with their responses on an ability test. Not all test takers could respond on all 18 items. So some test takers saw only 10 items, others only 12, etc. The result is a data frame with a lot of NA's. Now I want to calibrate the item parameters using a 2pl irt model. And after that I want to calibrate test taker abilities on the same dataset. The problem I face is that I can't find an R package that can handle calibration on a data frame with missing data.
Does anyone know of an R package or R function that could do the job for me or knows how to deal with this problem in some other genious way?
ltm
andmirt
packages can handle missing data just fine for 2PL models. Have you tried either of those packages? Also, the reason I didn't post this response as an answer is that I'm worried about how the missingness occurred. Can the NA's be assumed to be MCAR or MAR? $\endgroup$