> BModel13P<- mirt(BL13P,1,itemtype="graded",method="EM",quadpts=81,verbose=T,technical=list(NCYCLES=1000,removeEmptyRows=T))Iteration: 175, Log-Lik: -15159.833, Max-Change: 0.00010> BLR09Pfs<-fscores(BModel09P)> PLR09Pfs<-fscores(PModel09P)> BLR13Pfs<-fscores(BModel13P)> BLR09Pfull<-imputeMissing(BModel09P,BLR09Pfs)> PLR09Pfull<-imputeMissing(PModel09P,PLR09Pfs)> BLR13Pfull<-imputeMissing(BModel13P,BLR13Pfs)>> BN1P<-nrows(BLR09Pfull)Error: could not find function "nrows"> BN1P<-nrow(BLR09Pfull)> BN2P<-nrow(BLR13Pfull)> BPgroup<-c(rep('2009', BN1P), rep('2013',BN2P))> BP0913<-rbind(BLR09Pfull, BLR13Pfull)> itemnames<-colnames(BP0913)> itemnames[1] "q1" "q2" "q3" "q4" "q5" "q6" "q7" "q8" "q9" "q10" "q11" "q12" "q13" "q14" "q15" "q16"[17] "q17" "q18" "q19" "q20"> BPMod<-multipleGroup(BP0913,1,BPgroup, SE=T,+ invariance=c('free_var', 'free_means', 'q1:q20'))
--
You received this message because you are subscribed to the Google Groups "mirt-package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Mar 25, 2016 3:52 PM, "Andrea Bizarro" <andrea....@gmail.com> wrote:
>
> q1:q20 are item names that I identified in R and this worked in a previous model. I can't understand why this one is telling me "groups contain missing data patterns where item responses have been completely omitted" when I did the imputeMissing command and even took the combined datasets and used the na.omit command to eliminate any missing data.
>
> Would it really be the item names causing this error or is there something funky going on with the data?
The error means that there are items with no response data within some group. And no, 'q1:q20' is not valid input.
Phil