Docsity

Regression Analysis: Linear and Quadratic Relationship between Distance and Height, Study notes of Statistics

Toggle sidebar
bg1
Stat 333 Spring 2004 2/26/2004
Discussion 5
1 Matrix
Let
Ap×q={aik}Bp×q={bik }Cq×p={cjl }
Show (A0)0=A, (A+B)0=A0+B0, (AC)0=C0A0, and (A−1)0= (A0)−1.
2 General Linear Regression
Consider Galileo’s data.
Horizontal Distance Initial Height
(punti) (punti)
253 100
337 200
395 300
451 450
495 600
534 800
573 1000
Determine the matrices, X0Y,X0X, (X0X)−1, and ˆ
β= (X0X)−1X0Yfor the following models.
a. (distance)i=β0+β1(height)i+i.
b. (distance)i=β0+β1(height)i+β2(height)2
i+i.
Now fit the model using Minitab.
a. (distance)i=β0+β1(height)i+i.
Regression Analysis: Distance versus Height
The regression equation is
Distance = 270 + 0.333 Height
Predictor Coef SE Coef T P
Constant 269.71 24.31 11.09 0.000
Height 0.33334 0.04203 7.93 0.001
S = 33.6785 R-Sq = 92.6% R-Sq(adj) = 91.2%
Analysis of Variance
Source DF SS MS F P
Regression 1 71351 71351 62.91 0.001
Residual Error 5 5671 1134
Total 6 77022
4268 CSSC [email protected] Ting-Li Lin
pf2

Partial preview of the text

Download Regression Analysis: Linear and Quadratic Relationship between Distance and Height and more Study notes Statistics in PDF only on Docsity!

Stat 333 Spring 2004 2/26/

Discussion 5

1 Matrix

Let

Ap×q = {aik} Bp×q = {bik} Cq×p = {cjl}

Show (A′)′^ = A, (A + B)′^ = A′^ + B′, (AC)′^ = C′A′, and (A−^1 )′^ = (A′)−^1.

2 General Linear Regression

Consider Galileo’s data.

Horizontal Distance Initial Height

(punti) (punti)

Determine the matrices, X′Y, X′X, (X′X)−^1 , and βˆ = (X′X)−^1 X′Y for the following models.

a. (distance)i = β 0 + β 1 (height)i + i.

b. (distance)i = β 0 + β 1 (height)i + β 2 (height)^2 i + i.

Now fit the model using Minitab.

a. (distance)i = β 0 + β 1 (height)i + i.

Regression Analysis: Distance versus Height The regression equation is Distance = 270 + 0.333 Height PredictorConstant 269.71Coef SE Coef24.31 (^) 11.09T (^) 0.000P Height 0.33334 0.04203 7.93 0. S = 33.6785 R-Sq = 92.6% R-Sq(adj) = 91.2% Analysis of Variance Source DF SS MS F P RegressionResidual Error 15 713515671 713511134 62.91 0. Total 6 77022

4268 CSSC [email protected] Ting-Li Lin

Stat 333 Spring 2004 2/26/

Regression Analysis: Distance versus Height(100) The regression equation isDistance = 270 + 33.3 Height(100) PredictorConstant 269.71Coef SE Coef24.31 (^) 11.09T (^) 0.000P Height(100) 33.334 4.203 7.93 0. S = 33.6785 R-Sq = 92.6% R-Sq(adj) = 91.2% Analysis of Variance SourceRegression DF 1 71351 SS 71351 MS (^) 62.91F (^) 0.001P Residual ErrorTotal 56 770225671 1134

b. (distance)i = β 0 + β 1 (height)i + β 2 (height)^2 i + i.

Regression Analysis: Distance versus Height, Height^ The regression equation isDistance = 200 + 0.708 Height - 0.000344 Height^ Predictor Coef SE Coef T P ConstantHeight 0.70832199.91 (^) 0.0748216.76 11.939.47 0.0000. Height^2 -0.00034369 0.00006678 -5.15 0. S = 13.6389 R-Sq = 99.0% R-Sq(adj) = 98.6% Analysis of Variance Source DF SS MS F P RegressionResidual Error 24 76278744 38139186 205.03 0. Total 6 77022 SourceHeight DF 1 Seq SS 71351 Height^2 1 4927 Regression Analysis: Distance versus Height(100), Height(100)^ The regression equation is Distance = 200 + 70.8 Height(100) - 3.44 Height(100)^ PredictorConstant 199.91Coef SE Coef16.76 (^) 11.93T (^) 0.000P Height(100)Height(100)^2 (^) -3.436970.832 (^) 0.66787.482 (^) -5.159.47 0.0010. S = 13.6389 R-Sq = 99.0% R-Sq(adj) = 98.6% Analysis of Variance SourceRegression DF 2 76278 SS 38139 MS (^) 205.03F (^) 0.000P Residual ErrorTotal 46 77022744 186 Source DF Seq SS Height(100)Height(100)^2 (^11 )

4268 CSSC [email protected] Ting-Li Lin