The given data is
Regression coefficient of y on x
byx=n∑x2−(∑x)2n∑xy−∑x.∑y
=4×194−(26)24×539−26×77=100154=1.54
Regression coefficient of x on y
bxy=n∑y2−(∑y)2n∑xy−∑x.∑y
=4×1577−(77)24×539−26×77=379154=0.406
Correlation coefficient r=byx×bxy=1.54×0.406=0.62=0.787
Here, xˉ=n∑x=426=6.5
yˉ=n∑y=477=19.25
Regression line of y on x is
y−yˉ=byx(x−xˉ)
⇒y−19.25=1.54(x−6.5)
Value of y when x=12 is
y−19.25=1.54(12−6.5)⇒y=8.47+19.25=27.72
Comments