About data entering PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Chun Hao posted on Wednesday, February 29, 2012 - 5:08 pm
I have a trouble on data entering.

I have saved the spss dataset as ".dat", and use mplus to input the variables as below:

title: MLM egonn

data: file is "C:\Users\Stella\Desktop\egonn.dat";


names are ID RELATION DATE A1 A2 A3 A4 A5
A6 A7 A8 A91 A92 A101
A102 A103 A104 A110
A111 A12 A131 A132;

Missing are .;

usev = relation a1 a3 a4 a5 a6;


type= basic;

but the output always indicate as below:
The number of observations is 0. Check your data and format statement.
Data file: C:\Users\Stella\Desktop\egonn.dat
Invalid symbol in data file:
"RELATION" at record #: 1, field #: 2

would you mind remind me why the data cannot read in? thanks
 Linda K. Muthen posted on Wednesday, February 29, 2012 - 8:25 pm
You should remove the variable names from the first record of the data set.
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