Search found 1086 matches

by ChrisCharlton
Mon Jul 08, 2019 11:43 am
Forum: MLwiN user forum
Topic: Multilevel Multinomial ERROR!!!
Replies: 1
Views: 857

Re: Multilevel Multinomial ERROR!!!

It sounds as if there may be a problem with your model specification. Can you describe how it is currently set up (perhaps with a screen-shot of the equations window)?
by ChrisCharlton
Fri Jul 05, 2019 8:37 am
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 759

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

I asked Bill whether he could give any further advice without seeing the data and the response was as follows: This isn't behaviour that we have seen before and so therefore likely to be something to be specific to their dataset, given how often these models are fitted, which is hard to diagnose wit...
by ChrisCharlton
Wed Jul 03, 2019 11:44 am
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 759

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

The spikes in the chains do look odd. It may be that there is something unusual in your data causing this (for example units with mostly or all zeros or ones). We would be willing to take a closer look if this data is something that you are able to share. If so could you send it to Bill Browne, who ...
by ChrisCharlton
Mon Jul 01, 2019 4:08 pm
Forum: MLwiN user forum
Topic: Error message - Input columns have unequal lengths
Replies: 2
Views: 223

Re: Error message - Input columns have unequal lengths

Can you provide more details regarding the actual steps that you are performing that generate this message? It looks like it may be including various MLwiN-generated column within the sort command, which would be a different length. I would suggest looking at each of the columns mentioned in the err...
by ChrisCharlton
Mon Jul 01, 2019 8:59 am
Forum: runmlwin user forum
Topic: mcmcsum error - model must be fitted with MCMC
Replies: 3
Views: 3919

Re: mcmcsum error - model must be fitted with MCMC

If you do not specify the variables option for mcmcsum then it will obtain the chains from the mata matrix referred to in the e(chains) value of the last stored model (see around lines 259 of https://bitbucket.org/cmm_stata/runmlwin/src/master/plugins/mcmcdiag/mcmcsum.ado ). Neither this or the mode...
by ChrisCharlton
Fri Jun 28, 2019 8:44 am
Forum: runmlwin user forum
Topic: mcmcsum error - model must be fitted with MCMC
Replies: 3
Views: 3919

Re: mcmcsum error - model must be fitted with MCMC

If you look at line 121 of mcmcsum: https://bitbucket.org/cmm_stata/runmlwin/src/master/plugins/mcmcdiag/mcmcsum.ado you will see that this error message is returned if the current model results do not have e(method) set to MCMC . You can check whether this is the case for your model by using the co...
by ChrisCharlton
Wed Jun 26, 2019 10:20 am
Forum: R2MLwiN user forum
Topic: Results different in MLwiN and R (R2MLwiN/lme4) for a 5-level variance components model
Replies: 2
Views: 5944

Re: Results different in MLwiN and R (R2MLwiN/lme4) for a 5-level variance components model

As R2MLwiN is just calling MLwiN you should get the same answers between the two packages. This suggests that either the model specification or the data are different between the two model runs. It may just be that the data is sorted incorrectly, as there is a bug in some versions of R2MLwiN prior t...
by ChrisCharlton
Tue Jun 18, 2019 1:56 pm
Forum: runmlwin user forum
Topic: Problem with savechains(filename , replace)
Replies: 4
Views: 421

Re: Problem with savechains(filename , replace)

Thanks for the confirmation. I have now updated the development version so that if no file extension is specified it will add ".dta" to the name that the user specified.
by ChrisCharlton
Mon Jun 17, 2019 9:11 am
Forum: runmlwin user forum
Topic: 3 level cross-classified model: how to set level 2 and 3?
Replies: 8
Views: 759

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 nu...
by ChrisCharlton
Mon Jun 17, 2019 9:03 am
Forum: runmlwin user forum
Topic: autocorrelation problem in within-between random effect model
Replies: 10
Views: 896

Re: autocorrelation problem in within-between random effect model

I can't see anything obviously wrong with the generated script. Could you please make sure that you are using the most recent version of MLwiN (v3.04) available from https://www.cmm.bristol.ac.uk/clients/softwaredownload/ ? If that doesn't make a difference could you see whether you still get the pr...