I'm using mirt to analysis a test which contains 10 dichotomous(0,1) and 5 polytomous items which scored as 0,1, and 2. I'm attempting to use a combination of simple Rasch and Rating Scale Models.
I run the following codes:
items<-rep("Rasch", 15)
items[11:15]<-"rsm"
rasch.model<-"F= 1-15"
rasch.fit<-mirt(A_data[,3:17], model= rasch.model, itemtype = items, SE=TRUE)
rasch.para<-coef(rasch.fit, IRTpars=TRUE, simplify=TRUE, printSE=TRUE
and I get this error:
Error: Rating scale models require that items to have the
same number of categories
Any help from you would be appreciated! Thanks in advance