Bayesian Instrumental Variables (Bayesian IV)

Statistics
Introduced by
Kleibergen & Zivot (2003); Lancaster (2004)
Year
2003
Type
Causal inference / Bayesian estimation
Family
Quasi-experimental / causal inference

What does it do?

Bayesian instrumental variables applies the instrumental variable strategy to an endogenous regressor within a Bayesian framework.

Rather than relying on asymptotic sampling distributions, it places prior distributions on the structural parameters and reports a posterior distribution for the causal effect, from which credible intervals and probability statements about the parameter can be drawn. The approach is usually considered when instruments are weak or samples are small, because within the stated model and priors, posterior uncertainty then reflects that weakness directly.

The intuition behind the method

Standard IV uses an instrument, a variable that shifts the endogenous treatment but is assumed to affect the outcome only through that treatment, to isolate variation in the treatment that is unrelated to the error term. Two-stage least squares (2SLS) applies this idea and reports a point estimate with an asymptotic standard error, and those large-sample approximations can be poor when the instrument is weak. The Bayesian version writes the structural equations as a likelihood, places priors on the unknown parameters, and combines them with the data to obtain a posterior distribution for the causal coefficient. When the first stage is weak, the posterior for the effect is spread out, so the uncertainty appears in the credible interval rather than in a falsely precise estimate. This holds only when the joint model and priors are specified appropriately.

History

Instrumental variable methods are a long-standing part of causal econometrics. Kleibergen and Zivot (2003) compared Bayesian and classical approaches to instrumental variable regression in the Journal of Econometrics, and that paper is the main source for the contrast between the two approaches discussed here.

When to use it

Consider Bayesian IV when the treatment is endogenous and you have an instrument that is credibly relevant and has a defensible exclusion argument. The Bayesian formulation is most useful when the first stage is weak or the sample is small, when asymptotic approximations for 2SLS are doubtful, when credible prior information exists, or when the full posterior rather than a point estimate and standard error is needed. A first-stage F-statistic below 10 is a conventional rule of thumb from classical 2SLS practice, not a sharp boundary and not a Bayesian test. In a Bayesian analysis the relevant check is the posterior for the first-stage coefficient π₁, including whether its credible interval lies clearly away from zero. Do not use the method when no credible instrument exists, since a weak or invalid instrument gives a wide or misleading posterior whatever the framework. If the regressor is in fact exogenous, OLS is consistent and more efficient than IV, so IV is not needed.

Limitations and considerations

  • The method needs a relevant instrument that satisfies the exclusion restriction. The Bayesian machinery does not supply either condition, and the exclusion restriction cannot be tested from the data.
  • MCMC estimation can be computationally demanding for large datasets or for models with several endogenous regressors, and convergence must be checked.
  • Results can depend on the prior, particularly when the instrument is weak, so conclusions should be checked under alternative reasonable priors.
  • The linear normal model described here is not suited to binary or count outcomes or to a binary treatment, which require a different structural likelihood.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The output is a full posterior for the causal coefficient, so statements such as the posterior probability that the effect is positive can be read directly rather than through a p-value against a null hypothesis.
  • When the first stage is weak, the posterior for the effect widens, so the reported uncertainty can reflect the weakness instead of a falsely precise interval, provided the joint model and priors are correctly specified.
  • Summaries come from the posterior itself rather than from large-sample standard error formulas, which is the practical reason the approach is considered for small samples. Its validity still depends on the model and the priors.
  • Prior knowledge about instrument strength or the plausible size of the effect can be encoded explicitly, and its influence on the result can be checked.
  • Within a correctly specified joint model, the approach carries uncertainty about the first stage into the posterior for the causal coefficient, rather than treating the first-stage fit as known.

Applications

  • Estimating returns to schooling where a plausible instrument affects schooling but not wages directly, with the posterior describing uncertainty about the wage effect.
  • Studying the effect of insurance take-up on health when an eligibility or assignment rule may serve as the instrument and the sample is modest.
  • Studying the effect of an institutional or economic variable on growth in cross-country data, where an instrument may come from history or geography and theory suggests a plausible range for the effect.
  • Studying labour-supply responses where an external shifter of household conditions serves as the instrument, with priors informed by earlier work.

How it works

How it works

1

The first stage models the endogenous regressor D as a linear function of the instrument Z plus a normally distributed error. The strength of the relationship between Z and D, governed by the coefficient π₁, determines instrument relevance. A weak first stage means π₁ is near zero, and posterior uncertainty for the causal effect will then be wide.

Formula
D_i = \pi_0 + \pi_1 Z_i + \nu_i, \quad \nu_i \sim N(0,\sigma^2_\nu)
2

