Search found 1246 matches

by ChrisCharlton
Mon Nov 23, 2020 2:59 pm
Forum: runmlwin user forum
Topic: mlwin on a cluster
Replies: 1
Views: 1248

Re: mlwin on a cluster

In general MLwiN is a serial process, however it does use the BLAS libraries so it you have large enough data and link to a parallel version of these you may gain some benefit. If you have several models to fit, or want to run multiple MCMC chains then you could take advantage of the extra processor...
by ChrisCharlton
Mon Nov 23, 2020 2:49 pm
Forum: Stat-JR user forum
Topic: Error running 2LevelUnordered Template in MCMCglmm and Rrstan
Replies: 6
Views: 2840

Re: Error running 2LevelUnordered Template in MCMCglmm and Rrstan

For your first model it looks like there was a problem generating the R script: Error: unexpected symbol in "Traceback (most recent" Execution halted Would you be able to post what is generated (it should be in an output with a name like script.R)? For the Stan model it looks like the data...
by ChrisCharlton
Wed Nov 11, 2020 5:01 pm
Forum: MLwiN user forum
Topic: Issue running MLPowSim in R
Replies: 2
Views: 1151

Re: Issue running MLPowSim in R

What happens if you just remove the method="ML" statement from the command? i.e.:

Code: Select all

lmer(modelformula, data)
If that doesn't make a difference could you post the associated generated R code?
by ChrisCharlton
Wed Nov 11, 2020 4:47 pm
Forum: runmlwin user forum
Topic: Multilevel multinomial logistic model with survey weights
Replies: 2
Views: 1459

Re: Multilevel multinomial logistic model with survey weights

Unfortunately, as indicated by the message, you can only specify weights for models that are both fitted with (R)IGLS and have a univariate response via runmlwin.
by ChrisCharlton
Thu Oct 29, 2020 9:51 pm
Forum: runmlwin user forum
Topic: Comparing variance estimates from two MCMC models
Replies: 9
Views: 4274

Re: Comparing variance estimates from two MCMC models

Sorry, I'm afraid that we don't know the answer to this. George thought that the following paper, along with the papers that it references may be of some help: Austin, P. C., & Leckie, G. (2020). Bootstrapped inference for variance parameters, measures of heterogeneity and random effects in mult...
by ChrisCharlton
Thu Oct 29, 2020 7:35 pm
Forum: Stat-JR user forum
Topic: eStat Error running 1levelundordered multinomial logit
Replies: 4
Views: 1649

Re: eStat Error running 1levelundordered multinomial logit

Can you please let me know how many categories you have in your unordered response, and what you have chosen as the base category? I have a feeling that it isn't correctly excluding the base from the dcatun3 line, but is for the priors.
by ChrisCharlton
Thu Oct 29, 2020 7:21 pm
Forum: Stat-JR user forum
Topic: eStat Error running 1levelundordered multinomial logit
Replies: 4
Views: 1649

Re: eStat Error running 1levelundordered multinomial logit

Looking at the model and subsequent error messages it looks like it is missing the prior for alpha_2: model { for(i in 1:length(couple_ideal)) { dummy[i] ~ dcatun3(p1[i], p2[i], p3[i],r1[i],r2[i],r3[i]) ln(p1[i]) <- constant[i] * alpha_0 ln(p2[i]) <- constant[i] * alpha_1 ln(p3[i]) <- constant[i] * ...
by ChrisCharlton
Tue Oct 20, 2020 9:51 am
Forum: runmlwin user forum
Topic: constraint in MVML model
Replies: 2
Views: 1394

Re: constraint in MVML model

You may just be missing the brackets for the option. For example syntax using constraints see chapter 18 of the MLwiN User's guide replication script: http://www.bris.ac.uk/cmm/media/runmlwi ... d_Data.log.
by ChrisCharlton
Mon Oct 19, 2020 12:43 pm
Forum: R2MLwiN user forum
Topic: Multilevel negative binomial model selection using R2MlwiN
Replies: 2
Views: 1248

Re: Multilevel negative binomial model selection using R2MlwiN

If you're running the model via MCMC then you could compare the DIC statistics, otherwise I think that your only option would be a Wald test.
by ChrisCharlton
Mon Oct 19, 2020 12:41 pm
Forum: MLwiN user forum
Topic: New version of MLWin Not Recognizing Missing Values
Replies: 1
Views: 1155

Re: New version of MLWin Not Recognizing Missing Values

Do you happen to know which version of MLwiN the problematic worksheets were saved with? MLwiN uses a very large negative value (-9.999e29) to signify missing data. It could be that somehow your previously missing values have deviated from this slightly and are no longer recognised as such. If this ...