An instrumental variable (IV) is a variable used in causal inference to estimate the effect of a treatment on an outcome when there is unmeasured confounding. It must satisfy three core conditions: it must be correlated with the treatment variable (relevance), it must affect the outcome only through its effect on the treatment (exclusion restriction), and it must share no common causes with the outcome (exchangeability or independence). When these assumptions hold, the IV acts as a natural experiment, isolating the exogenous variation in the treatment to measure its causal impact.
For example, in economics, distance to a college is often used as an instrument for education level when estimating the effect of education on earnings. The assumption is that distance affects earnings only by influencing the decision to attend college, not through other pathways like local job markets.