The yearly production (in thousand tonnes) of a mill is given below, where the value for 2022 is missing.
| Year | 2020 | 2021 | 2022 | 2023 | 2024 |
| Production (in thousand tonnes) | 22 | 28 | \(k\) | 31 | 39 |
If the straight-line trend fitted by the method of least squares is \(y = 29 + 3.7X\), where X = year − 2022, then the value of \(k\) is
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → 25
With X = year − 2022, the middle year is the origin and \(\sum X = 0\), so the constant of the trend line is the mean of the five values:
\( \displaystyle a = \frac{\sum y}{5} = 29 \)
\(\sum y = 5 \times 29 = 145\)
\(22 + 28 + k + 31 + 39 = 145\)
\(120 + k = 145\)
\(k = 25\)
The slope agrees with the data whatever k is, because the 2022 value is multiplied by X = 0:
\( \displaystyle b = \frac{-44 - 28 + 0 + 31 + 78}{10} = \frac{37}{10} = 3.7 \)
Why the other options are incorrect
Option (1) 29 — Incorrect. 29 is the trend value for 2022; the actual value need not equal it. With k = 29 the total would be 149 and a would be 29.8.
Option (3) 30 — Incorrect. With k = 30 the total would be 150 and a would be 30, not 29.
Option (4) 26 — Incorrect. With k = 26 the total would be 146 and a would be 29.2, not 29.