�The simple linear regression models�
�Assumptions about the population model�
�Derivation of the formula for finding the parameters�
�Example 1�
Table
Price (X) | Quantity (Y) |
61 | 105 |
62 | 120 |
63 | 120 |
65 | 160 |
65 | 120 |
68 | 145 |
69 | 175 |
70 | 160 |
72 | 185 |
75 | 210 |
Soln
Price (X) | Quantity (Y) | X2 | XY |
61 | 105 | 3721 | 6405 |
62 | 120 | 3844 | 7440 |
63 | 120 | 3969 | 7560 |
65 | 160 | 4225 | 10400 |
65 | 120 | 4225 | 7800 |
68 | 145 | 4624 | 9860 |
69 | 175 | 4761 | 12075 |
70 | 160 | 4900 | 11200 |
72 | 185 | 5184 | 13320 |
75 | 210 | 5625 | 15750 |
∑X=670 | ∑Y=1500 | ∑X2 = 45078 | ∑XY=101810 |
�Partitioning the sum of squares�
N | Price (X) | Quantity (Y) | Y1 | Residual Y-Y1 |
1 | 61 | 105 | 108.31 | -3.31 |
2 | 62 | 120 | 115.28 | 4.72 |
3 | 63 | 120 | 122.25 | -2.25 |
4 | 65 | 160 | 136.19 | 23.81 |
5 | 65 | 120 | 136.19 | -16.19 |
6 | 68 | 145 | 157.1 | -12.1 |
7 | 69 | 175 | 164.07 | 10.93 |
8 | 70 | 160 | 171.04 | -11.04 |
9 | 72 | 185 | 184.98 | 0.02 |
10 | 75 | 210 | 205.89 | 4.11 |
Sum | 670 | 1500 | 1501.3 | -1.3 |
Mean | 67 | 150 | 150.13 | -0.13 |
Variance | 20.89 | 1155.56 | 1014.8 | 141.31 |
Observed | Mean | Deviation from mean due to regression, RSS | Error Part, ESS |
Y | | | (Y - Y1) |
Exx