Search found 1358 matches

by ChrisCharlton
Tue Apr 08, 2025 10:54 am
Forum: runmlwin user forum
Topic: Time as a predictor
Replies: 4
Views: 4251

Re: Time as a predictor

These two approaches should also work with runmlwin, so it is probably worth trying both ways and then comparing with the results that you had previously from gsem.
by ChrisCharlton
Tue Apr 08, 2025 8:55 am
Forum: runmlwin user forum
Topic: Error while running multinomial multilevel regression
Replies: 4
Views: 5465

Re: Error while running multinomial multilevel regression

Assuming that the data sample you provided is representative of the rest of the data I think that your problem may be that your data is not sorted by the model hierarchy. Rather than using unique values of ID codes to determine the units MLwiN instead calculates this on when the ID code changes as ...
by ChrisCharlton
Mon Apr 07, 2025 3:57 pm
Forum: runmlwin user forum
Topic: Categorical variable as a predictor
Replies: 4
Views: 4439

Re: Categorical variable as a predictor

runmlwin should (more or less) work like any other Stata command, so you should be able to use the standard Stata facilities to create the required dummies. I think that the example we provide only does it manually to make the process more explicit (and give the generated dummies names of our ...
by ChrisCharlton
Mon Apr 07, 2025 9:09 am
Forum: runmlwin user forum
Topic: Time as a predictor
Replies: 4
Views: 4251

Re: Time as a predictor

Could you provide any further information about what your time variable represents? E.g., Is it the occasion on which a measurement was taken, as in the example in chapter 13 of the MLwiN manual ( https://www.bristol.ac.uk/cmm/media/software/mlwin/downloads/manuals/3-13/manual-web.pdf ), or is it a ...
by ChrisCharlton
Mon Apr 07, 2025 8:57 am
Forum: runmlwin user forum
Topic: Categorical variable as a predictor
Replies: 4
Views: 4439

Re: Categorical variable as a predictor

lc1 lc2 and lc3plus are dummy variables that were created from the categorical variable lc . You can see the code that was used to create them at the beginning of the replication example for chapter 10 of the MLwiN user's guide ( https://www.bristol.ac.uk/cmm/media/runmlwin/10_Multinomial_Logistic ...
by ChrisCharlton
Mon Apr 07, 2025 8:48 am
Forum: runmlwin user forum
Topic: Error while running multinomial multilevel regression
Replies: 4
Views: 5465

Re: Error while running multinomial multilevel regression

Are you able to provide any information about your data and its structure? For example, does it contain missing values, does it have particularly large/small clusters, does it contain some extreme values, etc? Can you try fitting simpler versions of the model (e.g. with only the intercept) to see if ...
by ChrisCharlton
Wed Apr 02, 2025 2:08 pm
Forum: MLwiN user forum
Topic: My statistics knowledge is fairly basic
Replies: 1
Views: 6862

Re: My statistics knowledge is fairly basic

Discrete response models fitted via (R)IGLS in MLwiN are often compared using a Wald test. For details of how to do this test see the MLwiN manual, for example on pages 125, 131 and 138.
by ChrisCharlton
Wed Apr 02, 2025 12:55 pm
Forum: R2MLwiN user forum
Topic: Struggling to use MLwIN on macOS
Replies: 1
Views: 8404

Re: Struggling to use MLwIN on macOS

I believe that you should be able to manually allow the application to run by following the steps in this article: https://support.apple.com/en-gb/guide/m ... b3a043/mac. For a more detailed description of the cause of this warning see https://support.apple.com/en-gb/102445.
by ChrisCharlton
Mon Feb 03, 2025 10:12 am
Forum: R2MLwiN user forum
Topic: Binary outcome Multiple membership model
Replies: 15
Views: 188573

Re: Binary outcome Multiple membership model

This sounds like an error is occurring within MLwiN, so the best way to find the cause would be to add the option debugmode=TRUE to the list in estoptions .

Looking at the syntax that you provided I think that the problem may be that you need to extend the Model1_MultiMembers list with another NA ...
by ChrisCharlton
Mon Jan 20, 2025 10:41 am
Forum: MLwiN user forum
Topic: Hi all
Replies: 1
Views: 93340

Re: Hi all

If you are fitting the model using (R)IGLS then you could use a Wald test. If you are using MCMC then you could compare the values of the DIC diagnostic.