Adjust age, sex in latent class growt... PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
Message/Author
  nuoshin ahanchi  posted on Sunday, May 27, 2018 - 4:02 am
Iran a latent class growth analysis on a variable measured at 5-time points,
In this study, we aimed to identify different patterns of obesity development over a period of 12 years in a population initially free of diabetes.
The observation period for retrospective trajectories started at the date of diagnosis for those who developed diabetes. We want adjust for age, sex, in order to identify latent groups with a different BMI development over time
  nuoshin ahanchi  posted on Sunday, May 27, 2018 - 4:04 am
lease guide me to correct MY syntax.

DATA:
FILE IS for analysis_hypertention.dat;

VARIABLE:
NAMES ARE id age sex bmi_ba bmi1 bmi2 bmi3 bmi4;

USEVARIABLES ARE bmi_ba bmi1 bmi2 bmi3 bmi4 age sex;

IDVARIABLE = id;

MISSING ARE ALL (-9999);

CLASSES = c(3);

SAVEDATA:
FILE IS plose_CLASSouput;
save = cprobabilities;

ANALYSIS:
TYPE = MIXTURE ;
STARTS (10000, 400);
STITERATIONS (400);
ESTIMATOR= MLR;


MODEL:
%OVERALL%
i s q| bmi_ba@-4 bmi1@-3 bmi2@-2 bmi3@-1 bmi4@0;

OUTPUT:
SAMPSTAT TECH1 TECH8 TECH11 TECH14;

PLOT:
SERIES is bmi_ba bmi1 bmi2 bmi3 bmi4(s);
TYPE = PLOT3;
  nuoshin ahanchi  posted on Sunday, May 27, 2018 - 4:06 am
this WARNING ,please help me



*** WARNING in MODEL command
Variable is uncorrelated with all other variables within class: AGE
*** WARNING in MODEL command
Variable is uncorrelated with all other variables within class: SEX
*** WARNING in MODEL command
At least one variable is uncorrelated with all other variables within class.
Check that this is what is intended.
4 WARNING(S) FOUND IN THE INPUT INSTRUCTIONS
 Bengt O. Muthen posted on Sunday, May 27, 2018 - 5:54 pm
Send your full output to Mplus Support along with your license number. We ask that postings be limited to one window.
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: