In: Statistics and Probability
D. Find a linear (regression) equation with following data.
x y
70 25
65 20
60 30
50 35
45 40
Ans.: y = ( ) + ( ) * x. Show your work.
Solution:
Given:
We are given following data set, we have to find a linear (regression) equation with following data.
x | y |
70 | 25 |
65 | 20 |
60 | 30 |
50 | 35 |
45 | 40 |
Regression equation is :
where
Thus we need to make following table:
x | y | x^2 | xy |
70 | 25 | 4900 | 1750 |
65 | 20 | 4225 | 1300 |
60 | 30 | 3600 | 1800 |
50 | 35 | 2500 | 1750 |
45 | 40 | 2025 | 1800 |
Thus
Thus
and
where
Thus
Thus
( Round final answer to specified number of decimal places)