One answer is \(a = \rho\) and \(b = \sqrt{1 - \rho^2}\), so \(Y = \rho X + \sqrt{1 - \rho^2}\,\varepsilon\).
The correlation condition fixes \(a\), and the variance condition then fixes \(b\).
Independence gives \(\operatorname{Cov}(X, \varepsilon) = 0\), and \(\operatorname{Var}(X) = 1\). The covariance of \(Y\) with \(X\) is
The question requires \(\operatorname{Var}(Y) = 1\), so both variances are 1 and the correlation equals the covariance:
Multiplying a variable by \(b\) multiplies its variance by \(b^2\), and independence removes the cross term, so the variance condition fixes \(b^2\):
Solving (3) with the nonnegative root gives
At \(\rho = 0\), formula (4) gives \(Y = \varepsilon\), and at \(\rho = 1\) it gives \(Y = X\). With \(\rho = 0.8\), for example,
So \(X\) gives 0.64 of the variance of \(Y\), and \(\varepsilon\) gives the other 0.36.
The same construction builds correlated returns for a simulation, by mixing two independent standard normal draws with weights \(\rho\) and \(\sqrt{1 - \rho^2}\).
Three wrong answers are common. Each takes \(a = \rho\) and fails at \(\rho = 0.8\):
| 0 |
leaves out \(\varepsilon\), so \(Y\) moves exactly with \(X\), with \(\operatorname{Var}(Y) = 0.64\) and \(\operatorname{Corr}(Y, X) = 1\) |
| 1 |
keeps all of \(\varepsilon\), so \(\operatorname{Var}(Y) = 0.64 + 1 = 1.64\) and \(\operatorname{Corr}(Y, X) = 0.8/\sqrt{1.64} = 0.62\) |
| \(1 - \rho\) |
makes the weights add to 1 in place of their squares, so \(\operatorname{Var}(Y) = 0.64 + 0.04 = 0.68\) and \(\operatorname{Corr}(Y, X) = 0.8/\sqrt{0.68} = 0.97\) |