Obtain the trend line to the given data.
Obtain the trend line to the given data.
With 7 years, shift the origin to the middle year 2021 and let , so .
Compute the sums:
- , so .
- .
- .
- .
Trend line: , where (Y in Rs thousands).
Marking Scheme
- 10.5 mark: correct origin shift and the values of .
- 20.5 mark: correct slope and final trend line .
- 3Accept an equivalent equation using a different consistent coding of X.
Hint
There are 7 years (odd), so take the middle year 2021 as origin and code (so ). Then the trend line has and .
Quick Oral Answer
Taking 2021 as the origin, the sales average 90 thousand and rise by 2 thousand each year, so the least-squares trend line is where .
Analysis & Explanation
This part applies the least-squares method to fit a straight-line trend to time-series data.
Concept
- Because when the origin is the middle year, the normal equations decouple, giving the simple formulae and . This origin-shift trick is the standard exam technique for an odd number of years.
- The positive slope means sales rise on average by Rs 2,000 per year.
Exam trap
- Forgetting to shift the origin (or shifting to the wrong year) makes and forces the full two-equation solution — more work and more error.
- Mislabelling units: sales are in Rs thousands, so means Rs 90,000.
Real-world
- Trend lines are the foundation of business forecasting; here Mr. Nitin can project future soap sales, a direct commercial use of the least-squares line.
Common Mistakes
- 1Not shifting the origin to the middle year, leaving and complicating the normal equations.
- 2Arithmetic errors in (the mixed positive and negative products are easy to slip on).
- 3Writing the trend line in terms of the actual year without stating , causing confusion in later parts.
Interesting Facts
The method of least squares was published by Adrien-Marie Legendre in 1805 and used by Gauss to predict the orbit of the asteroid Ceres.
When the number of time points is odd, coding the middle point as zero always makes , which is why exam problems favour odd-length series.
A slope of 2 (thousand rupees per year) means the trend predicts steady annual growth regardless of the year-to-year zig-zag in the actual data.
Spotted a mistake or something unclear?
Tell us — we fix reported answers fast.
Frequently Asked Questions
Why take 2021 as the origin instead of 2018?
2021 is the middle of the seven years. Coding makes the X-values symmetric (−3 to 3) so that . This simplifies the least-squares formulae to and , reducing both effort and error.
What does the slope of 2 tell us?
The slope means that, according to the fitted trend, soap sales increase on average by Rs 2,000 (2 thousand) per year over the period, smoothing out the year-to-year fluctuations.