The outcome equation relates Y to the endogenous regressor D, and the causal coefficient β₁ is the parameter of interest. In the Bayesian treatment the outcome and first-stage equations are estimated jointly, rather than by plugging in a fitted value D̂ from a separate regression as in two-stage least squares. This allows uncertainty about the first stage to be carried into the posterior for β₁. Whether the joint estimation is full-information or approximated should be stated when results are reported.

Formula
Y_i = \beta_0 + \beta_1 \hat{D}_i + \varepsilon_i, \quad \varepsilon_i \sim N(0,\sigma^2_\varepsilon)
3

The joint density of Y and D given Z factorises into an outcome term and a treatment term only when the two error terms are independent. Endogeneity means that these errors are correlated, and in that case ordinary least squares on the outcome equation is biased. A joint likelihood that captures endogeneity therefore needs a correlation parameter ρ between the two error terms, typically with a bivariate normal error distribution. The factorised expression in the mechanics panel omits this term and corresponds to the independent-error special case.

Formula
p(Y,D|Z,\theta) = \prod_i p(Y_i|D_i,Z_i,\beta,\sigma_\varepsilon)\,p(D_i|Z_i,\pi,\sigma_\nu)
4

Priors are placed on the structural coefficients, the error variances and, in a full model, the correlation ρ between the error terms. A common specification uses normal priors with mean zero and wide variance for the coefficients, positive-support priors such as half-Cauchy or inverse-gamma for the standard deviations, and a prior for ρ that respects its bounds on (-1, 1). These are conventional defaults rather than requirements. Informative priors can encode theoretical bounds on the causal effect or prior evidence on instrument strength. Whatever prior is chosen must be stated, and results should be checked under alternative priors, since the posterior can depend heavily on the prior when the instrument is weak.

5

The posterior distribution of the causal parameter is usually obtained by Markov chain Monte Carlo (MCMC), with closed forms possible only in simple conjugate cases. Posterior means, credible intervals and tail probabilities then take the place of point estimates, confidence intervals and p-values. Before the summaries are interpreted, check convergence across several chains, the burn-in period, the potential scale reduction statistic (R-hat, close to 1), and the effective sample size.

Formula
p(\beta|Y,D,Z) \propto p(Y,D|Z,\beta,\pi,\sigma)\,p(\beta,\pi,\sigma)

Common pitfalls

  • Reading a wide posterior as evidence that the instrument is valid. The width may come from weak relevance, and validity is a separate design question.
  • Defending an instrument by saying the Bayesian analysis accounts for uncertainty. Relevance and exclusion must be argued from subject-matter knowledge.
  • Skipping the first-stage check. A posterior for π₁ concentrated near zero signals a weak-instrument problem that the outcome summary alone will not show.
  • Setting informative priors without stating them or testing sensitivity, so that the posterior mainly reflects the prior.

Frequently asked questions

How does Bayesian IV differ from classical 2SLS?

2SLS estimates the two stages with OLS and reports asymptotic standard errors. Bayesian IV writes the equations as a likelihood, adds priors, and reports a posterior distribution. The practical difference shows most with weak instruments or small samples, where the Bayesian posterior carries the extra uncertainty that the 2SLS standard errors may understate.

What makes an instrument valid?

Two conditions: relevance (the instrument must be correlated with the endogenous treatment, which can be checked in the first stage) and exclusion (the instrument must affect the outcome only through the treatment). The first is testable; the second is not and must be justified on theoretical or institutional grounds.

How do I choose priors?

State the prior family for every parameter and give a reason for it. Weakly informative priors are a common starting point when reliable prior information is unavailable. If you have theoretical bounds on the effect or evidence on instrument strength, you can encode them in the prior. Check how the posterior changes under alternative priors, especially when the instrument is weak.

Can I use Bayesian IV with binary or count outcomes?

The model described here is linear and normal. Binary or count outcomes, or a binary treatment, require a separate joint structural model with its own specification of the error correlation and its own identification assumptions, such as probit- or Poisson-type systems. MCMC can estimate such models, but they cannot be obtained by swapping the likelihood alone, and the exclusion argument still needs justification.

When should I stick with classical 2SLS instead?

When you have a large sample, a demonstrably strong instrument, and no useful prior information, classical 2SLS is simpler and gives nearly equivalent answers. The Bayesian approach adds the most value in small samples, weak-instrument settings, or when prior knowledge is genuinely informative.

Related methods

Sources

  1. Kleibergen, F., & Zivot, E. (2003). Bayesian and classical approaches to instrumental variable regression. Journal of Econometrics, 114(1), 29-72.

    Open DOI reference
  2. Lancaster, T. (2004). An Introduction to Modern Bayesian Econometrics. Blackwell Publishing.

    ISBN: 978-1405117203