Skip to content
StatsOtter A workspace for causal thinking
Method library WORKFLOW / 006
Research workflow/6 steps

Assessing heterogeneity with RATE (AUTOC & Qini)

Source grf — Athey, Tibshirani & Wager
01
The method workspace

Follow the analysis.

Select a node to explore the method

Method mapInput → 6 steps → output
START WITHInput data
ARRIVE ATResults
Read step 01
Inside the methodReasoning, equations & implementation
Step 1 of 6
01
Data prep

[GRF] Regression forest

Data preparation — shapes the raw inputs into what the estimator expects.

What happens here

Cross-fit nuisances.

Formula
\hat\mu(x)=\mathbb{E}\!\left[\,Y\mid X=x\,\right]
The estimator

Regression forest — Honest non-parametric regression for E[Y|X], with out-of-bag predictions and pointwise CIs.

Reads fromNot specified Feeds into#2
Key code
rf <- regression_forest(X, Y)
Y.hat <- predict(rf)$predictions
Discussion on this step (0)
StatsOtterDiscussion starter · Editorial note

Before using this step, make its assumptions and its output explicit. A useful peer note explains what you would check, what could go wrong, or what would change your interpretation.

Questions to explore
  1. Which assumption matters most here, and what evidence could challenge it?
  2. What would you check before passing this output to the next step?

Peer discussion

  • Bring your experience, a question, or a different perspective.
02
Data contract

Inputs & data

A fitted causal forest plus a held-out evaluation sample (X, W, Y).

Show data format & exampleHide example

Format — one row per unit. A covariate matrix X (numeric), a binary treatment W ∈ {0,1}, and an outcome Y.

  X1     X2    X3    W    Y
 0.42  -1.1   0     1   3.10
-0.07   0.6   1     0   1.85
 1.20   0.3   0     1   4.02
03
Read the evidence

Results & interpretation

4 figures Workflow discussion 2
01FigureA sample TOC curve: the average benefit as you treat the highest-ranked fraction of units.
02FigureAUTOC is the shaded area under the TOC — one number for how much heterogeneity you can exploit.
03FigureEvent times in the SPRINT/ACCORD trials, showing the right-censoring the estimator has to handle.
04FigureTOC curves estimated across trials — does the same prioritisation rule transport?

Figures reproduced from grf — Athey, Tibshirani & Wager — unofficial community showcase; all credit to the original authors.

Context & interpretation

The GRF 'Assessing heterogeneity with RATE' tutorial. Fit on one half, evaluate prioritization on the other; report AUTOC (rewards concentrated heterogeneity) and Qini (rewards broad effects) with CIs. Unofficial summary.

Peer notes

Discuss the workflow (2)

  • 3

    Running both AUTOC and Qini side by side is the right move — they answer different targeting questions and disagreeing is informative.

    2

    Yep. If AUTOC fires but Qini doesn't, your benefit is concentrated in a small group.

  • 3

    The independent train/eval split is non-negotiable here. Priorities have to be out-of-sample or RATE is optimistic.

IN THE MARGINS

Peer discussion