Causal inference when treatments are continuous variables

Mohammad Taha Bahadori22 Jul 2022

Problem

Analysts often need the causal effect of a continuous treatment, such as the volume of lemon flavoring in a new drink, not a yes/no change. Confounders influence both the treatment level and the response, so a plain comparison of outcomes across treatment levels is biased. Confounder handling is well studied for binary treatments. For continuous treatments it is far harder and largely understudied. Each unit has uncountably many potential outcomes, one per treatment level, and only one is observed. The goal is a response curve, which maps each treatment level to the outcome.

Example from the article: a soft drink manufacturer wants to test a range of lemon-flavoring amounts, and there are infinitely many volumes between one and two milliliters.

Solution in brief

Propensity weights can be huge for some units and make the estimate unstable. The author's end-to-end balancing (E2B) trains a neural network to output entropy-balanced weights, scoring it on synthetic outcomes whose true response curve is known.

Questions this case answers
  • How to estimate the causal response curve of a continuously varied intervention from observational data when confounders drive both the intervention level and the outcome
  • How to estimate the causal effect of a continuous treatment, such as a dose or amount, from observational data?
  • How to stop extreme propensity weights from making a continuous-treatment estimate unstable?
  • How to estimate a full response curve of an outcome over treatment levels when confounders drive the treatment?

Tools and methods

  • Inverse propensity weighting — the standard way to adjust for confounders with a continuous treatment.
  • Entropy balancing — chooses weights that minimize differences between them (maximizes their entropy) to avoid extreme weights.
  • End-to-end balancing (E2B) — a neural network that learns the weights directly to maximize estimation accuracy.
Continue reading — it's free

Google or a one-time email code. No password.