Multiple group analysis - won't read ... PreviousNext
Mplus Discussion > Structural Equation Modeling >
Message/Author
 Harry Joo posted on Saturday, December 10, 2011 - 10:13 pm
I get *** ERROR
The number of observations is 0. Check your data and format statement.

What am I doing wrong below? My data set is in a free format. But still I get this (model statements not included to keep post under the max message size):

TITLE: multiple group analysis
DATA:
FILE IS "C:\Users\youjoo\Desktop\high.txt";
TYPE IS INDIVIDUAL;
NOBSERVATIONS IS 305;
FILE IS "C:\Users\youjoo\Desktop\low.txt";
TYPE IS INDIVIDUAL;
NOBSERVATIONS IS 256;
NGROUPS is 2
VARIABLE:
NAMES ARE PROD1 PROD2 PROD3 INT1 INT2 INT3 B1 B2 B3;
USEVARIABLES ARE PROD1 PROD2 PROD3 INT1 INT2 INT3 B1 B2 B3;
ANALYSIS:
TYPE = GENERAL;
ESTIMATOR = ML;
MATRIX = COVARIANCE;
 Linda K. Muthen posted on Sunday, December 11, 2011 - 5:57 am
You may have blanks in the data set which is not allowed with free format. If this is not it, please send the input, data, 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: