Hi Manny,
Apologies half asleep when I wrote the earlier reply and read your code too quickly. The u terms in your model are simply higher level terms and so they are fine and clustering here is fine. The question is really whether one can construct a correlation between the 2 responses at level 1 ...
Search found 162 matches
- Fri May 09, 2014 7:14 am
- Forum: R2MLwiN user forum
- Topic: Using R2MLwiN to write BUGS code
- Replies: 3
- Views: 8635
- Fri May 09, 2014 7:04 am
- Forum: R2MLwiN user forum
- Topic: Using R2MLwiN to write BUGS code
- Replies: 3
- Views: 8635
Re: Using R2MLwiN to write BUGS code
Hi MannyGomez,
There is a reason why we haven't implemented bivariate mixtures in the MLwiN -> BUGS interface. Basically BUGS struggles with covariance matrices that have constraints in them - in the case of the model you have one variance is constrained to 1 and what you have done in this part of ...
There is a reason why we haven't implemented bivariate mixtures in the MLwiN -> BUGS interface. Basically BUGS struggles with covariance matrices that have constraints in them - in the case of the model you have one variance is constrained to 1 and what you have done in this part of ...
- Thu Feb 06, 2014 9:48 am
- Forum: MLwiN user forum
- Topic: Re-parametrization in multivariate models (MCMC)
- Replies: 2
- Views: 6410
Re: Re-parametrization in multivariate models (MCMC)
Hi Nils,
Lots of questions so here are some pointers:
1) Orthogonal reparameterization is in theory only of use when MLwiN has to use Metropolis Hastings i.e. when we don't have normal responses and it improves mixing as it gets around the correlations between the various fixed effects. If MLwiN ...
Lots of questions so here are some pointers:
1) Orthogonal reparameterization is in theory only of use when MLwiN has to use Metropolis Hastings i.e. when we don't have normal responses and it improves mixing as it gets around the correlations between the various fixed effects. If MLwiN ...
- Wed Jan 15, 2014 1:42 pm
- Forum: runmlwin user forum
- Topic: Dummy as Random Slopes
- Replies: 4
- Views: 7264
Re: Dummy as Random Slopes
Hi,
I am not sure what is happening here but I'd be happy to take a look at your spreadsheet. I am presuming that your grouping is not a level 5 variable as this would cause issues? Otherwise if you have coded your dummies correctly it shouldn't matter which is used and they should have the same ...
I am not sure what is happening here but I'd be happy to take a look at your spreadsheet. I am presuming that your grouping is not a level 5 variable as this would cause issues? Otherwise if you have coded your dummies correctly it shouldn't matter which is used and they should have the same ...
- Thu Jan 09, 2014 1:30 pm
- Forum: runmlwin user forum
- Topic: MCMC starting values
- Replies: 3
- Views: 8401
Re: MCMC starting values
Hi Nils,
Have been discussing your emails with Chris and we will look at why the starting values cause a crash and get back to you. It may be that your starting values are generating an initial position for the variance function which implies a negative variance for certain observations which would ...
Have been discussing your emails with Chris and we will look at why the starting values cause a crash and get back to you. It may be that your starting values are generating an initial position for the variance function which implies a negative variance for certain observations which would ...
- Thu Nov 28, 2013 9:39 am
- Forum: MLwiN user forum
- Topic: Variance co-variance structure for repeated measures data
- Replies: 1
- Views: 4097
Re: Variance co-variance structure for repeated measures da
Depends what you mean here. Are you using ordered or unordered categories? Would suggest you read the manual chapters on ordered/unordered models in the MLwiN manual and see if this answers your question. The fact that
your data is repeated measures is probably irrelevant here. Bill.
your data is repeated measures is probably irrelevant here. Bill.
- Thu Nov 28, 2013 9:34 am
- Forum: MLwiN user forum
- Topic: 3 level model: problems with cov matrix at level 2
- Replies: 1
- Views: 4524
Re: 3 level model: problems with cov matrix at level 2
Good Morning Claudia,
It is as you have surmised possible for the IGLS method that really works on the full covariance matrix of the observations to construct parameter estimates that when evaluated as for example between school variances, correlations etc. give implausible values for this ...
It is as you have surmised possible for the IGLS method that really works on the full covariance matrix of the observations to construct parameter estimates that when evaluated as for example between school variances, correlations etc. give implausible values for this ...
- Mon Nov 25, 2013 1:20 pm
- Forum: MLwiN user forum
- Topic: Multilevel modelling for categorical repeated measures data
- Replies: 5
- Views: 7786
Re: Multilevel modelling for categorical repeated measures d
Hi bgawarammana,
To add to the last reply. Having spoken to colleagues this comment was made in quite an old version of the manual and has persisted. The main issue with
repeated measures binary data is the assumption of normality for the individual random effects is often not satisfied by the data ...
To add to the last reply. Having spoken to colleagues this comment was made in quite an old version of the manual and has persisted. The main issue with
repeated measures binary data is the assumption of normality for the individual random effects is often not satisfied by the data ...
- Mon Nov 25, 2013 11:41 am
- Forum: MLwiN user forum
- Topic: Multilevel modelling for categorical repeated measures data
- Replies: 5
- Views: 7786
Re: Multilevel modelling for categorical repeated measures d
Hi bgawarammana,
It is possible to fit multilevel binary/categorical response models to data that have a structure of repeated measures within individuals. However just
like all repeated measures models the assumption is that the correlation between individual data points is equal and doesn't ...
It is possible to fit multilevel binary/categorical response models to data that have a structure of repeated measures within individuals. However just
like all repeated measures models the assumption is that the correlation between individual data points is equal and doesn't ...
- Wed Aug 14, 2013 1:12 pm
- Forum: MLwiN user forum
- Topic: BIC with MLwin?
- Replies: 1
- Views: 13074
Re: BIC with MLwin?
Hi Sinavera,
MLwiN only calculates the deviance (-2LL) though generally BIC is a simple formula involving this quantity and the number of parameters in the model and number of observations in the dataset. Things are not quite as simple in multilevel models as there is some disagreement onto what ...
MLwiN only calculates the deviance (-2LL) though generally BIC is a simple formula involving this quantity and the number of parameters in the model and number of observations in the dataset. Things are not quite as simple in multilevel models as there is some disagreement onto what ...