In: Statistics and Probability
Index |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
Temperature (F) |
72 |
71 |
78 |
75 |
81 |
77 |
68 |
Pair of Gloves |
37 |
37 |
32 |
36 |
33 |
35 |
39 |
Taking temperature as an independent variable and pairs of gloves produced as a dependent variable, compute the least square’s regression line.
To calculate the least square regression line we need to find the following table calculation for the given sample as:
The mean of both dependent and independent sample is calculated as:
Also, the following sum of squares is calculated as:
Thus the Slope n and intercept m of the regression line is calculated as:
based on the slope and the intercept the regression equation is computed as: