Problem 14.5 Easy Free

Correlation Under Affine Maps

Let XX and YY be random variables with Corr⁡(X,Y)=−0.4\operatorname{Corr}(X,Y) = -0.4. Determine Corr⁡(3X+1,1−Y)\operatorname{Corr}(3X+1, 1-Y), or explain why it cannot be determined from the given information.

Work it out, then compare with the answer.

SolutionShow the worked solution

Since Corr⁡(X,Y)\operatorname{Corr}(X,Y) is given, XX and YY have finite, positive variances. Write σX2=Var⁡(X)\sigma_X^2=\operatorname{Var}(X) and σY2=Var⁡(Y)\sigma_Y^2=\operatorname{Var}(Y).

Key idea. Additive constants do not change covariances or variances. Multiplicative constants come out of each, so only their signs survive in the ratio.

For constants a,c≠0a,c\neq 0 and b,db,d, bilinearity of covariance gives

Cov⁡(aX+b, cY+d)=acCov⁡(X,Y).\operatorname{Cov}(aX+b,\,cY+d)=ac\operatorname{Cov}(X,Y).

The variances transform as

Var⁡(aX+b)=a2σX2,Var⁡(cY+d)=c2σY2.\operatorname{Var}(aX+b)=a^2\sigma_X^2, \qquad \operatorname{Var}(cY+d)=c^2\sigma_Y^2.

Dividing the covariance by the product of the standard deviations,

Corr⁡(aX+b, cY+d)=acCov⁡(X,Y)∣a∣ ∣c∣ σXσY=sign⁡(ac)Corr⁡(X,Y).\operatorname{Corr}(aX+b,\,cY+d)=\frac{ac\operatorname{Cov}(X,Y)}{|a|\,|c|\,\sigma_X\sigma_Y} =\operatorname{sign}(ac)\operatorname{Corr}(X,Y).

Here 3X+13X+1 has a=3a=3, and 1−Y=−Y+11-Y=-Y+1 has c=−1c=-1. Hence sign⁡(ac)=−1\operatorname{sign}(ac)=-1 and

Corr⁡(3X+1, 1−Y)=−(−0.4)=0.4.\operatorname{Corr}(3X+1,\,1-Y)=-(-0.4)=0.4.

The quantity is therefore determined by the given information:

Corr⁡(3X+1, 1−Y)=25\boxed{\operatorname{Corr}(3X+1,\,1-Y)=\tfrac{2}{5}}