



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




STA 100 Lecture 22
Simple linear regression is one of the most widely used statistical techniques for developing a mathematical relationship between a dependent variable and an i ndependent variable.
A Practical Problem: In an agricultural study we would like to develop a linear relationship between the wheat yield measured in bushels/acre and fertilizer level measured in pound/acre. The following data were collected from seven randomly selected plots:
Fertilizer (x) Yield (y) (Pounds/Acre) (Bushels/Acre)
100 40 200 50 300 50 400 70 500 65 600 65 700 80
We are interested in fitting a regression model to the data and using the model for the estimation and prediction.
a. The simple linear regression model is:
y = βo + β 1 x + ε
b. The Least Squares Estimation:
Let y^^ = bo + b 1 x denote the estimated regression line. Find bo and b 1 such that SS(resid) = Σ ( y – y^^ )^2 is minimized.
Wheat Yield
0
10
20
30
40
50
60
70
80
90
0 200 400 600 800 Fertilizer (Pounds/Acre)
Example: Wheat yield
Fertilizer (x) Yield (y) (Pounds/Acre) (Bushels/Acre)
100 40 200 50 300 50 400 70 500 65 600 65 700 80
a. In the simple linear regression model
y = βo + β 1 x + ε
we assume that ε’ s are independent and they have normal distribution with mean 0 and standard deviation σ.
b. An estimate of σ is:
Example: Wheat yield.
c. A confidence interval for the slope :
Consider the estimator for β 1 as:
b 1 = Σ ( x – x )( y – y ) / Σ ( x – x )^2
Then b 1 is a random variable. What is the distribution of b 1?
A 100(1-α)% confidence interval for β 1 is:
Example: Wheat yield.
d. Test for the Regression Slope :
Recall that t = ( b 1 - β 1 ) / S b 1 is distributed as t with (n-2) degrees of freedom.
To test Ho : β 1 = 0, compute t =
and use the chart.
Example: Wheat yield.