Skip to content
Worked Examples · Example 6
Q.

Fit a straight-line trend by the method of least squares to the following data on a firm's profit (Rs '000) for 2018-2022, and estimate the trend value for each year.

Year20182019202020212022
Profit1012182228
Gujarat GsebTextbookSubjectiveImportance★★★★★
17% · 7/41 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Step 1 — set up the coding table (origin at the middle year, 2020, since n=5n=5 is odd):

YearProfit (YY)XXXYXYX2X^2
201810-2-204
201912-1-121
202018000
2021221221
2022282564
TotalΣY=90\Sigma Y = 90ΣX=0\Sigma X = 0ΣXY=46\Sigma XY = 46ΣX2=10\Sigma X^2 = 10

Step 2 — compute aa and bb:

a=ΣYn=905=18b=ΣXYΣX2=4610=4.6a = \frac{\Sigma Y}{n} = \frac{90}{5} = 18 \qquad b = \frac{\Sigma XY}{\Sigma X^2} = \frac{46}{10} = 4.6

So the trend equation is Yc=18+4.6XY_c = 18 + 4.6X, with origin 2020 and XX measured in years.

Step 3 — trend values:

YearXXYc=18+4.6XY_c = 18+4.6X
2018-218−9.2=8.818-9.2=8.8
2019-118−4.6=13.418-4.6=13.4
2020018.018.0
2021118+4.6=22.618+4.6=22.6
2022218+9.2=27.218+9.2=27.2

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.