Mean xˉ=n∑xi=103+7+6+5+6+4+5+7+4+5=1052=5.2
Mean yˉ=n∑yi=10816=81.6
xˉ=5.2 is not an integer , use assumed mean A=5
yˉ=81.6 is not an integer , use assumed mean B = 82
Now,
From table:
byx=n∑dx2−(∑dx)2n∑dxdy−(∑dx)(∑dy) =(10×16)−(2)2(10×111)−2×(−4) =160−41110+8 =1561118=7.1667
Regression line y on x :
y−yˉ=byx(x−xˉ)⇒y−81.6=7.1667(x−5.2)⇒y=7.1667x+44.3333
Now estimate y for x=3
y=7.1667×3+44.3333⇒y=21.5+44.3333⇒y=65.8333
So, the residual at x=3
ϵ0=∣y−y^∣
From data when x=3 y= 60
And residual is the absolute value of a residual measures the vertical distance between the actual value of y and the estimated value of y
So residual at x=3
⇒∣65.833−60∣=5.833
Comments