Data cohort command PreviousNext
Mplus Discussion > Confirmatory Factor Analysis >
Message/Author
 Marijn Wijga posted on Monday, October 21, 2013 - 4:32 am
I am working on a CFA with multiple clusters. According to the manual I can use the COHORT and COPATTERN option, but I keep getting the same warning: ERROR in DATA COHORT command Unknown variable in PATTERN option: COHORT. I have dubble chekced everything in the input file, but it is exactly like the examples in the manual. Can you see what I am doing wrong?
See below for the input:

Data cohort: cohort IS cohort(1 2 3 4 5);

copattern IS cohort(1 = cohort lllkrel1 lllkrel2 lllkrel3
2=cohort lllkrel1 lllkrel2 lllkrel3 C23wb21 C23wb22 C23wb23
3=cohort lllkrel1 lllkrel2 lllkrel3 C23wb21 C23wb22 C23wb23
4=cohort lllkrel1 lllkrel2 lllkrel3 C45wb1
C45wb16 C45wb17 C45wb18
5=cohort lllkrel1 lllkrel2 lllkrel3
C45wb16 C45wb17 C45wb18);

Analysis: type = general;

Model: PK BY C45wb16 C45wb17 C45wb18 C23wb21 C23wb22 C23wb23 ;

TS BY lllkrel1 lllkrel2 lllkrel3;

Output: sampstat stdyx;
 Linda K. Muthen posted on Monday, October 21, 2013 - 2:57 pm
Please send the output and your license number to support@statmodel.com.
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: