9 Instrumental variables
This chapter covers
- Learning different ways to estimate causal effects with instrumental variables
- Identifying situations where you can apply instrumental variables
- Learning how to apply instrumental variables with different Python and R packages
Using instrumental variables (IVs) is a technique to estimate causal effects that differ from the adjustment formula. It is applicable only in specific scenarios, particularly when your DAG follows the structure in figure 9.1. Some parts of this DAG are already familiar, such as the typical three-node confounder structure with the decision or treatment variable D, the outcome Y, and the set of confounders C, which we assume is unobserved. Additionally, you may have noticed an extra variable Z, called the instrument, a crucial requirement for applying the IV method.
Figure 9.1 Basic instrumental variables diagram. Confounders are unobserved. Variable Z plays the role of an instrument. This structure lets you overcome the lack of information about confounders in estimating the effect of D into Y.
