liveBook · Manning

Average treatment effect estimation

As explained in Causal Inference for Data Science

The average treatment effect is the population-average difference in outcomes that would result from two alternative treatments or interventions.

Average treatment effect (ATE) estimation asks a practical causal question: across a population, how much would the average outcome change if everyone received treatment A rather than treatment B? It is not the same as predicting outcomes or comparing whatever groups happened to receive each option. For a binary treatment X and outcome Y, the target is E[Y|do(X=1)] − E[Y|do(X=0)]: the difference between average outcomes under two interventions. section 1.3.4 section 4.2.4

In a randomized A/B test or randomized controlled trial, the difference in group averages estimates the ATE because random assignment makes groups comparable when the sample is sufficiently large. A recovery rate of 80% under a new treatment versus 70% under an old one suggests an estimated ATE of 10 percentage points. section 1.3.4 section 1.8

Observational comparisons need more care. If age affects both medication choice and recovery, age is a confounder: a raw difference in treated and untreated averages can mix the treatment effect with age differences. Causal diagrams help identify this shared cause and determine whether adjustment is appropriate. section 1.4.2 section 2.0

Figure 1.6 Apart from how treatment may affect recovery, there’s a third element affecting both simultaneously. These elements are called confounders. For instance, in this example, age is a confounder.
figure

Use the diagram to spot the key threat to a raw ATE comparison: age points to both treatment and recovery, so it can distort their observed association. section 1.4.2

Common routes to estimating an ATE are:

  • Adjust for measured confounders with the adjustment formula to estimate outcomes under each intervention, then compare their expected values. section 2.2.5
  • Use an S-learner or T-learner to model outcomes under each treatment; cross-fitting can help limit overfitting. section 4.2.4
  • Estimate propensity scores, compare cases with similar treatment probabilities, and verify positivity through overlap before calculating effects. section 5.1.4 section 5.3.3

A recommendation can predict without causing

A recommender may correctly predict that a customer will buy bread, yet have no causal effect if the customer would buy it anyway. An A/B test comparing an app with recommendations against one without them estimates whether recommendations change sales; in the extreme no-influence case, the ATE is zero. section 3.3.1

ATE estimation depends on the causal setup. Propensity-score methods assume relevant confounders have been included, and positivity requires comparable treated and control cases. With no overlap, an ATE cannot be calculated; with partial overlap, it applies only to the common-support population. section 5.3.4 section 5.3.3

How Causal Inference for Data Science covers it

How deep it goes
Develops formulas, confounding adjustment, propensity-score methods, machine-learning estimators, and potential-outcomes notation; defers some derivations to appendices.
Examples
Uses recovery under old versus new treatments, age-confounded medication decisions, recommender systems, surgery, and right-heart catheterization data.
What it assumes
Introduces treatment, outcome, and confounder roles from simple examples, then assumes causal graphs and basic probability notation for formal estimators.
What you can do after
Apply it via adjustment formulas, propensity scores, and T-learners while checking confounding, overlap, and overfitting.
How it connects
Connects ATE estimation to randomized controlled trials, A/B testing, confounding, DAGs, adjustment formulas, propensity scores, and potential outcomes.

Also explained in

Compare how 2 books explain average treatment effect estimation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Causal Inference for Data Science. The section links point to the parts of the book it draws on.