3-level random slopes as predictors t... PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Jiangang Xia posted on Friday, December 16, 2016 - 9:53 am
Dear Professors:
I have a three level model that uses level-2 random slopes as predictors at level-3. The issue is, it takes forever to run the model. Right now my computer is still running and it has been about 48 hours. The computer is not slow with four core, but the CPU is used only about 13%. Do you have any idea on the issue or any solutions/suggestions? Thanks.

Here is part of my code:

cluster are level3 level2;
between is (level2) x1 x2 x3 x4 x5 x6 x7;
analysis: type=threelevel random;
y1 y2 y3 y4 y5 y6 y7;

%between level2%
s1 | y1 on x1;
s2 | y2 on x2;
s3 | y3 on x3;
s4 | y4 on x4;
s5 | y5 on x5;
s6 | y6 on x6;
s7 | y7 on x7;

%between level3%
z on s1 s2 s3 s4 s5 s6 s7;
 Bengt O. Muthen posted on Friday, December 16, 2016 - 5:14 pm
Try using

processors = 4;

Also, check the TECH8 screen printing to see how many dimensions of integration you have (I assume you use ML) and if you have any negative ABS changes in which case you may need more integration points.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message