这是程序。程序后面有log。我的问题是:为何运行了该程序不能出来结果?是程序的错误,还是没有设置好运行环境?谢谢。
DATA d1 (TYPE=CORR);
_TYPE_ = 'CORR';
INPUT x1-x8;
CARDS;
1
0.46 1
0.41 0.41 1
0.43 0.43 0.46 1
0.13 0.15 0.15 0.24 1
0.11 0.13 0.13 0.24 0.43 1
0.22 0.22 0.28 0.35 0.28 0.30 1
0.20 0.20 0.24 0.35 0.33 0.35 0.46 1;
RUN;
PROC FACTOR DATA=d1 METHOD=P PRIORS=SMC ROTATE=PROMAX SCREE CORR RES;
RUN;
下面是log显示的内容:
92 0.20 0.20 0.24 0.35 0.33 0.35 0.46 1;
----
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
93 RUN;
94 PROC FACTOR DATA=d1 METHOD=P PRIORS=SMC ROTATE=PROMAX SCREE CORR RES;
95 RUN;
WARNING: No _NAME_ variable in the TYPE=CORR data set WORK.D1. Be sure that the variables are specified in the same order as the
corresponding observations appear in the data set.
ERROR: The CORR matrix read from the input data set WORK.D1 is not symmetric between variable x2 and variable x1.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE FACTOR used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds