Search found 140 matches

by billb
Wed May 19, 2021 12:31 pm
Forum: MLwiN user forum
Topic: Level identification for repeated measures
Replies: 1
Views: 935

Re: Level identification for repeated measures

Hi Josip, You appear to have a 4 level structure but in practice you would fit this as 3-levels with school just included as fixed effect dummies as you only have 4 schools. I am not sure I understand your 2nd question but fitting it as 3 levels would give you variances for the 3 levels so you could...
by billb
Fri Mar 19, 2021 10:04 am
Forum: runmlwin user forum
Topic: Brooks-Drapers diagnostic says 1,03e+7, do I need to rerun the model with 10 300 000 iterations?
Replies: 4
Views: 1213

Re: Brooks-Drapers diagnostic says 1,03e+7, do I need to rerun the model with 10 300 000 iterations?

So 0.06 would be 1 significant figure (number of digits required after leading 0s) so plug that in and see what it says.
Best wishes,
Bill.
by billb
Fri Mar 19, 2021 8:39 am
Forum: runmlwin user forum
Topic: Brooks-Drapers diagnostic says 1,03e+7, do I need to rerun the model with 10 300 000 iterations?
Replies: 4
Views: 1213

Re: Brooks-Drapers diagnostic says 1,03e+7, do I need to rerun the model with 10 300 000 iterations?

P.S. As you say the Brooks Draper diagnostic is how long is required to be confident to quote your estimate as in this case 0.064 rather than say 0.065 or 0.063 which given your effect is non-significant anyway i.e. the SD here is 0.321 and 95% CI is -0.532 to 0.713 might not be really that importan...
by billb
Fri Mar 19, 2021 8:36 am
Forum: runmlwin user forum
Topic: Brooks-Drapers diagnostic says 1,03e+7, do I need to rerun the model with 10 300 000 iterations?
Replies: 4
Views: 1213

Re: Brooks-Drapers diagnostic says 1,03e+7, do I need to rerun the model with 10 300 000 iterations?

Morning Manuel, The purpose of thinning is largely just to make things feasible due to memory constraints etc. so ideally we wouldn't thin at all but clearly the computer then has to store a lot of numbers. As you rightly say we use running totals for ALL iterations to construct the point estimate a...
by billb
Wed Mar 17, 2021 6:53 pm
Forum: MLwiN user forum
Topic: Nested models with fixed - sort of - categories
Replies: 2
Views: 845

Re: Nested models with fixed - sort of - categories

Hi John, It is quite common for people to fit random effects to a set of units even if the sampled units are in fact the population. Arguments are made that for example the data is a snapshot in time and thus there would be random uncertainty. A good example is voting data where the dataset is often...
by billb
Sun Jan 24, 2021 11:32 am
Forum: MLwiN user forum
Topic: Error when fitting a multinomial logit regression with panel data
Replies: 16
Views: 2932

Re: Error when fitting a multinomial logit regression with panel data

Hi Ferhat,
Happy to take a quick look if you send me the worksheet (william.browne@bristol.ac.uk). We are running a workshop this week so may not be able to get back immediately.
Bill.
by billb
Fri Jan 22, 2021 6:06 pm
Forum: MLwiN user forum
Topic: Error when fitting a multinomial logit regression with panel data
Replies: 16
Views: 2932

Re: Error when fitting a multinomial logit regression with panel data

Hi Ferhat, Looking at your variance matrix ALL elements were 0 this means you need to make the matrix positive definite. I think in other places I have suggested making sure the off-diagonal values are 0 which will ensure all correlations are 0 HOWEVER you do need to have all the elements on the dia...
by billb
Fri Jan 22, 2021 2:26 pm
Forum: MLwiN user forum
Topic: Error when fitting a multinomial logit regression with panel data
Replies: 16
Views: 2932

Re: Error when fitting a multinomial logit regression with panel data

Hi FerhatTura, Chris passed on your query to me but I am not sure how much extra help I can be. Essentially to run the model in MCMC you first need to ensure that the starting values are plausible i.e. that variances are positive and that any covariance matrix is positive definite (essentially that ...
by billb
Tue Jan 12, 2021 2:40 pm
Forum: MLwiN user forum
Topic: Error when fitting a multinomial logit regression with panel data
Replies: 16
Views: 2932

Re: Error when fitting a multinomial logit regression with panel data

Hi, So no the data is 2-levels it is just that for fitting both multivariate response models and multinomial models MLwiN expands out the data to create a dummy level of categories/responses below level 1. The reason you are getting an error message is that when you use year within individual MLwiN ...
by billb
Fri Dec 04, 2020 9:49 am
Forum: runmlwin user forum
Topic: Variance Decomposition
Replies: 3
Views: 1550

Re: Variance Decomposition

Sounds good and great that you get similar results to lme4. I think as long as you ensure you have unique ids everything will be fine i.e. not using the Execid number for different indiviudals in different Industries. I would then take a look at how multiple-membership works in MLwiN as you will req...