Skip to main contentSkip to solution

If y=a+b(x−2022)y = a + b(x - 2022) is a straight line trend using the least square method for the following data

Year (xx)20202021202220232024
Profit (Rs. '000) (yy)23452

Then the value of ab\frac{a}{b} is:

Solution

✅ Correct Option: 3

Given the trend line equation y=a+b(x−2022)y = a + b(x - 2022) with the data:

Year (xx)20202021202220232024
Profit (yy)23452

Let u=x−2022u = x - 2022 to simplify calculations.

The equation becomes y=a+buy = a + bu


Converting xx-values to uu-values:

When x=2020x = 2020: u=2020−2022=−2u = 2020 - 2022 = -2

When x=2021x = 2021: u=2021−2022=−1u = 2021 - 2022 = -1

When x=2022x = 2022: u=2022−2022=0u = 2022 - 2022 = 0

When x=2023x = 2023: u=2023−2022=1u = 2023 - 2022 = 1

When x=2024x = 2024: u=2024−2022=2u = 2024 - 2022 = 2

The transformed data:

uu-2-1012
yy23452

Number of data points: n=5n = 5

∑u=−2+(−1)+0+1+2\sum u = -2 + (-1) + 0 + 1 + 2

∑u=0\sum u = 0

uˉ=05=0\bar{u} = \frac{0}{5} = 0

∑y=2+3+4+5+2\sum y = 2 + 3 + 4 + 5 + 2

∑y=16\sum y = 16

yˉ=165=3.2\bar{y} = \frac{16}{5} = 3.2


∑u2=(−2)2+(−1)2+02+12+22\sum u^2 = (-2)^2 + (-1)^2 + 0^2 + 1^2 + 2^2

∑u2=4+1+0+1+4\sum u^2 = 4 + 1 + 0 + 1 + 4

∑u2=10\sum u^2 = 10

∑uy=(−2)(2)+(−1)(3)+(0)(4)+(1)(5)+(2)(2)\sum uy = (-2)(2) + (-1)(3) + (0)(4) + (1)(5) + (2)(2)

∑uy=−4−3+0+5+4\sum uy = -4 - 3 + 0 + 5 + 4

∑uy=2\sum uy = 2


Since uˉ=0\bar{u} = 0:

a=yˉ=165a = \bar{y} = \frac{16}{5}

Using the least squares formula:

b=∑uy∑u2b = \frac{\sum uy}{\sum u^2}

b=210b = \frac{2}{10}

b=15b = \frac{1}{5}


ab=16515\frac{a}{b} = \frac{\frac{16}{5}}{\frac{1}{5}}

ab=165×51\frac{a}{b} = \frac{16}{5} \times \frac{5}{1}

ab=16\frac{a}{b} = 16

Therefore, the value of ab=16\frac{a}{b} = 16

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question