The yearly production (in tonnes) of a farm is given below.
| Year | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 |
| Production (in tonnes) | 18 | 22 | 26 | 30 | 34 | 38 | 42 |
Which of the following statements are correct?
(A) Each 3-year moving average is equal to the production of its middle year.
(B) The straight-line trend fitted by the method of least squares is \(y = 30 + 4X\), where X = year − 2021.
(C) The 5-year moving average for 2022 is 34 tonnes.
(D) The sum of the squares of the deviations of the actual values from the trend values is 4.
Choose the correct answer from the options given below:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → (A), (B) and (C) only
The production rises by exactly 4 tonnes every year. For three such values the middle one is their mean, for example
\( \displaystyle \frac{18 + 22 + 26}{3} = \frac{66}{3} = 22 \)
For the least squares line, with X = −3, −2, −1, 0, 1, 2, 3:
\( \displaystyle a = \frac{\sum y}{n} = \frac{210}{7} = 30 \)
\(\sum Xy = -54 - 44 - 26 + 0 + 34 + 76 + 126 = 112\)
\(\sum X^2 = 28\)
\( \displaystyle b = \frac{112}{28} = 4 \)
The line \(y = 30 + 4X\) passes through every data point, so every deviation is 0. The 5-year moving average for 2022 is
\( \displaystyle \frac{26 + 30 + 34 + 38 + 42}{5} = \frac{170}{5} = 34 \)
So the 3-year moving averages equal the middle values, the trend line is \(y = 30 + 4X\), the 5-year moving average for 2022 is 34, and the sum of the squares of the deviations is 0.
Checking the statements
(A) Each 3-year moving average is equal to the production of its middle year. — Correct. The values rise evenly, so the mean of three is the middle one.
(B) The straight-line trend fitted by the method of least squares is \(y = 30 + 4X\), where X = year − 2021. — Correct. a = 210 ÷ 7 = 30 and b = 112 ÷ 28 = 4.
(C) The 5-year moving average for 2022 is 34 tonnes. — Correct. 170 ÷ 5 = 34.
(D) The sum of the squares of the deviations of the actual values from the trend values is 4. — Incorrect. It is 0, since the line passes through every point.