> fit.mirt.ME.2PL <- mirt(dat,model.mirt.ME,quadpts=27,itemtype='2PL', survey.weights=weight, GenRandomRars=TRUE) # cut #
> scores.mirt.ME.2PL.wle <- fscores(fit.mirt.ME.2PL,method="WLE", full.scores=TRUE, full.scores.SE=TRUE, verbose=TRUE, returnER=TRUE)
Error in solve.default(estimate$hessian) : Lapack routine dgesv: system is exactly singular: U[1,1] = 0In addition: There were 13 warnings (use warnings() to see them) # note by Chris: I can't access the warnings as they are replacedError in diag(vcov) : invalid 'nrow' value (too large or NA) # with the last warning ("NAs introduced by coercion")In addition: Warning message:In diag(vcov) : NAs introduced by coercion
> fulldata <- imputeMissing(fit.mirt.ME.2PL,scores.mirt.ME.2PL.eap[,1:3])> fit.mirt.ME.2PL.full <- mirt(fulldata,model.mirt.ME,quadpts=27,itemtype='2PL', survey.weights=weights, GenRandomRars=TRUE)> summary(fit.mirt.ME.2PL.full)
# cut #
Factor correlations:
fpr qnl qllfpr 1.000 0.906 0.805qnl 0.906 1.000 0.761qll 0.805 0.761 1.000
> scores.mirt.ME.2PL.eap.full <- fscores(fit.mirt.ME.2PL.full,method="EAP", full.scores=TRUE, full.scores.SE=TRUE, verbose=TRUE)> scores.mirt.ME.2PL.wle.full <- fscores(fit.mirt.ME.2PL.full,method="WLE", full.scores=TRUE, full.scores.SE=TRUE, verbose=TRUE)> scores.mirt.ME.2PL.pv.full <- fscores(fit.mirt.ME.2PL.full,method="plausible", full.scores=TRUE, full.scores.SE=TRUE, verbose=TRUE)> scores.full <- cbind(scores.mirt.ME.2PL.eap.full[,1:3],scores.mirt.ME.2PL.wle.full[,1:3],scores.mirt.ME.2PL.pv.full[,1:3])> round(cor(scores.full),2) fpr_EAP qnl_EAP qll_EAP fpr_WLE qnl_WLE qll_WLE fpr_PV qnl_PV qll_PV # note by Chris: correlations between factors of each fpr_EAP 1.00 # estimation procedure are highlighted in yellow.qnl_EAP 0.99 1.00 qll_EAP 0.95 0.94 1.00 fpr_WLE 0.82 0.76 0.71 1.00 qnl_WLE 0.76 0.84 0.68 0.40 1.00 qll_WLE 0.58 0.55 0.77 0.31 0.30 1.00 fpr_PV 0.81 0.81 0.76 0.66 0.63 0.45 1.00 qnl_PV 0.81 0.81 0.75 0.63 0.68 0.43 0.92 1.00 qll_PV 0.70 0.69 0.74 0.50 0.50 0.59 0.78 0.74 1.00
Dear Phil,having helped a great deal last time I posed a question, I give it another try with yet another confusion. This time, I am confused with fscores(). There are two problems:
- I have run a 3-dimensional 2PL-model. Everything seems fine with the model and the fit seems ok. Fscores() delivers ability estimation for the EAP-method and plausible values. However, when using the WLE-method, I get an error message and don't really know what to make of it:
> fit.mirt.ME.2PL <- mirt(dat,model.mirt.ME,quadpts=27,itemtype='2PL', survey.weights=weight, GenRandomRars=TRUE)# cut #
> scores.mirt.ME.2PL.wle <- fscores(fit.mirt.ME.2PL,method="WLE", full.scores=TRUE, full.scores.SE=TRUE, verbose=TRUE, returnER=TRUE)Error in solve.default(estimate$hessian) :Lapack routine dgesv: system is exactly singular: U[1,1] = 0In addition: There were 13 warnings (use warnings() to see them) # note by Chris: I can't access the warnings as they are replacedError in diag(vcov) : invalid 'nrow' value (too large or NA) # with the last warning ("NAs introduced by coercion")In addition: Warning message:In diag(vcov) : NAs introduced by coercion
Sorry for these two long questions, I hope you can shed some light on these confusing results. Happy to show you more output in case it's needed.Thanks so much and best wishesChris
--
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.