Search found 109 matches

by billb
Fri Apr 05, 2019 5:18 pm
Forum: MLwiN user forum
Topic: Measurement Invariance testing with CCMM models
Replies: 4
Views: 296

Re: Measurement Invariance testing with CCMM models

Hi Pia,
It depends on what model you are fitting. If you look at the MLwiN manuals for MV models you will see that the data is in wide format and then when you specific the columns for the different responses the software constructs the long format in the background.
Best wishes,
Bill.
by billb
Thu Apr 04, 2019 7:16 am
Forum: MLwiN user forum
Topic: Measurement Invariance testing with CCMM models
Replies: 4
Views: 296

Re: Measurement Invariance testing with CCMM models

Hi Pia, MLwiN has some functionality for multilevel factor analysis (using MCMC) and I suspect it could do cross-classified/multiple membership as well though I have never tested it so I wouldn't vouch for it. I think if you construct factor scores elsewhere and want to fit a more standard multivari...
by billb
Thu Apr 04, 2019 7:05 am
Forum: runmlwin user forum
Topic: Cross-classified logit model: Getting the ICCs
Replies: 8
Views: 1473

Re: Cross-classified logit model: Getting the ICCs

Morning Johannes, I am assuming looking at the syntax you are using runmlwin in Stata? It is probably worth reading a little bit more about how MCMC works e.g. my MCMC in MLwiN book as unlike the IGLS algorithm for ML estimation which converges to ML estimates, MCMC constructs via simulation depende...
by billb
Mon Apr 01, 2019 6:27 am
Forum: runmlwin user forum
Topic: Cross-classified logit model: Getting the ICCs
Replies: 8
Views: 1473

Re: Cross-classified logit model: Getting the ICCs

Hi Johannes,
The VPC and ICC have the same formulae for all random intercept models (including your null model). It is only in random slopes models where the variability at higher levels depends on predictor variables that the 2 concepts diverge.
Best wishes,
Bill.
by billb
Fri Mar 29, 2019 1:11 pm
Forum: runmlwin user forum
Topic: Cross-classified logit model: Getting the ICCs
Replies: 8
Views: 1473

Re: Cross-classified logit model: Getting the ICCs

Hi Johannes, My suggestion is to fit your model as you are doing and then extract the different variances for each level along with pi^2/3 for the binomial variation at level 1 and sum these together to get total variance. Then the ICC for any particular classification is it's variance / total varia...
by billb
Tue Mar 05, 2019 9:03 am
Forum: MLwiN user forum
Topic: About multivariate response model
Replies: 1
Views: 227

Re: About multivariate response model

Hi Chenr392, That all sounds quite complicated. Perhaps a starting point would be to fit separate univariate models for the type A and B responses you could then look at the estimates produced. I would then be tempted to fit a univariate model but with indicator functions to identify A and B so that...
by billb
Fri Mar 01, 2019 3:31 pm
Forum: MLwiN user forum
Topic: Sequential modelling strategies in ML modelling
Replies: 2
Views: 244

Re: Sequential modelling strategies in ML modelling

Hi John, Good question. I think probably the answer is to not worry overly about the levels when choosing your blocking though often your blocks might naturally group into levels anyway. The bigger challenge is when you move on to random slopes and deciding which variables to allow to vary at higher...
by billb
Wed Dec 12, 2018 11:28 am
Forum: MLwiN user forum
Topic: level 1 variance
Replies: 1
Views: 399

Re: level 1 variance

Hi Megan,
As you are fitting a binary outcome the model is a Binomial model and so is there no level 1 variance i.e. for the binomial distribution the variance is a function of the mean so therefore the box disappears. Hope this makes sense.
Bill.
by billb
Tue Nov 06, 2018 10:24 am
Forum: MLwiN user forum
Topic: Related variables at different levels
Replies: 2
Views: 1345

Re: Related variables at different levels

Hi John, It is quite standard to construct compositional variables in a multilevel model and add them to the model as contextual effects on top of the individual effects. If you think about our example datasets we talk about gender and school gender and one would use the gender variable to construct...
by billb
Tue Nov 06, 2018 10:21 am
Forum: MLwiN user forum
Topic: Heteroscedasticity
Replies: 3
Views: 1270

Re: Heteroscedasticity

Hi Rina,
Presumably you can do a likelihood ratio test between the models with and without heterogeneity and keep those predictors that make a significant difference in the random part?
Best wishes,
Bill.