σ StatsDoge Causal inference workflows

@grf

Generalized Random Forests · community showcase

Unofficial community showcase of the grf package by grf-labs. Not affiliated with the authors — all figures and credit belong to them. Source: github.com/grf-labs/grf

10 workflows

Workflows

Sourcegrf
Heterogeneous

Qini curves: automatic cost-benefit analysis

From CATEs to a budgeted treatment policy: causal forest → DR scores → cost matrix → maq Qini curve → pick the budget.

@grf 8 710 views
Sourcegrf
Heterogeneous

Smooth signals with a local linear forest

When the conditional mean is smooth: regression forest baseline → ll_regression_forest → tuning → diagnostics.

@grf 9 807 views
Sourcegrf
Heterogeneous

Cross-fold validation of heterogeneity

K-fold cross-fitted CATEs → RATE on out-of-fold priorities → honest verdict on heterogeneity strength.

@grf 10 803 views
Sourcegrf
Heterogeneous

Evaluating a causal forest fit

Did the forest actually capture treatment-effect heterogeneity? Calibration → variable importance → BLP → omnibus tests.

@grf 11 854 views
Sourcegrf
Heterogeneous

An introduction to GRF (getting started)

A minimal first-contact recipe: regression forest, quantile forest, and a causal forest on the same data.

@grf 12 1k views
Sourcegrf
UnconfoundedHeterogeneous

Estimating ATEs on a new target population

Train a causal forest on the source sample → reweight AIPW to a target population → report transported ATE.

@grf 8 785 views
Sourcegrf
Heterogeneous

Policy learning via optimal decision trees

Causal forest → doubly-robust scores → policytree → evaluate policy value → plot the tree.

@grf 9 686 views
Sourcegrf
HeterogeneousSurvival

Causal forest with time-to-event data (survival)

Censoring check → causal survival forest → RMST-scale AIPW ATE → calibration → report.

@grf 10 907 views
Sourcegrf
Heterogeneous

Assessing heterogeneity with RATE (AUTOC & Qini)

Causal forest → train/eval split → RATE with both AUTOC and Qini → TOC plot.

@grf 11 1k views
Sourcegrf
UnconfoundedHeterogeneous

Heterogeneous treatment effects with a causal forest (GRF recipe)

The full GRF HTE playbook: cross-fit nuisances → causal forest → calibration → AIPW ATE → BLP → RATE → policy.

@grf 16 1.1k views