3-level MLM with version 6.11 PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Brent Lyons posted on Thursday, April 25, 2013 - 4:52 am
I'm using v 6.11 with three levels of data

Lvl 3 - Person ("ID")
Lvl 2 - 2 relationships within person ("RelID"), manipulation is 0 or 1 ("RelCode")
Lvl 1 - within relationship, time series 10 time points (ex. "helpr")

I intend to do a path analysis assessing lvl2 effects on lvl1 associations, controlling for lvl3. How do I select clusters so that lvl2 (RelID) is nested within lvl-3 (ID). The data is organized in long format. Here is example input:

NAMES= RelID ID RelCode helpr helpe pa;
Missing are all (-9999);
USEVARIABLES =RelCode helpr pa harmr helpe;
Within = helpr pa harmr;
Between = RelCode;
ANALYSIS: TYPE = twolevel complex random;

H | helpe ON helpr;
P | helpe ON pa;
M | helpe ON harmr;
H P M helpe;
H ON RelCode;
P ON RelCode;
M ON RelCode;

OUTPUT: sampstat;

Error message:

"One or more between-level variables have variation within a cluster for one or more clusters. Check your data and format statement.

Between Cluster ID with variation in this variable
Variable (only one cluster ID will be listed)"

My data is formatted properly - is a problem with my clusters?

 Linda K. Muthen posted on Thursday, April 25, 2013 - 12:08 pm
If you can't see the problem with the data, send the input, data, output, and your license number to support@statmodel,com.
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