Inferensys

Glossary

Instrumental Variable

A variable that affects the treatment but has no direct effect on the outcome except through the treatment, used to estimate causal effects in the presence of unobserved confounding.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
CAUSAL INFERENCE

What is an Instrumental Variable?

An instrumental variable (IV) is a tool used in causal inference to estimate the true effect of a treatment on an outcome when unobserved confounding is present, by exploiting a third variable that influences the treatment but has no direct effect on the outcome.

An instrumental variable is a variable Z that satisfies three core conditions: it must be correlated with the treatment X (relevance), it must have no direct effect on the outcome Y except through X (exclusion restriction), and it must not share any common causes with Y (exogeneity). By isolating the variation in X that is driven solely by Z, analysts can recover a consistent estimate of the causal effect even when critical confounders are unmeasured, making it a powerful tool for quasi-experimental design.

In supply chain disruption analysis, an IV might be a supplier's geographic distance from a weather event, which affects shipment delays (treatment) but does not directly influence quarterly revenue (outcome) except through the delay itself. The most common estimation method is two-stage least squares (2SLS) , where the treatment is first regressed on the instrument to obtain predicted values, which are then used in the outcome regression. This technique bypasses the bias introduced by latent confounders like managerial quality or unobserved demand shocks.

INSTRUMENTAL VARIABLE

Core Properties of a Valid Instrument

For an instrumental variable (IV) to produce a consistent estimator of a causal effect, it must satisfy four core conditions. These properties ensure the instrument isolates exogenous variation in the treatment, bypassing unobserved confounders.

01

Relevance (First Stage)

The instrument Z must have a statistically significant, non-zero effect on the endogenous treatment X. This is empirically testable via the first-stage F-statistic.

  • Rule of thumb: F-statistic > 10 to avoid weak instrument bias
  • Weak instruments amplify finite-sample bias and produce unreliable standard errors
  • A weak first stage means the IV estimator is effectively unidentified, even in large samples
  • This condition is also called cov(Z, X) ≠ 0
F > 10
Staiger-Stock Rule
02

Exclusion Restriction

The instrument Z must affect the outcome Y only through its effect on the treatment X. There can be no direct path from Z to Y, nor any indirect path that bypasses X.

  • This is the untestable core assumption of IV analysis
  • Violations occur if Z affects Y through omitted channels (e.g., policy changes that shift multiple behaviors)
  • Requires strong domain knowledge and institutional context to defend
  • Mathematically: cov(Z, ε) = 0 where ε is the structural error term
03

Independence (Exogeneity)

The instrument Z must be as good as randomly assigned with respect to all confounders U. Z must be independent of both observed and unobserved factors that jointly influence X and Y.

  • In randomized experiments, random assignment to treatment is the perfect instrument
  • In observational studies, natural experiments (e.g., draft lotteries, weather shocks) approximate this
  • Independence implies cov(Z, U) = 0 for all confounders U
  • This is distinct from the exclusion restriction—independence is about confounders, not the outcome
04

Monotonicity (No Defiers)

The instrument must shift all units in the same direction—or at least not shift any unit in the opposite direction. This identifies the Local Average Treatment Effect (LATE) for compliers.

  • Compliers: Units whose treatment status changes as Z changes in the expected direction
  • Always-takers: Units always treated regardless of Z
  • Never-takers: Units never treated regardless of Z
  • Defiers: Units that do the opposite of what Z encourages—assumed to not exist
  • Without monotonicity, the IV estimand is a weighted average with potentially negative weights
05

Two-Stage Least Squares (2SLS)

The workhorse estimator for IV models. Stage 1 regresses the endogenous treatment X on the instrument Z and all exogenous controls to obtain predicted values . Stage 2 regresses the outcome Y on and the same controls.

  • Stage 1: X = π₀ + π₁Z + γW + ν
  • Stage 2: Y = β₀ + β₁X̂ + δW + ε
  • The coefficient β₁ is the consistent IV estimate of the causal effect
  • Standard errors must be corrected—naive OLS in Stage 2 underestimates variance
  • Modern implementations use GMM for efficiency with heteroskedastic errors
06

Supply Chain Application: Disruption Analysis

In supply chain causal inference, valid instruments are rare but powerful. Example: using supplier geographic weather shocks as an instrument for shipment delays.

  • Z: Rainfall anomaly at supplier location (exogenous, random)
  • X: Actual shipment delay (endogenous—affected by unobserved supplier quality)
  • Y: Factory downtime cost (outcome)
  • Relevance: Heavy rain causes delays
  • Exclusion: Rain at supplier only affects factory costs through delays, not directly
  • Independence: Weather is orthogonal to supplier management quality
  • This isolates the true causal cost of delays, not the confounded correlation
CAUSAL INFERENCE

Frequently Asked Questions

Clear, technically precise answers to the most common questions about using instrumental variables to isolate root causes in supply chain disruption analysis.

An instrumental variable (IV) is a variable Z that is used to estimate the causal effect of a treatment T on an outcome Y when unobserved confounding is present. It works by isolating the variation in the treatment that is independent of the confounders. For Z to be a valid instrument, it must satisfy three core conditions: (1) Relevance: Z must be strongly correlated with the treatment T; (2) Exogeneity: Z must be independent of the unobserved confounders U; and (3) Exclusion Restriction: Z must affect the outcome Y only through its effect on the treatment T. The most common estimation method is Two-Stage Least Squares (2SLS). In the first stage, the treatment is regressed on the instrument to obtain predicted values. In the second stage, the outcome is regressed on these predicted values, yielding a consistent estimate of the causal effect even in the presence of omitted variable bias.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.