Search found 1341 matches

by ChrisCharlton
Tue Jun 27, 2023 9:23 am
Forum: Stat-JR user forum
Topic: Slow with imputation model
Replies: 9
Views: 28591

Re: Slow with imputation model

There are a couple of possible StatJR template folders: in the StatJR installation directory (for templates included with the software): C:\Program Files\StatJR\templates In the user directory (for additional user-specific templates) (C:\Users\<your username>\.statjr\templates The second of these wi...
by ChrisCharlton
Fri May 26, 2023 9:33 am
Forum: runmlwin user forum
Topic: The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.
Replies: 3
Views: 3940

Re: The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.

Is it the first or second of your two model fits that triggers the error? If it is the first have you checked whether switching from pql2 to mql1 allows it to fit?
by ChrisCharlton
Mon May 22, 2023 10:18 am
Forum: R2MLwiN user forum
Topic: Error in foreign:read.dta(chainfile[i])
Replies: 2
Views: 3084

Re: Error in foreign:read.dta(chainfile[i])

Thanks for confirming that you have found the reason for the problem that you were encountering. When we send the data to MLwiN from R we do so via a Stata .dta file, which I don't believe has a representation for a character missing value. I'd have to look into exactly what is going on but I would ...
by ChrisCharlton
Mon Mar 20, 2023 10:19 am
Forum: Stat-JR user forum
Topic: Error running 2LevelUnordered Template in MCMCglmm and Rrstan
Replies: 9
Views: 25674

Re: Error running 2LevelUnordered Template in MCMCglmm and Rrstan

Are you able to provide any further details regarding the models that you are trying to fit? Is the goal to fit them within MCMCglmm?
by ChrisCharlton
Thu Mar 16, 2023 8:58 pm
Forum: runmlwin user forum
Topic: Multilevel binomial response
Replies: 1
Views: 3765

Re: Multilevel binomial response

MLwiN does not estimate a level-1 variance for binomial models, instead constraining it to a fixed value. For more details see:

Apportioning Variation in Multilevel Models

and

Partitioning variation across levels
by ChrisCharlton
Tue Feb 07, 2023 2:43 pm
Forum: runmlwin user forum
Topic: Weights in mcmc model of runmlwin
Replies: 1
Views: 3610

Re: Weights in mcmc model of runmlwin

Unfortunately, other than in conjunction with multiple-membership models, MLwiN does not support weights when using MCMC estimation.
by ChrisCharlton
Thu Jan 19, 2023 5:01 pm
Forum: runmlwin user forum
Topic: How to set up a joint model correctly (repeated measures - outcome (1) and a later distal outcome (2))
Replies: 2
Views: 4011

Re: How to set up a joint model correctly (repeated measures - outcome (1) and a later distal outcome (2))

I asked George about this and he recommended the following method of replicating the model in MLwiN: // create variable to represent the intercept generate cons = 1 // combine weight and sbp responses into a single column capture drop y replace weight = 0 if weight == . replace sbp = 0 if sbp ==. ge...
by ChrisCharlton
Wed Jan 04, 2023 11:19 am
Forum: Stat-JR user forum
Topic: How to use command line interface?
Replies: 6
Views: 17063

Re: How to use command line interface?

We don't have a lot of information on this outside the advanced guide. What kind of extensions are you hoping to add?
by ChrisCharlton
Wed Jan 04, 2023 11:16 am
Forum: MLwiN user forum
Topic: REQUEST FOR HELP
Replies: 1
Views: 2892

Re: REQUEST FOR HELP

MLwiN allows the worksheet columns to have different lengths, however any that are used in the model (including level identifiers, etc) must contain the same number of rows. The error message suggests that this is not the case for your model so I would suggest looking the the Data Manipulation>Names...
by ChrisCharlton
Fri Nov 25, 2022 10:12 am
Forum: R2MLwiN user forum
Topic: Why intercept differs from sample mean
Replies: 2
Views: 4806

Re: Why intercept differs from sample mean

I checked this with George and the behaviour is expected and is covered in Snijders and Bosker . George gives the following explanation for the simplest multilevel case (two-level variance components model): The intercept is interpreted as the population average of the cluster-specific population me...