> BDRMod<-multipleGroup(BDR0913,1,BDRgroup,SE=T)Iteration: 286, Log-Lik: -32784.473, Max-Change: 0.00010Calculating information matrix...> BDRResult<-DIF(BDRMod,c('a1','d'),plotdif=T)No hyper-parameters were estimated in the DIF model. For effectiveDIF testing, freeing the focal group hyper-parameters is recommended.There were 15 warnings (use warnings() to see them)
> BDRmodel<-'F=1-20 CONSTRAINB= (1-3, a1), (1-3, d)'
> BDRMod<-multipleGroup(BDR0913,BDRmodel,BDRgroup,SE=T)Error in tmp2[1L]:tmp2[2L] : NA/NaN argumentIn addition: Warning messages:1: In model.elements(model = model, itemtype = itemtype, factorNames = factorNames, :NAs introduced by coercion2: In model.elements(model = model, itemtype = itemtype, factorNames = factorNames, :NAs introduced by coercion
Hello,I am trying to specify anchor items and cannot figure out how to add this into my DIF code. Apologies if this is a simple answer, I expected there to be many more questions like this and there aren't so I may be missing something obvious. I've walked through all the DIF examples I can find and am stuck. Either I get this code to run and get a hyper-parameter error like this:> BDRMod<-multipleGroup(BDR0913,1,BDRgroup,SE=T)Iteration: 286, Log-Lik: -32784.473, Max-Change: 0.00010Calculating information matrix...> BDRResult<-DIF(BDRMod,c('a1','d'),plotdif=T)No hyper-parameters were estimated in the DIF model. For effectiveDIF testing, freeing the focal group hyper-parameters is recommended.There were 15 warnings (use warnings() to see them)...which I'm guessing the errors happen because I haven't identified anchor items?Or when I try to specify this model to use 1-3 as anchor items like the example I found online:> BDRmodel<-'F=1-20 CONSTRAINB= (1-3, a1), (1-3, d)'
I get the following error:> BDRMod<-multipleGroup(BDR0913,BDRmodel,BDRgroup,SE=T)Error in tmp2[1L]:tmp2[2L] : NA/NaN argumentIn addition: Warning messages:1: In model.elements(model = model, itemtype = itemtype, factorNames = factorNames, :NAs introduced by coercion2: In model.elements(model = model, itemtype = itemtype, factorNames = factorNames, :NAs introduced by coercionI would greatly appreciate some guidance on how to identify my anchor items!Thanks in advance.
--
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.
Hi again Phil,I'm posting here on a previous question to hopefully avoid redundancy; hope that's ok. I am having trouble choosing anchor items. Is this a feasible way to identify them?
model_constrained <- multipleGroup(items, 1, group1,invariance = c(colnames(items), 'free_means', 'free_var'))dropdown <- DIF(model_constrained, 'd', scheme = 'drop')dropdownI guess among other things I am confused if the "invariance=" phrase constrains slopes and intercepts as written here, or if they have to be written specifically as 'slopes', 'intercepts'.