Intercepts and slopes as random effects? PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 Phil Wood posted on Thursday, November 02, 2006 - 1:09 pm
Hi folks!
I was wondering if it is possible to specify a random intercept effect in a multilevel model. I was trying initially to just extend code along the lines of intercepts and slopes for growth curves- but that doesn't work- I can only estimate slopes.

Something along the lines of:
--snippet----
within=x1 x2 x3 x4 x5 x6;
between=sex ;
cluster=id;
ANALYSIS:
Type=twolevel random;
Model:
%within%
i s|y on x1;
y on x2 x3 x4 x5 x6;
%between%
y i s on sex;

Any clues would be appreciated! thanks!
Phil
 Phil Wood posted on Thursday, November 02, 2006 - 2:08 pm
I'm sorry- stupid question- can I take it back? ;-)
 Linda K. Muthen posted on Thursday, November 02, 2006 - 7:12 pm
Yes. See Example 9.1.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: