错误提示
*** ERROR
The number of observations is 0. Check your data and format statement.
Data file: D:\0901.dat
*** ERROR
Invalid symbol in data file:
"f2" at record #: 1, field #: 3
完整的代码
TITLE: this is an example of a path analysis;
DATA: FILE IS D:\0901.dat;
VARIABLE: names= gender age a1-a16 b1-b9 c1-c10 d1-d10;
USEVARIABLE=f1 f2 f3 f4;
DEFINE:f1=sum(b1-b9);
f2=sum(c1-c10);
f3=sum(d1-d10);
f4=sum(a1-a16);
ANALYSIS: Bootstrap=1000;
MODEL:f4 on f1 f2 f3;
f2 on f1;
f3 on f1;
f2 with f3;
MODEL INDIRECT: f4 ind f2; f4 ind f1;
f4 ind f3; f4 ind f1;
OUTPUT: standardized CINTERVAL(BCBOOTSTRAP);