Skip to main contentSkip to solution

Consider the following data

Year (x)20102011201220132014
Profit (Rs. in thousands) (y)1012141613

The equation of straight line trend by method of least square for the above data is given by

Solution

✅ Correct Option: 3

The line of best fit using the Least Squares Method has the form y=a+bxy = a + bx.

Year (x)20102011201220132014
Profit (y)1012141613

Number of data points: n=5n = 5


Calculate the required sums:

∑x=2010+2011+2012+2013+2014=10,060\sum x = 2010 + 2011 + 2012 + 2013 + 2014 = 10,060

∑y=10+12+14+16+13=65\sum y = 10 + 12 + 14 + 16 + 13 = 65

∑xy=(2010×10)+(2011×12)+(2012×14)+(2013×16)+(2014×13)\sum xy = (2010 \times 10) + (2011 \times 12) + (2012 \times 14) + (2013 \times 16) + (2014 \times 13)

∑xy=20,100+24,132+28,168+32,208+26,182=130,790\sum xy = 20,100 + 24,132 + 28,168 + 32,208 + 26,182 = 130,790

∑x2=20102+20112+20122+20132+20142\sum x^2 = 2010^2 + 2011^2 + 2012^2 + 2013^2 + 2014^2

∑x2=4,040,100+4,044,121+4,048,144+4,052,169+4,056,196=20,240,730\sum x^2 = 4,040,100 + 4,044,121 + 4,048,144 + 4,052,169 + 4,056,196 = 20,240,730


The slope is given by:

b=n∑xy−(∑x)(∑y)n∑x2−(∑x)2b = \dfrac{n\sum xy - (\sum x)(\sum y)}{n\sum x^2 - (\sum x)^2}

b=5(130,790)−(10,060)(65)5(20,240,730)−(10,060)2b = \dfrac{5(130,790) - (10,060)(65)}{5(20,240,730) - (10,060)^2}

b=653,950−653,900101,203,650−101,203,600b = \dfrac{653,950 - 653,900}{101,203,650 - 101,203,600}

b=5050b = \dfrac{50}{50}

b=1b = 1


The intercept is given by:

a=∑y−b(∑x)na = \dfrac{\sum y - b(\sum x)}{n}

a=65−1(10,060)5a = \dfrac{65 - 1(10,060)}{5}

a=65−10,0605a = \dfrac{65 - 10,060}{5}

a=−9,9955a = \dfrac{-9,995}{5}

a=−1999a = -1999


The equation of the straight line trend is:

y=a+bxy = a + bx

y=−1999+xy = -1999 + x

y=x−1999y = x - 1999

Keyboard Shortcuts

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