construct_pseudo_outcomes {tidyhte} | R Documentation |
Construct Pseudo-outcomes
Description
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.
Usage
construct_pseudo_outcomes(data, outcome, treatment, type = "dr")
Arguments
data |
dataframe (already prepared with |
outcome |
Unquoted name of outcome variable. |
treatment |
Unquoted name of treatment variable. |
type |
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. |
Details
Taking averages of these pseudo-outcomes (or fitting a model to them) will approximate averages (or models) of the underlying treatment effect.
See Also
attach_config()
, make_splits()
, produce_plugin_estimates()
, estimate_QoI()