Search found 1242 matches

by ChrisCharlton
Thu Oct 29, 2020 9:51 pm
Forum: runmlwin user forum
Topic: Comparing variance estimates from two MCMC models
Replies: 9
Views: 3412

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 multilev...
by ChrisCharlton
Thu Oct 29, 2020 7:35 pm
Forum: Stat-JR user forum
Topic: eStat Error running 1levelundordered multinomial logit
Replies: 4
Views: 1100

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: 1100

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: 843

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: 758

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: 684

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 ...
by ChrisCharlton
Wed Oct 14, 2020 7:17 pm
Forum: MLwiN user forum
Topic: Pratical help - open worksheet
Replies: 2
Views: 796

Re: Pratical help - open worksheet

Can you confirm that you are actually saving an MLwiN worksheet (.ws or .wsz) and not in a data format for another package? Other packages require rectangular data, so when saving files for use in these MLwiN has to fill in the gaps with missing values. This becomes a particular problem when saving ...
by ChrisCharlton
Wed Oct 14, 2020 11:48 am
Forum: MLwiN user forum
Topic: Level Identifiers
Replies: 11
Views: 2128

Re: Level Identifiers

If you were to follow the same model structure as in chapter 13 of the MLwiN User's Guide ( http://bristol.ac.uk/cmm/software/mlwin/download/manuals.html ) then you would put occ (i.e. 1,2,3,4,5,6,...) as the level-1 identifier and person_id (i.e. 1,1,1,2,2,2,...) at level-2, before switching the mo...
by ChrisCharlton
Tue Oct 13, 2020 3:22 pm
Forum: MLwiN user forum
Topic: Adding and specifying terms
Replies: 1
Views: 657

Re: Adding and specifying terms

If you were able to send an example worksheet demonstrating the problem and/or screenshots of the model to myself and Bill (seehttps://www.bristol.ac.uk/cmm/team/ for contact details) we should be able to check whether there are any obvious problems with the model/data.
by ChrisCharlton
Tue Oct 13, 2020 1:31 pm
Forum: MLwiN user forum
Topic: Level Identifiers
Replies: 11
Views: 2128

Re: Level Identifiers

Sorry that this has taken a while for me to be able to look into. Can you confirm that you specified a denominator for your response (by clicking on the red nj in the equation), as I was able to get the software give the following error if I omitted this and then attempted to run the model: --------...