· H2 Mathematics — Ten-Year Series, worked ← All 11 questions

2024 A-Level · Paper 2 · Question 11

2024 H2 Maths Paper 2, Question 11

Correlation and regression 15 marks transformed models
Download Paper 2 solutions (PDF)

Part (a)(i)

1 mark

As mm increases, pp increases, but not at a constant rate: pp rises quickly for small mm and then more slowly as mm gets larger, so the rate of increase of pp decreases as mm increases.

Part (a)(ii)

6 marks

Approach

Both proposed models are linear in a transformed variable (ln⁡m\ln m or m\sqrt{m}), so we find the product moment correlation coefficient for each transformed scatter plot and take the one closer to ±1\text{±}1 as the better fit.

For the model p=a+bln⁡mp = a + b\ln m, using the pairs (ln⁡m, p)\left( \ln m,\ p \right), by GC:

r=0.9285 (4 d.p.),a=−703.8,b=203.0r = 0.9285\ \left( 4\ \text{d.p.} \right),\quad\quad a = - 703.8,\quad\quad b = 203.0

For the model p=d+emp = d + e\sqrt{m}, using the pairs (m, p)\left( \sqrt{m},\ p \right), by GC:

r=0.9914 (4 d.p.),d=32.95,e=17.27r = 0.9914\ \left( 4\ \text{d.p.} \right),\quad\quad d = 32.95,\quad\quad e = 17.27
To check your answer: both correlation coefficients are close to 11, consistent with the scatter diagram showing a strong relationship; the m\sqrt{m} model’s is markedly closer to 11, which matches the diagram levelling off much as m\sqrt{m} does. ✓

Since rr for the p=d+emp = d + e\sqrt{m} model is closer to 11, this model gives the better fit.

∴\therefore p=32.95+17.27mp = 32.95 + 17.27\sqrt{m}, with r=0.9914r = 0.9914.

Part (a)(iii)

Using p=32.95+17.27mp = 32.95 + 17.27\sqrt{m} from (a)(ii) with m=750m = 750,

p=32.95+17.27750p = 32.95 + 17.27\sqrt{750}
=32.95+472.96= 32.95 + 472.96
=505.9= 505.9

Correct to the nearest 10 cents, p≈510p \approx 510 cents.

Since m=750m = 750 lies within the range of the given data (24≤m≤500024 \leq m \leq 5000), this estimate is an interpolation, so it is likely to be reliable.

∴\therefore the estimated price is 510510 cents, and the estimate is reliable.

Part (b)(i)

1 mark

The line y=2.5n+1y = 2.5n + 1, together with the residual (dashed) for each data point, is:

Sketch for question 11

Part (b)(ii)(A)

1 mark

The residual for each point is y−f(n)y - f(n), where f(n)=2.5n+1f(n) = 2.5n + 1:

nn 2 5 6 7 11
yy 6 10 16 20 25
f(n)f(n) 6 13.5 16 18.5 28.5
residual 0 −3.5- 3.5 0 1.5 −3.5- 3.5

These are the dashed vertical segments marked in the sketch in (b)(i).

Part (b)(ii)(B)

1 mark

Residuals can be positive or negative, so simply summing them could give a small (or even zero) total even when the model fits poorly, because positive and negative residuals cancel each other out. Squaring the residuals before summing removes this cancellation, so the sum reflects the true overall size of the deviations.

Part (b)(ii)(C)

2 marks
Sum of squares=02+(−3.5)2+02+1.52+(−3.5)2\text{Sum of squares} = 0^{2} + ( - 3.5)^{2} + 0^{2} + {1.5}^{2} + ( - 3.5)^{2}
=0+12.25+0+2.25+12.25= 0 + 12.25 + 0 + 2.25 + 12.25
=26.75= 26.75
To check your answer: the sum of the (unsquared) residuals is 0−3.5+0+1.5−3.5=−5.5≠00 - 3.5 + 0 + 1.5 - 3.5 = - 5.5 \neq 0, as expected since y=2.5n+1y = 2.5n + 1 was not obtained by least squares (a least-squares line always has residuals summing to 00). ✓

∴\therefore the sum of squares of residuals is 26.7526.75.

Part (b)(iii)

A line that fits the data better has a smaller sum of squares of residuals than 26.7526.75: the smaller the sum of squares, the better the fit.

Part (b)(iv)

3 marks

Approach

All lines y=2.5n+cy = 2.5n + c share the same slope, so shifting cc shifts every residual by the same constant. Writing each residual for y=2.5n+cy = 2.5n + c in terms of the c=1c = 1 residuals lets us express the whole sum of squares as a single quadratic in cc, which we then compare against 26.7526.75.

Let di=yi−2.5nid_{i} = y_{i} - 2.5n_{i}, the residual when c=0c = 0:

nn 2 5 6 7 11
di=yi−2.5nid_{i} = y_{i} - 2.5n_{i} 1 −2.5- 2.5 1 2.5 −2.5- 2.5

For general cc, the residual is di−cd_{i} - c, so the sum of squares is

S(c)=∑(di−c)2S(c) = \sum\left( d_{i} - c \right)^{2}
=∑di2−2c∑di+5c2= \sum d_{i}^{2} - 2c\sum d_{i} + 5c^{2}
∑di=1−2.5+1+2.5−2.5=−0.5,∑di2=1+6.25+1+6.25+6.25=20.75\sum d_{i} = 1 - 2.5 + 1 + 2.5 - 2.5 = - 0.5,\quad\quad\sum d_{i}^{2} = 1 + 6.25 + 1 + 6.25 + 6.25 = 20.75
S(c)=20.75+c+5c2S(c) = 20.75 + c + 5c^{2}
To check your answer: S(1)=20.75+1+5=26.75S(1) = 20.75 + 1 + 5 = 26.75, matching (b)(ii)(C) exactly, since c=1c = 1 gives back the original line y=2.5n+1y = 2.5n + 1. ✓

We require S(c)<S(1)=26.75S(c) < S(1) = 26.75:

20.75+c+5c2<26.7520.75 + c + 5c^{2} < 26.75
⇒5c2+c−6<0\Rightarrow 5c^{2} + c - 6 < 0
c=−1±1+12010c = \frac{- 1 \pm \sqrt{1 + 120}}{10}
=−1±1110= \frac{- 1 \pm 11}{10}
=1 or −1.2= 1\ \text{or}\ - 1.2

Since the graph of 5c2+c−65c^{2} + c - 6 against cc is an upward parabola, it is negative between its roots.

∴\therefore −1.2<c<1- 1.2 < c < 1.

This is how we mark, and how we teach.

Every Ten-Year Series question, worked in full, with the reasoning written out and the traps named.

Find out more