Dear Chris,
Thanks for your reply. I did know about the difference in the xtmixed and MLwiN reporting. Your code did however help me anyway because it made me realise that I (embarrassingly) had overlooked that the constant term needs be included explicitly in the code!
Thanks,
Kjetil
Search found 4 matches
- Thu Jul 16, 2015 9:49 am
- Forum: runmlwin user forum
- Topic: Different results in Stata and MLwiN for random intercept linear regression
- Replies: 2
- Views: 4936
- Wed Jul 15, 2015 2:17 pm
- Forum: runmlwin user forum
- Topic: Different results in Stata and MLwiN for random intercept linear regression
- Replies: 2
- Views: 4936
Different results in Stata and MLwiN for random intercept linear regression
Dear all,
I am using runmlwin to estimate a simple 2-level linear random intercept model. While the Stata commands xtreg and xtmixed produce comparable results, the MlwiN results differ dramatically. Compared to the Stata results the fixed effects are similar, but the coefficients for the level2 ...
I am using runmlwin to estimate a simple 2-level linear random intercept model. While the Stata commands xtreg and xtmixed produce comparable results, the MlwiN results differ dramatically. Compared to the Stata results the fixed effects are similar, but the coefficients for the level2 ...
- Fri May 21, 2010 12:20 pm
- Forum: MLwiN user forum
- Topic: Zero level2 variance. Really?
- Replies: 5
- Views: 11942
Re: Zero level2 variance. Really?
Many thanks Lydia,
The variance changes, but only a tiny bit. The same model (individual covariates, one level 2 covariate and a cross-level interaction term) ran in gllamm and in MLwiN still produces very different level two variances, .142(.048) and .017(.042) respctively. The coefficients, though ...
The variance changes, but only a tiny bit. The same model (individual covariates, one level 2 covariate and a cross-level interaction term) ran in gllamm and in MLwiN still produces very different level two variances, .142(.048) and .017(.042) respctively. The coefficients, though ...
- Thu May 20, 2010 1:53 pm
- Forum: MLwiN user forum
- Topic: Zero level2 variance. Really?
- Replies: 5
- Views: 11942
Zero level2 variance. Really?
Dear all,
I am running a two-level logistic regression (random intercept model) in MLwiN and got basically the same results as in gllamm (stata), except the level 2 variance (the U-part) that came out zero in MLwiN (indicating no level two-variance, and hence nothing to explain?). Gllamm reported a ...
I am running a two-level logistic regression (random intercept model) in MLwiN and got basically the same results as in gllamm (stata), except the level 2 variance (the U-part) that came out zero in MLwiN (indicating no level two-variance, and hence nothing to explain?). Gllamm reported a ...