--
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.
Phil
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package+unsubscribe@googlegroups.com.
Hi Phil,
Could you please advise if my codes below are correct to run an unconditional unidimensional PCM 3-level model with school ID as the group indicator?group <- mydata$SCHOOLID## To prepare the dataframe to include covariates laterlr_eqn <- as.data.frame(group)rmod1b <- mixedmirt(dat,covdata = lr_eqn, model = 1, fixed = ~ 0, random = ~ 1 | group)
With a dataset of about 5000 students taking 70 items and quite a number of missing items, it took me about 4 hours to run 2000 iterations and gave out:Stage 3 = 2000, LL = -303992.9, AR(0.50; 2.45) = [0.32; 0.04], gam = 0.0006, Max-Change = 0.0513MHRM terminated after 2000 iterations.andRANDOM EFFECT COVARIANCE(S):Correlations on upper diagonal$ThetaF1F1 248$groupCOV_groupCOV_group 0.0902The level-2 variance is definitely too big; is it probably due to the missingness? So that the model calibration couldn't converge?
Looking forward to hearing from you.many thanks in advance,Diah
On Thursday, March 3, 2016 at 12:46:42 PM UTC-8, Diah Wihardini wrote:
Many thanks for the confirmation! I really appreciate it. Keep the good work!best,Diah
On Thu, Mar 3, 2016 at 8:28 AM, Phil Chalmers <rphilip....@gmail.com> wrote:
Hi Diah,Yes, mixedmirt() should be able to fit multilevel Rasch models for the partial credit model. Though random item effects are currently not possible (this would require setting up Rating-scale models for each item, which I haven't gotten around to yet and have little inspiration to do), but perhaps one day I'll add this feature in. Cheers.
Phil
On Wed, Mar 2, 2016 at 1:34 PM, Diah Wihardini <diah.wi...@gmail.com> wrote:
Hi Phil,I hope this email finds you well.I am excited to finally find "mirt" that apparently can do generalized linear mixed models, and have just started learning about it. My aim is to run a multilevel (3-levels: items nested in students and students nested in schools) and multidimensional Rasch model with partial-credit scoring for the polytomous items. Please kindly advise if the function "mixedirt" would actually be the best option to run my proposed model.Looking forward to hearing from you.many thanks,Diah
--
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.
The likelihood is probably not well defined, so there's no strong unique solution but several equally good ones. I've played around with the PISA datasets before and I know they are pretty messy in terms of fitting models (and seem to be pretty riddled with multidimensionality).
As far as I can tell everything looks to be in order for PCMs when the data has well defined components:set.seed(1)N <- 5000nitems <- 50a <- matrix(rep(1,nitems),nitems,1)d <- cbind(0, matrix(rnorm(nitems*3), nitems))cluster = 200random_intercept = rnorm(cluster,0,.5)Theta = numeric()for (i in 1:cluster)Theta <- c(Theta, rnorm(N/cluster,0,1) + random_intercept[i])group = factor(rep(paste0('G',1:cluster), each = N/cluster))covdata <- data.frame(group)dat <- simdata(a,d,N, itemtype = rep('gpcm',nitems), Theta=matrix(Theta))dat[sample(floor(length(dat)*.3), 1:length(dat))] <- NA
# null model# mirtCluster() # to compute LL faster, if your RAM can manage itmod1 <- mixedmirt(dat, covdata, 1, random = ~ 1|group, SE=FALSE, draws = 1)summary(mod1)coef(mod1, simplify=TRUE)
Phil
Phil
Phil
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package+unsubscribe@googlegroups.com.
Phil
Phil
Phil
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.
--
You received this message because you are subscribed to a topic in the Google Groups "mirt-package" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mirt-package/UnwxQPVWYkM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mirt-package...@googlegroups.com.