For a given data of 5 observations \(\Sigma y=311\), \(\Sigma x^2=10\) and \(\Sigma xy=90\). The equation of the trend line is :
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(y_t=62.2+9x\)
The straight line trend \(y_t = a + bx\) is fitted by the method of least squares. With 5 observations, x is measured from the middle one: x = −2, −1, 0, 1, 2. Then \(\Sigma x = 0\) and \(\Sigma x^2 = 4 + 1 + 0 + 1 + 4 = 10\), as given.
The normal equations are
\(\Sigma y = na + b\,\Sigma x\)
\(\Sigma xy = a\,\Sigma x + b\,\Sigma x^2\)
With \(\Sigma x = 0\) they give a and b directly:
\( \displaystyle a = \frac{\Sigma y}{n} = \frac{311}{5} = 62.2 \)
\( \displaystyle b = \frac{\Sigma xy}{\Sigma x^2} = \frac{90}{10} = 9 \)
The trend line is \(y_t = 62.2 + 9x\).
Why the other options are incorrect
Option (2) \(y_t=9+62.2x\) — Incorrect. The values of a and b are interchanged: the constant term is 62.2 and the slope is 9.
Option (3) \(y_t=31.1+18x\) — Incorrect. a = 311/5 = 62.2, not 31.1, and b = 90/10 = 9, not 18.
Option (4) \(y_t=18+31.1x\) — Incorrect. Neither value is right: a = 62.2 and b = 9.