Thanks ChrisCharlton for your earlier comment.
Here is an update with the syntax inserted.
I am very glad to join this forum.
I am currently running multivariate response models with three continuous outcome variables.
I was able to successfully fit single and two-level multivariate response models on the three outcome variables using runmlwin from within stata.
I am trying to extend the model to three-level but mlwin keep crashing anytime the model is running and as a result, I decided to run the three-level model on single outcome variable using runmlwin and that worked well.
I read the literature several times but I can't find anything on the three-level analysis for multivariate response models but only two-level.
Please, does it mean the 'runmlwin' can't fit the three-level multivariate response models but can do for only two-level multivariate response models? or am I missing out on something?
Below are the codes for this problem:
Sorting the data according to model hierarchy with sdist, hhid and childid been level 3, 2 and 1 respectively
Code: Select all
sort sdist hhid childid
Code: Select all
. runmlwin ///
(waz cons hw1new m5new1 m5new2 b0new b11 b4 h11new h22new m18new1 m18new2 hw57new m15new, eq(1)) ///
(whz cons hw1new m5new1 m5new2 b0new b11 b4 h11new h22new m18new1 m18new2 hw57new m15new, eq(2)) ///
(haz cons hw1new m5new1 m5new2 b0new b11 b4 h11new h22new m18new1 m18new2 hw57new m15new, eq(3)), ///
level3(sdist: (cons, eq(1)) (cons, eq(2)) (cons, eq(3))) ///
level2(hhid: (cons, eq(1)) (cons, eq(2)) (cons, eq(3))) ///
level1(childid: (cons, eq(1)) (cons, eq(2)) (cons, eq(3))) maxiterations(200) nopause
Any help is highly appreciated.
Many thanks in advance.