‹ Back to the paper
Question 20(a)
4 marks
MathematicsISC 2018 Mathematics Paper 1RegressionLinear Regression
Answer the following on regression and correlation.
Find the line of regression of y on x from the following table. x 1 2 3 4 5 y 7 6 5 4 3 Hence…
Find the line of regression of $y$ on $x$ from the following table.
Hence, estimate the value of $y$ when $x = 6$.
| $x$ | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| $y$ | 7 | 6 | 5 | 4 | 3 |
Answer
Answer
Correlation coefficient r: -1
Line of y on x: y = -x + 8
Estimate: y = 2 when x = 6
$n = 5$, $\bar x = 3$, $\bar y = 5$.
$\sum(x-\bar x)^2 = 4+1+0+1+4 = 10$, $\sum(x-\bar x)(y-\bar y) = (-2)(2)+(-1)(1)+0+(1)(-1)+(2)(-2) = -10$
$b_{yx} = \frac{-10}{10} = -1$
Line of $y$ on $x$: $y - 5 = -1(x - 3)$, i.e. $y = -x + 8$.
For $x = 6$: $y = -6 + 8 = 2$.
Hence the estimated value of $y$ is $2$.