Sorting the data PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Claudia Leonardi posted on Wednesday, March 26, 2014 - 8:45 am
Hello, I'm running the following multilevel model:
Usevariables = X1 X2 X3 X4 Y sdmvstra sdmvpsu newrfips weights2 cluster;
categorical are Y;
cluster= sdmvpsu newrfips;
weight= weights2;
wtscale = cluster;
within= X1 X2;
between X3 X4;

Type = complex twolevel;

Y on X1 X2;
Y on X3 X4;
and I obtain different parameter estimates and SE, depending on how I sort my data-set. Is there a specific way I should sort my data-set when implementing a two-levels model with two levels clustering? Thank you very much!
 Linda K. Muthen posted on Wednesday, March 26, 2014 - 10:14 am
You don't need to sort your data. The sorting must be changing the data if you get different results. Do a TYPE=TWOLEVEL BASIC on both data sets to make sure the descriptive statistics are the same for both data sets.
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