Economics, Data Science, Statistics, Towards Data Science, Business.
two-step process (which is why another name for IV regression is two steps least squares). In the first step, we regress X on Z. This gives us a set of predicted values, X̂. In the second step, we regress Y on the predicted values, X̂. Below is a demonstration of the IV regression process. Step 1)