Solveeit Logo

Question

Question: The two lines of regressions are \(x + 2y - 5 = 0\) and \(2x + 3y - 8 = 0\) and the variance of \(x\...

The two lines of regressions are x+2y5=0x + 2y - 5 = 0 and 2x+3y8=02x + 3y - 8 = 0 and the variance of xx is 1212. Find the variance of yy and the coefficient of correlation.

Explanation

Solution

Here, it is given the regressions of two lines and the variance of xx. We have to find the variance of yy and coefficient of correlation. We are going to find the coefficient correlation by using the given regressions of lines and to find the variance of yy, we have to use the variance of xx.

Formula used: byx=rσyσx{b_{yx}} = r\dfrac{{{\sigma _y}}}{{{\sigma _x}}}
bxy=rσxσy{b_{xy}} = r\dfrac{{{\sigma _x}}}{{{\sigma _y}}}
Correlation coefficient,
r2=bxy×byxr=bxy×byx{r^2} = {b_{xy}} \times {b_{yx}} \Rightarrow r = \sqrt {{b_{xy}} \times {b_{yx}}}

Complete step-by-step solution:
It is given in the question, the regressions of two lines are x+2y5=0x + 2y - 5 = 0 and 2x+3y8=02x + 3y - 8 = 0
The variance of xx is 1212.
Let us consider the equations,
x+2y5=0(1)x + 2y - 5 = 0 - - - - - (1)
2x+3y8=0(2)2x + 3y - 8 = 0 - - - - - (2)
From equation (1), divide the equation by 22 to get the regression line of yy on xx,
Hence, x+2y5=0x + 2y - 5 = 0
x2+y52=0\Rightarrow \dfrac{x}{2} + y - \dfrac{5}{2} = 0
Rewriting the equation we get,
y=x2+52\Rightarrow y = - \dfrac{x}{2} + \dfrac{5}{2}
The is equation is the regression line of yy on xx.
From that we can get,
byx=rσyσx=12(){b_{yx}} = r\dfrac{{{\sigma _y}}}{{{\sigma _x}}} = - \dfrac{1}{2} - - - - ( * )
From equation (2), divide the equation by 22 to get the regression line of xx on yy,
Hence, 2x+3y8=02x + 3y - 8 = 0
x+32y82=0\Rightarrow x + \dfrac{3}{2}y - \dfrac{8}{2} = 0
Rewriting the equation we get,
x=32y+4\Rightarrow x = - \dfrac{3}{2}y + 4
The is equation is the regression line of xx on yy.
From that we can get,
bxy=rσxσy=32{b_{xy}} = r\dfrac{{{\sigma _x}}}{{{\sigma _y}}} = - \dfrac{3}{2}
Now we are going find correlation of coefficient,
Since, r2=bxy×byxr=bxy×byx{r^2} = {b_{xy}} \times {b_{yx}} \Rightarrow r = \sqrt {{b_{xy}} \times {b_{yx}}}
Subtituting the values,
r=32×12\Rightarrow r = \sqrt { - \dfrac{3}{2} \times - \dfrac{1}{2}}
Multiplying the terms
34\Rightarrow \sqrt {\dfrac{3}{4}}
Taking square root we get,
±32\Rightarrow \pm \dfrac{{\sqrt 3 }}{2}
bxy{b_{xy}} and byx{b_{yx}} being both are negative,
Hence, rr is also negative.
r=32r = - \dfrac{{\sqrt 3 }}{2}
\therefore The correlation coefficient r=32r = - \dfrac{{\sqrt 3 }}{2}
Consider the given variance of xx is 1212,
That is, σx2=12\sigma _x^2 = 12,
σx=12\Rightarrow {\sigma _x} = \sqrt {12}
Since already we known that,
byx=rσyσx=12(){b_{yx}} = r\dfrac{{{\sigma _y}}}{{{\sigma _x}}} = - \dfrac{1}{2} - - - - ( * )
Hence we have the values of σx{\sigma _x} and rr, so substituting those in (*), we get,
32×σy12=12\Rightarrow - \dfrac{{\sqrt 3 }}{2} \times \dfrac{{{\sigma _y}}}{{\sqrt {12} }} = - \dfrac{1}{2}
Rearranging the terms to solve for σy{\sigma _y},
σy=12×(23)×12\Rightarrow {\sigma _y} = - \dfrac{1}{2} \times \left( { - \dfrac{2}{{\sqrt 3 }}} \right) \times \sqrt {12}
Simplifying their terms we get,
σy=12×(23)×23\Rightarrow {\sigma _y} = - \dfrac{1}{2} \times \left( { - \dfrac{2}{{\sqrt 3 }}} \right) \times 2\sqrt 3
Hence,
σy=2\Rightarrow {\sigma _y} = 2
Squaring on both sides,
σy2=4\Rightarrow \sigma _y^2 = 4
Hence we got the variance of yy,
σy2=4\therefore \sigma _y^2 = 4
The Variance of y is 4.

Note: We have to remember that the composition of regression lines is based on the least square assumptions. Regression analysis is generally based on the summation of squares of deviations of observed values from the lines of the best fit. A line of regression gives the best average value of one variable from any given value of the other variable.