Clustering ID PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 SAMANEH SADEGHI posted on Saturday, November 15, 2014 - 4:26 am
Hi, I have a longitudinal dataset. I have been running SEM on the data. The data I have is from twins which has ID for twin 1 and twin 2. I wanted to run a phenotypic SEM (not genetic) but having the ID for both twins clustered. I am not sure how this can be done. I also do not want to lose half of the dataset as this will reduce the power.
 Linda K. Muthen posted on Saturday, November 15, 2014 - 11:08 am
You have two options. If the data are in long format with a cluster variable for the twin pairs, you can do TYPE=COMPLEX with CLUSTER = pair;

If the data are in wide format with variables for twin 1 and variables for twin2, non-independence of observations is taken into account by multivariate modeling of the data.
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