The following table contains the placement statistics for JKL institute of technology. The first column contains the CGPA or grade of the students and the second column contains the average salary in lakhs per annum. Find the average salary corresponding to 8.5 CGPA using linear interpolation.
CGPA (X)Salary (Y)52.5646.54.5767.57.589911
9.72 lakhs per annum
xyx−¯x(x−¯x)2(y−¯y)(x−¯x)(y−¯y)52.5−24−3.867.7264−11−2.362.366.54.5−0.50.25−1.860.937600−0.36089112.642.64911244.649.28∑=10.5∑=23.5
¯x=∑xn=497=7
¯y=∑yn=44.57=6.36
M=∑ni=1(xi−¯x)(yi−¯y)∑ni=1(xi−¯x)2=23.510.5=2.24
B=¯y−M¯x=6.36−2.24×7=−9.32
The line of best fit is y=2.24 x−9.32
Substituting 8.5 in the equation, we have
y=2.24×8.5−9.32=9.72
Average salary corresponding to 8.5 CGPA is 9.7 lakhs per annum