The given data is
Regression coefficient of y on x
b y x = n ∑ x y − ∑ x . ∑ y n ∑ x 2 − ( ∑ x ) 2 b_{yx}=\dfrac{n\sum xy-\sum x.\sum y}{n\sum x^2-(\sum x)^2} b y x = n ∑ x 2 − ( ∑ x ) 2 n ∑ x y − ∑ x . ∑ y
= 4 × 539 − 26 × 77 4 × 194 − ( 26 ) 2 = 154 100 = 1.54 =\dfrac{4\times 539-26\times77}{4\times 194-(26)^2}\\[9pt]=\dfrac{154}{100}=1.54 = 4 × 194 − ( 26 ) 2 4 × 539 − 26 × 77 = 100 154 = 1.54
Regression coefficient of x on y
b x y = n ∑ x y − ∑ x . ∑ y n ∑ y 2 − ( ∑ y ) 2 b_{xy}=\dfrac{n\sum xy-\sum x.\sum y}{n\sum y^2-(\sum y)^2} b x y = n ∑ y 2 − ( ∑ y ) 2 n ∑ x y − ∑ x . ∑ y
= 4 × 539 − 26 × 77 4 × 1577 − ( 77 ) 2 = 154 379 = 0.406 =\dfrac{4\times 539-26\times 77}{4\times 1577-(77)^2}\\[9pt]=\dfrac{154}{379}=0.406 = 4 × 1577 − ( 77 ) 2 4 × 539 − 26 × 77 = 379 154 = 0.406
Correlation coefficient r = b y x × b x y = 1.54 × 0.406 = 0.62 = 0.787 r=\sqrt{b_{yx}\times b_{xy}}=\sqrt{1.54\times 0.406}=\sqrt{0.62}=0.787 r = b y x × b x y = 1.54 × 0.406 = 0.62 = 0.787
Here, x ˉ = ∑ x n = 26 4 = 6.5 \bar{x}=\dfrac{\sum x}{n}=\dfrac{26}{4}=6.5 x ˉ = n ∑ x = 4 26 = 6.5
y ˉ = ∑ y n = 77 4 = 19.25 \bar{y}=\dfrac{\sum y}{n}=\dfrac{77}{4}=19.25 y ˉ = n ∑ y = 4 77 = 19.25
Regression line of y on x is
y − y ˉ = b y x ( x − x ˉ ) y-\bar{y}=b_{yx}(x-\bar{x}) y − y ˉ = b y x ( x − x ˉ )
⇒ y − 19.25 = 1.54 ( x − 6.5 ) \Rightarrow y-19.25=1.54(x-6.5) ⇒ 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 y-19.25=1.54(12-6.5)\\\Rightarrow y=8.47+19.25=27.72 y − 19.25 = 1.54 ( 12 − 6.5 ) ⇒ y = 8.47 + 19.25 = 27.72
Comments