Search found 5 matches

by scorpionwwj
Thu Jul 04, 2019 12:10 pm
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 9821

Re: 3 level cross-classified model: how to set level 2 and 3?

Dear Chris, thank you for your reply. Yes, I agree that the reason might be that both region and physician levels have many units and three might be quite a lot of units with zeros and ones, especially at the physician level, around 1500 of 7000 physicians have only one patient. Unfortunately, I cou...
by scorpionwwj
Tue Jul 02, 2019 5:12 pm
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 9821

Re: 3 level cross-classified model: how to set level 2 and 3?

Have you checked the MCMC chain and convergence diagnostics? It may be that you have to run the model for more iterations before it converges to a distribution. I would also suggest removing the nopause option to check within MLwiN via the Model->Hierarchy Viewer window that you have the expected n...
by scorpionwwj
Fri Jun 14, 2019 7:47 pm
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 9821

Re: 3 level cross-classified model: how to set level 2 and 3?

In order to fit a cross-classified model you need to add cc to the mcmc options, otherwise the model will be fitted as hierarchical. This should be reflected in group summary information in the model output. Note that even after doing so the results from switching the levels around, as in your exam...
by scorpionwwj
Fri Jun 14, 2019 4:38 pm
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 9821

Re: 3 level cross-classified model: how to set level 2 and 3?

Dear Chris,

thank you indeed for your reply. It is really helpful.

Best regards,
wj
by scorpionwwj
Fri Jun 07, 2019 3:39 pm
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 9821

3 level cross-classified model: how to set level 2 and 3?

Dear users, I am fitting a 3 level cross-classified model: level 1 is patient ID (ca.40000), the other 2 levels are physician ID (ca.7000) and region ID where patients live in (ca.700). Outcome variable is binary so this is a logistic model. Below is the code: runmlwin y sex age cons, level3(region:...