Jielu Lin posted on Wednesday, September 24, 2008 - 12:51 pm
Dear Drs. Muthen,
I am doing a two-level growth model for a continuous outcome using long data format (like example 9.16). I want to obtain the residuals but the "output: residual" command is not available for "type = random". Is there anyway to get the residuals? Thanks!
This is my code:
variables: names = y id time; cluster = id; within = time;
You say your STATA analysis used "a fix-random effects model". I don't know if that means fixed slopes only or also random slopes. If there are no random slopes for covariates, Mplus does give a global residual for the outcome at each time point.
Jielu Lin posted on Friday, September 26, 2008 - 12:11 pm
Got it. Thank you!
Jielu Lin posted on Monday, September 29, 2008 - 5:07 pm
New question: Now I am doing random intercepts only and as you indicated, this gives me a global residual. Is there anyway to get the actual numbers of the residual? I want to do a histogram to see how these residuals are distributed. Thanks!