Search found 1338 matches

by ChrisCharlton
Fri Mar 22, 2024 2:14 pm
Forum: MLwiN user forum
Topic: I want to add age, gender, height and weight of the individuals as level-2 variables to the model.
Replies: 1
Views: 35

Re: I want to add age, gender, height and weight of the individuals as level-2 variables to the model.

Higher level predictors can be continuous, so there is no reason that you couldn't add those variables too.
by ChrisCharlton
Thu Mar 21, 2024 4:58 pm
Forum: R2MLwiN user forum
Topic: Error running multinomial logit model with random slopes
Replies: 1
Views: 29

Re: Error running multinomial logit model with random slopes

Can you confirm which versions of MLwiN and R2MLwiN you are using? This looks like am error in the MLwiN macro that has been generated by R2MLwiN. It is trying to set a random slope for the predictor named Gender.No, not well prepared , which doesn't seem to exist in the data it is working on. Could...
by ChrisCharlton
Thu Mar 21, 2024 4:48 pm
Forum: runmlwin user forum
Topic: system missing in cross-classified models
Replies: 2
Views: 63

Re: system missing in cross-classified models

Which version of MLwiN were you using to run these model? MLwiN should treat zero as a valid ID (unless you are running a multiple membership model) so I am not sure of the cause for what you are seeing. One thing that you can do is to remove the nopause option from your runmlwin command and then lo...
by ChrisCharlton
Wed Jan 24, 2024 10:08 am
Forum: MLwiN user forum
Topic: Problem with import start parsing
Replies: 3
Views: 310

Re: Problem with import start parsing

MLwiN version 2.01 is almost 20 years old, predating Realcom-Impute, and therefore doesn't have the facilities to load imputed datasets created by this. I suggest updating to the most recent version via the form at https://www.cmm.bristol.ac.uk/clients/softwaredownload/ and checking whether you get ...
by ChrisCharlton
Tue Jan 23, 2024 1:39 pm
Forum: MLwiN user forum
Topic: Problem with import start parsing
Replies: 3
Views: 310

Re: Problem with import start parsing

Could you please provide the MLwiN version number that you are running, as well as the steps taken up to the point of the crash?
by ChrisCharlton
Tue Jan 23, 2024 1:35 pm
Forum: R2MLwiN user forum
Topic: mlwinfitMCMC object fitted values (propensity scores) storage
Replies: 1
Views: 190

Re: mlwinfitMCMC object fitted values (propensity scores) storage

You should be able to do this with the overloads that R2MLwiN provides for the generic predict ( https://stat.ethz.ch/R-manual/R-devel/library/stats/html/predict.html ) function. To find more information on the syntax supported in R2MLwiN run: help("predict.mlwinfitIGLS") or: help("pr...
by ChrisCharlton
Mon Jan 22, 2024 3:12 pm
Forum: R2MLwiN user forum
Topic: Binary outcome Multiple membership model
Replies: 5
Views: 711

Re: Binary outcome Multiple membership model

Are you checking the data from with R or MLwiN? I would suggest turning on debugmode=TRUE again and then browsing the data as it is in MLwiN via the Data window, as it's possible that it isn't being sent correctly from R to MLwiN. The message that you're seeing is only triggered if the software come...
by ChrisCharlton
Wed Jan 10, 2024 9:27 am
Forum: R2MLwiN user forum
Topic: Binary outcome Multiple membership model
Replies: 5
Views: 711

Re: Binary outcome Multiple membership model

Thanks for this additional information. Unfortunately MLwiN does not support fitting multiple membership models with (R)IGLS, other than using the constraint tricks detailed in chapter 19 of the MLwiN User's Guide which are not supported in R2MLwiN. When specifying discrete response models in R2MLwi...
by ChrisCharlton
Wed Jan 03, 2024 8:34 pm
Forum: R2MLwiN user forum
Topic: Bivariate Logistic Distribution
Replies: 8
Views: 714

Re: Bivariate Logistic Distribution

I forgot to also mention that for MCMC multivariate models in MLwiN the only link function you can use for a binomial response is probit. This is because it fits the response as a latent variable in a multivariate normal model (see Bayesian analysis of Binary and Polychotomous Response Data ). You s...
by ChrisCharlton
Wed Jan 03, 2024 4:26 pm
Forum: Stat-JR user forum
Topic: 3-level dataset using STAT-JR
Replies: 2
Views: 551

Re: 3-level dataset using STAT-JR

You can find information about support for missing data in Stat-JR on the following page:

Imputation for Multilevel Models with Missing Data Using Stat-JR