construct_pseudo_outcomes
takes a dataset which has been prepared
with plugin estimators of nuisance parameters and transforms these into
a "pseudo-outcome": an unbiased estimator of the conditional average
treatment effect under exogeneity.
construct_pseudo_outcomes(data, outcome, treatment, type = "dr")
dataframe (already prepared with attach_config
, make_splits
,
and produce_plugin_estimates
)
Unquoted name of outcome variable.
Unquoted name of treatment variable.
String representing how to construct the pseudo-outcome. Valid values are "dr" (the default), "ipw" and "plugin". See "Details" for more discussion of these options.
Taking averages of these pseudo-outcomes (or fitting a model to them) will approximate averages (or models) of the underlying treatment effect.