Search found 424 matches

by GeorgeLeckie
Fri May 18, 2018 1:08 pm
Forum: runmlwin user forum
Topic: runmlwin in the growth model
Replies: 1
Views: 777

Re: runmlwin in the growth model

Dear auctor21,

A conventional three-level linear growth model for a continuous outcome...

. runmlwin outcome cons time, ///
level3(group: cons time) ///
level2(individual: cons time) ///
level1(occasion: cons) ///
nopause

Best wishes

George
by GeorgeLeckie
Tue May 15, 2018 12:27 pm
Forum: runmlwin user forum
Topic: A question about CCMM with runmlwin
Replies: 2
Views: 1100

Re: A question about CCMM with runmlwin

Dear Auctor, The level-1 ID is not actually used by MLwiN, but conceptually the occasion number is the relevant variable to put at the level-1 ID. Note, you will also need to declare the model to be cross-classified, specify the multiple membership strucutre and weights, and fit the model by MCMC. S...
by GeorgeLeckie
Wed Feb 28, 2018 12:12 pm
Forum: runmlwin user forum
Topic: interaction plots
Replies: 1
Views: 700

Re: interaction plots

Dear Gina, Yes you are right, -margins- is not allowed after runmlwin. You will have to generate your plot from first principles. Essentially mucking around with the regression coefficients and some fictitious co-variate data. So something like this where x1 and x2 are your continuous predictors and...
by GeorgeLeckie
Mon Feb 26, 2018 5:10 pm
Forum: MLwiN user forum
Topic: 3 level data structure and sample size
Replies: 3
Views: 1554

Re: 3 level data structure and sample size

Hi Shane, Probably worth pointing out that these are general multilevel modelling queries that would apply equally in any multilevel software or commands rather than being any specific to MLwiN. So do look in multilevel modelling textbooks at the sections about sample sizes at different levels. 1. Y...
by GeorgeLeckie
Tue Feb 20, 2018 10:39 am
Forum: runmlwin user forum
Topic: repeated time series
Replies: 1
Views: 626

Re: repeated time series

Hi,

Sounds like you might have repeated cross-sectional data. For example individuals within years within countries. This is a three-level data structure and you can analyse this with a three-level model using runmlwin.

Best wishes

George
by GeorgeLeckie
Sun Feb 11, 2018 8:18 pm
Forum: runmlwin user forum
Topic: Stata 15 runmlwin problem
Replies: 3
Views: 1206

Re: Stata 15 runmlwin problem

Dear All,

The problems described in this topic have now been addressed by Stata. Please update to the latest version of Stata...

. update all

Then update to the latest version of runmlwin

. ssc install runmlwin, replace

Best wishes

George
by GeorgeLeckie
Tue Feb 06, 2018 1:17 pm
Forum: runmlwin user forum
Topic: Prior variance matrix is not positive definite
Replies: 1
Views: 964

Re: Prior variance matrix is not positive definite

Dear Gina, Sounds like your IGLS MQL/PQL model which you have fit to obtain starting values for then going on to fit the model by MCMC has given the following estimates for your level-2 random effects variance-covariance matrix var(cons) 0.3062052 cov(cons,sc_neigh) 0 var(sc_neigh) 0 The IGLS MQL/PQ...
by GeorgeLeckie
Thu Jan 11, 2018 9:40 am
Forum: runmlwin user forum
Topic: Stata 15 runmlwin problem
Replies: 3
Views: 1206

Re: Stata 15 runmlwin problem

As a follow on from our previous post, we note that an additional error arises when one specifies the correlations option. The correlations option requests the estimated school-level covariance between the random intercepts and slopes to be reexpressed as a correlation. In Stata 15 this option no lo...
by GeorgeLeckie
Wed Dec 13, 2017 2:00 pm
Forum: runmlwin user forum
Topic: Stata 15 runmlwin problem
Replies: 3
Views: 1206

Re: Stata 15 runmlwin problem

Dear Kate, You are correct. The phenomenon that you refer to relates to using runmlwin in Stata 15. Essentially random effects covariance parameters are incorrectly presented as variance parameters in the model output. The problem is brought about by a bug introduced by Stata in version 15. They are...
by GeorgeLeckie
Thu Aug 31, 2017 12:18 pm
Forum: runmlwin user forum
Topic: Error message: too many macros
Replies: 10
Views: 4436

Re: Error message: too many macros

Dear rdmcdowell, The way you describe is the correct way. This allows full flexibility. You can switch whichever elements you like on and off via this approach and you can specify whatever linear constraints you like. The downside is that this entails quite a lot of syntax and appreciate this is fru...