王笑权 从几天前我的SAS9.0出现了一个问题,就是一遇到reg或sort便不执行,以前的此类程序都不能用了。而其他功能正常。我重新安装两次仍然如此。请高手指点问题在哪?怎样解决,谢谢! 例如 data s24; input x y@@; cards; 820 165 780 158 720 130 867 180 690 134 787 167 934 186 679 145 639 120 820 158 ; proc reg; model y=x/cli clm; run; log窗口 1 2 data s24; 3 input x y@@; 4 cards; NOTE: SAS went to a new line when INPUT statement reached past the end of a line. NOTE: The data set WORK.S24 has 10 observations and 2 variables. NOTE: DATA statement used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 7 ; 8 proc reg; 9 model y=x/cli clm; 10 run; ERROR: _
xjuchenwei The SAS System 23:04 Saturday, June 3, 2009 2 The REG Procedure Model: MODEL1 Dependent Variable: y Output Statistics Dep Var Predicted Std Error Obs y Value Mean Predict 95% CL Mean 95% CL Predict Residual 1 165.0000 164.5959 2.8230 158.0859 171.1059 145.2948 183.8970 0.4041 2 158.0000 155.7201 2.4984 149.9587 161.4815 136.6585 174.7818 2.2799 3 130.0000 142.4065 2.9255 135.6603 149.1527 123.0244 161.7885 -12.4065 4 180.0000 175.0249 3.6529 166.6013 183.4486 154.9972 195.0527 4.9751 5 134.0000 135.7496 3.4533 127.7864 143.7129 115.9111 155.5881 -1.7496 6 167.0000 157.2734 2.5210 151.4599 163.0868 138.1959 176.3508 9.7266 7 186.0000 189.8919 5.2204 177.8536 201.9301 168.0957 211.6880 -3.8919 8 145.0000 133.3088 3.6781 124.8271 141.7905 113.2566 153.3610 11.6912 9 120.0000 124.4330 4.5855 113.8587 135.0073 103.4100 145.4561 -4.4330 10 158.0000 164.5959 2.8230 158.0859 171.1059 145.2948 183.8970 -6.5959 Sum of Residuals 0 Sum of Squared Residuals 496.68937 Predicted Residual SS (PRESS) 749.74887 这是我做的楼主的分析结果。
xjuchenwei 补充; The SAS System 23:04 Saturday, June 3, 2009 1 The REG Procedure Model: MODEL1 Dependent Variable: y Analysis of Variance Sum of Mean Source DF Squares Square F Value Pr > F Model 1 3737.41063 3737.41063 60.20 <.0001 Error 8 496.68937 62.08617 Corrected Total 9 4234.10000 Root MSE 7.87948 R-Square 0.8827 Dependent Mean 154.30000 Adj R-Sq 0.8680 Coeff Var 5.10660 Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept 1 -17.35746 22.26443 -0.78 0.4581 x 1 0.22189 0.02860 7.76 <.0001