Last 3 Days
Error messages in path analysis
Structural Equation Modeling
posted on Tuesday, February 11, 2014 - 8:41 am
I'm trying to run a path analysis and I'm getting the error messages below. Any thoughts?
1) Why is it saying my N is zero?
2) What symbol is invalid in "HEt1"?
Mplus VERSION 6.12
MUTHEN & MUTHEN
02/11/2014 11:37 AM
TITLE: PEZ path analysis
DATA: FILE IS pez-data-for-path-analysis.csv;
NOBSERVATIONS IS 180;
VARIABLE: NAMES ARE id HEt1 MDt1 BDIt1 HEt2 MDt2 BDIt2 HEt3 MDt3 BDIt3;
USEVARIABLES ARE BDIt1 BDIt2 BDIt3 HEt1 HEt2 HEt3;
ANALYSIS: TYPE IS GENERAL;
ESTIMATOR IS ML;
MODEL: BDIt3 ON BDIt2;
BDIt3 ON HEt2;
HEt3 ON HEt2;
HEt3 ON BDIt2 (1);
BDIt2 ON BDIt1;
BDIt2 ON HEt1;
HEt2 ON HEt1;
HEt2 ON BDIt1 (1);
BDIt2 WITH HEt1;
OUTPUT: SAMP; STAND; RES;
The number of observations is 0. Check your data and format statement.
Data file: pez-data-for-path-analysis.csv
Invalid symbol in data file:
"HEt1" at record #: 1, field #: 2
Linda K. Muthen
posted on Tuesday, February 11, 2014 - 10:30 am
Open the data file in the Mplus editor. Delete the invalid character at the beginning of the data set. Save the data.
Back to top
Add Your Message Here
This is a private posting area. Only registered users and moderators may post messages here.
Enable HTML code in message
Automatically activate URLs in message