The output (in thousand units) of a factory is given below.
| Year | 2021 | 2022 | 2023 | 2024 |
| Output (in thousand units) | 10 | 14 | 15 | 21 |
Using a straight-line trend fitted by the method of least squares, the trend value of the output (in thousand units) for the year 2022 is
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → 13.3
There are 4 years (an even number), so the origin is the midpoint of the two middle years, 2022.5. To avoid fractions take
\( \displaystyle X = \frac{\text{year} - 2022.5}{0.5} \)
so X takes the values −3, −1, 1, 3 and \(\sum X = 0\). For the trend line \(y = a + bX\):
\( \displaystyle a = \frac{\sum y}{n}, \quad b = \frac{\sum Xy}{\sum X^2} \)
The sums are
\(\sum y = 10 + 14 + 15 + 21 = 60\)
\(\sum Xy = -30 - 14 + 15 + 63 = 34\)
\(\sum X^2 = 9 + 1 + 1 + 9 = 20\)
So
\( \displaystyle a = \frac{60}{4} = 15 \)
\( \displaystyle b = \frac{34}{20} = 1.7 \)
The trend line is \(y = 15 + 1.7X\). For 2022, X = −1:
\(y = 15 + 1.7 \times (-1) = 13.3\)
Why the other options are incorrect
Option (1) 14 — Incorrect. 14 is the actual output of 2022, not the trend value on the fitted line.
Option (2) 14.15 — Incorrect. This puts X = 2022 − 2022.5 = −0.5 into \(y = 15 + 1.7X\); with this line X is counted in half-years, so X = −1 for 2022.
Option (3) 11.6 — Incorrect. It is the trend value for X = −2, which is not the X of any year (X is always odd here).