Search found 13 matches

by divasong
Wed Sep 27, 2017 10:49 am
Forum: R2MLwiN user forum
Topic: Error when running 2-level ordinal model in R2wiN
Replies: 14
Views: 16455

Re: Error when running 2-level ordinal model in R2wiN

Thank you for your comments. I have tried to run the model using MCMC, but it shows EESs are all very small with respect to iteration number (5000) although I used orthogonal parameterization. The result is showed as below. And just wander if there is some method to improve the mixing. MLwiN (versio...
by divasong
Wed Sep 27, 2017 7:58 am
Forum: R2MLwiN user forum
Topic: Error when running 2-level ordinal model in R2wiN
Replies: 14
Views: 16455

Re: Error when running 2-level ordinal model in R2wiN

Thanks for your answer. The problem is solved. It may be caused by some duplicated level-2 items. Just wander if there is some function I could used in R to do the hierarchy viewer like in MLwiN. Thanks.

Diva
by divasong
Tue Sep 26, 2017 2:47 pm
Forum: R2MLwiN user forum
Topic: Error when running 2-level ordinal model in R2wiN
Replies: 14
Views: 16455

Error when running 2-level ordinal model in R2wiN

Dears, I have encountered a problem when running a 2-level ordinal model in R2wiN. Below is the expression I used in R: (mymodel <- runMLwiN(logit(Relief, cons) ~ 1 + (1 | District) , D = "Ordered Multinomial", estoptions = list(EstM = 1, nonlinear = c(1, 2), resi.store = TRUE), data = try...