The number of visitors (in thousands) to a fair is given below.
| Year | 2020 | 2021 | 2022 | 2023 | 2024 |
| Visitors (in thousands) | 30 | 34 | 39 | 41 | 41 |
Using a straight-line trend fitted by the method of least squares, the trend value of the visitors (in thousands) for the year 2022 is
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → 37
Let the trend line be \(y = a + bX\) with X = year − 2022, so that the middle year 2022 is the origin and \(\sum X = 0\). The normal equations then give
\( \displaystyle a = \frac{\sum y}{n} \)
For 2022, X = 0, so its trend value is \(a\) itself, the mean of the data:
\(\sum y = 30 + 34 + 39 + 41 + 41 = 185\)
\( \displaystyle a = \frac{185}{5} = 37 \)
So the trend value for 2022 is 37 thousand visitors; the value of \(b\) is not needed.
Why the other options are incorrect
Option (1) 39 — Incorrect. It is the actual number of visitors in 2022; the trend value is the mean 37.
Option (2) 38 — Incorrect. The trend value for 2022 is 185 ÷ 5 = 37.
Option (3) 36 — Incorrect. The trend value for 2022 is 185 ÷ 5 = 37.