Useobservations PreviousNext
Mplus Discussion > Exploratory Factor Analysis >
Message/Author
 Marijn Wijga posted on Tuesday, April 08, 2014 - 1:20 pm
Dear Muthen,

I am doing an analysis in which I want to run the model only for two of the five cohorts that are in my datafile. I have tried the useobservation statement, but I am not sure whether I can select two cohorts. If I use the statement 'useobservation = (cohort EQ 2 AND cohort EQ 3);' I get the error that the number of observations is 0. If I use the statement 'useobservation = (cohort EQ 2 AND 3);' I do get output, but I am not sure if this is the correct way. I hope you can help me with this.

Best regards
Marijn
 Linda K. Muthen posted on Tuesday, April 08, 2014 - 3:53 pm
You should use OR not AND.
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: