document.write( "Question 1204179: Given a random variable X, with standard deviation σX, and a random variable Y = a + bX, show
\n" ); document.write( "that if b < 0, the correlation coefficient ρXY = −1, and
\n" ); document.write( "if b > 0, ρXY = 1
\n" ); document.write( "

Algebra.Com's Answer #847982 by ElectricPavlov(122)\"\" \"About 
You can put this solution on YOUR website!
**1. Find the Standard Deviation of Y**\r
\n" ); document.write( "\n" ); document.write( "* **Y = a + bX**
\n" ); document.write( "* **σY = |b| * σX**
\n" ); document.write( " * The absolute value of 'b' is used because standard deviation must be non-negative.\r
\n" ); document.write( "\n" ); document.write( "**2. Find the Covariance of X and Y**\r
\n" ); document.write( "\n" ); document.write( "* **Cov(X, Y) = Cov(X, a + bX)**
\n" ); document.write( "* **Cov(X, Y) = Cov(X, a) + Cov(X, bX)**
\n" ); document.write( "* **Cov(X, Y) = 0 + b * Var(X)**
\n" ); document.write( " * Cov(X, a) = 0 because the covariance between a random variable and a constant is zero.
\n" ); document.write( " * Cov(X, bX) = b * Var(X) \r
\n" ); document.write( "\n" ); document.write( "* **Cov(X, Y) = b * σX²**\r
\n" ); document.write( "\n" ); document.write( "**3. Calculate the Correlation Coefficient (ρXY)**\r
\n" ); document.write( "\n" ); document.write( "* **ρXY = Cov(X, Y) / (σX * σY)**
\n" ); document.write( "* **ρXY = (b * σX²) / (σX * |b| * σX)**
\n" ); document.write( "* **ρXY = b / |b|**\r
\n" ); document.write( "\n" ); document.write( "**4. Determine the Sign of ρXY**\r
\n" ); document.write( "\n" ); document.write( "* **If b > 0:**
\n" ); document.write( " * ρXY = b / b = 1
\n" ); document.write( " * This indicates a perfect positive linear relationship between X and Y.\r
\n" ); document.write( "\n" ); document.write( "* **If b < 0:**
\n" ); document.write( " * ρXY = b / (-b) = -1
\n" ); document.write( " * This indicates a perfect negative linear relationship between X and Y.\r
\n" ); document.write( "\n" ); document.write( "**Therefore:**\r
\n" ); document.write( "\n" ); document.write( "* If b < 0, ρXY = -1
\n" ); document.write( "* If b > 0, ρXY = 1\r
\n" ); document.write( "\n" ); document.write( "This demonstrates that the correlation coefficient between X and Y is perfectly positively or negatively correlated depending on the sign of the slope (b) in the linear relationship Y = a + bX.
\n" ); document.write( "
\n" ); document.write( "
\n" );