The yearly sales (in lakh Rs.) of a shop are given below, where the values for 2021 and 2023 are missing.
| Year | 2020 | 2021 | 2022 | 2023 | 2024 |
| Sales (in lakh Rs.) | 18 | \(p\) | 25 | \(q\) | 35 |
If the straight-line trend fitted to these data by the method of least squares is \(y = 26 + 4.4X\), where X = year − 2022, then
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(p = 21,\ q = 31\)
With X = year − 2022, X = −2, −1, 0, 1, 2, \(\sum X = 0\) and \(\sum X^2 = 10\). The normal equations give one condition from each constant.
From \( \displaystyle a = \frac{\sum y}{5} = 26\):
\(18 + p + 25 + q + 35 = 130\)
\(p + q = 52\)
From \( \displaystyle b = \frac{\sum Xy}{\sum X^2} = 4.4\):
\(\sum Xy = 4.4 \times 10 = 44\)
\(-36 - p + 0 + q + 70 = 44\)
\(q - p = 10\)
Adding and subtracting the two conditions:
\(2q = 62, \quad q = 31\)
\(2p = 42, \quad p = 21\)
So p = 21 and q = 31.