‹ Back to the paper
Question 22(ii)
4 marks
MathematicsISC 2023 Mathematics Paper 1RegressionLinear Regression
Answer the following on regression and correlation.
An analyst analysed 102 trips of a travel company. He studied the relation between travel expenses…
An analyst analysed 102 trips of a travel company. He studied the relation between travel expenses ($y$) and the duration ($x$) of these trips. He found that the relation between $x$ and $y$ was linear. Given the following data, find the regression equation of $y$ on $x$.
$\sum x = 510, \sum y = 7140, \sum x^2 = 4150, \sum y^2 = 740200, \sum xy = 54900$
Answer
Answer
Mean of x: 5
Mean of y: 70
Regression coefficient of y on x: 12
Line of y on x: y = 12x + 10
$n = 102$: $\bar{x} = \frac{510}{102} = 5$, $\bar{y} = \frac{7140}{102} = 70$
$b_{yx} = \frac{n\sum xy - \sum x\sum y}{n\sum x^2 - (\sum x)^2} = \frac{102(54900) - 510(7140)}{102(4150) - (510)^2} = \frac{5599800 - 3641400}{423300 - 260100} = \frac{1958400}{163200} = 12$
Regression line of $y$ on $x$: $y - 70 = 12(x - 5)$
Hence $y = 12x + 10$.