
Doubly robust average treatment effect on the controls (ATC)
Source:R/otis_causal.R
morie_otis_atc.Rd\(E[Y(1) - Y(0) \mid D = 0]\) from the cross-fitted nuisances of
morie_otis_irm_dml (logistic propensity, OLS outcome models
per arm): the score
\([(1-D)(\mu_1 - \mu_0) + D (1-e)/e (Y - \mu_1) - (1-D)(Y - \mu_0)] / P(D=0)\)
averaged, with the iid standard error of its mean.
Arguments
- df
A data frame containing
treatment,outcome, and allcovariates.- treatment
Name of the binary treatment column.
- outcome
Name of the (numeric) outcome column.
- covariates
Character vector of covariate names.
- n_folds
Number of cross-fitting folds (default 5).
- seed
Integer seed for the fold partition (default 123).
- eps
Propensity clip bound (default 0.02).