1

Suppose we have $X_{true}$ and $Y_{true}$ with a given correlation coefficient $\rho$ between them.

We also have a third variable $W$. The three variables may have any distribution you like.

Now we want to find $\alpha_1, \alpha_2 \in R$ such that $X_{obs} = X_{true} + \alpha_1 W$ and $Y_{obs} = Y_{true} + \alpha_2W$ have another given correlation coefficient $\tilde \rho$ between them.

In other words, I am trying to add a confounding variable to my original variables in a way that I can control their observed correlation coefficient.

One of the reasons I want to do it is to simulate the instrumental variable estimation method (and other identification strategies as well). That is, I am going to simulate an instrument $Z$ that will be able to recover the true relationship between $X_{true}$ and $Y_{true}$ when only $X_{obs}$ and $Y_{obs}$ are observed. Please, feel free to say if I am going the wrong way to achieve this.

0 Answers0