Estimation of the Average Treatment Effect among Responders
RATE(
response,
post.treatment,
treatment,
data,
M = 5,
pr.treatment,
treatment.level,
preprocess = NULL,
efficient = TRUE,
...
)estimate object
(formula or learner) Response model. A formula (e.g.,
Y ~ D*A) is wrapped in learner_glm with a Gaussian family.
(formula or learner) Post treatment marker model. A
formula (e.g., D ~ W) is wrapped in learner_glm with a binomial family.
Treatment formula (e.g, A ~ 1)
data.frame
Number of folds in cross-fitting (M=1 is no cross-fitting)
(optional) Randomization probability of treatment.
Treatment level in binary treatment (default 1)
(optional) Data preprocessing function
If TRUE, the estimate will be efficient. If FALSE, the estimate will be a simple plug-in estimate.
Additional arguments to lower level functions
Andreas Nordland, Klaus K. Holst