/*Regression Example 1 -- Pedhazur -- pg 49*/ /*The same data as in Assignment #2*/ data reg1; input x1 x2 y; cards; 2 4 2 2 4 1 1 4 1 1 3 1 3 6 5 4 6 4 5 3 7 5 4 6 7 3 7 6 3 8 4 5 3 3 5 3 6 9 6 6 8 6 8 6 10 9 7 9 10 5 6 9 5 6 4 7 9 4 7 10 ; 25 proc reg; 26 model y = x1 x2; 27 run; Model: MODEL1 Dependent Variable: Y Analysis of Variance Sum of Mean Source DF Squares Square F Value Prob>F Model 2 83.39090 41.69545 8.686 0.0025 Error 17 81.60910 4.80054 C Total 19 165.00000 Root MSE 2.19101 R-square 0.5054 Dep Mean 5.50000 Adj R-sq 0.4472 C.V. 39.83659 Parameter Estimates Parameter Standard T for H0: Standardized Variable DF Estimate Error Parameter=0 Prob > |T| Estimate INTERCEP 1 0.102553 1.66017400 0.062 0.9515 0.00000000 X1 1 0.677082 0.19530089 3.467 0.0029 0.61232998 X2 1 0.393441 0.29486947 1.334 0.1997 0.23566683