In: Statistics and Probability
Question 3 Determine the equation of the regression line for the following data, and compute the residuals. x 15 9 20 11 4 y 48 35 55 44 18 Do not round the intermediate values. (Round your answers to 3 decimal places.) Do not round the intermediate values. (Round your answers to 3 decimal places.) x y Residuals 15 48 9 35 20 55 11 44 4 18
SOLUTION:
From given data,
Question 3 Determine the equation of the regression line for the following data, and compute the residuals. x 15 9 20 11 4 y 48 35 55 44 18.Do not round the intermediate values. (Round your answers to 3 decimal places.) x y Residuals 15 48 9 35 20 55 11 44 4 18.
* | ||||
15 | 48 | 720 | 225 | 2304 |
9 | 35 | 315 | 81 | 1225 |
20 | 55 | 1100 | 400 | 3025 |
11 | 44 | 484 | 121 | 1936 |
4 | 18 | 72 | 16 | 324 |
= 59 | =200 | * = 2691 | = 843 | = 8814 |
Least Squares Regression Equation : = + ()
=( n * * - ()() ) / n* - ()2
=(5 * (2691)- (59)(200) ) / 5*(843) - (59)2
=(13455- 11800 ) / (4215 -3481)
= 1655 / 734
= 2.2547
Slope term = = 2.2547
= -
= /n - ( /n)
= 200/5 - 2.2547( 59 /5)
= 13.3945
Least Squares Regression equation
= 13.3945 + 2.2547 ()
A residual is given by :
= -
= - | |||
15 | 48 | 47.215 | 0.785 |
9 | 35 | 33.6868 | 1.313 |
20 | 55 | 58.4885 | -3.488 |
11 | 44 | 38.1962 | 5.803 |
4 | 18 | 22.4133 | -4.413 |