資源描述:
《多元分析SAS上機實驗修改》由會員上傳分享,免費在線閱讀,更多相關內(nèi)容在教育資源-天天文庫。
1、2021/9/301實驗1.應用SAS作一元線性回歸分析dataex;inputxy@@;cards;14.346.31430.769.3144.622.769.27.316812.31.32.77.926.320.;procgplot;ploty*x;/*以y為縱坐標,以x為橫坐標*/symboli=rlv=dot;/*i=rl表示畫回歸直線*//*v=dot表示觀測值對應的點標記為小圓點*/procreg;modely=x/alpha=0.01clixpxi;outputout=apress=presidi;procp
2、rint;run;/*y=x表示以y為因變量,以x為自變量,*//*cli表示要求預測值的95%置信區(qū)間*//*xpx表示求增廣矩陣,i表示求逆矩陣*/2021/9/3022021/9/303Model:MODEL1DependentVariable:YAnalysisofVarianceSumofMeanSourceDFSquaresSquareFValueProb>FModel114141.7405214141.74052140.9920.0001Error6601.80823100.30137CTotal714743
3、.54875RootMSE10.01506R-square0.9592DepMean43.51250AdjR-sq0.9524C.V.23.01651為校正后的決定系數(shù).2021/9/304ParameterEstimatesParameterStandardTforH0:VariableDFEstimateErrorParameter=0Prob>
4、T
5、INTERCEP15.9223664.749695801.2470.2589X12.0768030.1749030211.8740.0001ModelCrossprodu
6、ctsX'XX'YY'YX'XINTERCEPXYINTERCEP8144.8348.1X144.85899.6613109.99Y348.113109.9929890.25X'XInverse,ParameterEstimates,andSSEINTERCEPXYINTERCEP0.2249182623-0.0055203465.9223664747X-0.0055203460.00030499152.0768029572Y5.92236647472.0768029572601.808229322021/9/305Mod
7、el:MODEL1DependentVariable:YAnalysisofVarianceSumofMeanSourceDFSquaresSquareFValueProb>FModel114141.7405214141.74052140.9920.0001Error6601.80823100.30137CTotal714743.54875RootMSE10.01506R-square0.9592DepMean43.51250AdjR-sq0.9524C.V.23.01651為校正后的決定系數(shù).2021/9/306Para
8、meterEstimatesParameterStandardTforH0:VariableDFEstimateErrorParameter=0Prob>
9、T
10、INTERCEP15.9223664.749695801.2470.2589X12.0768030.1749030211.8740.0001ModelCrossproductsX'XX'YY'YX'XINTERCEPXYINTERCEP8144.8348.1X144.85899.6613109.99Y348.113109.9929890.25X'XInverse,P
11、arameterEstimates,andSSEINTERCEPXYINTERCEP0.2249182623-0.0055203465.9223664747X-0.0055203460.00030499152.0768029572Y5.92236647472.0768029572601.808229322021/9/307DepVarPredictStdErrLower95%Upper95%ObsYValuePredictPredictPredictResidual146.300035.62063.6039.577361.
12、664010.6794230.700034.99763.6138.945961.0493-4.29763144.6149.89.630115.8183.8-5.2448469.200053.06583.63126.998879.132716.1342516.000021.08304.013-5.3172