Description Usage Arguments Value
Generation of the doubly robust pseudo-outcome required for estimation of
the conditional average treatment effect (CATE) based upon a transformation
using the form of the efficient influence function (EIF; a key quantity in
semiparametric statistics) of the average treatment effect. Creation of the
pseudo-outcome happens within a particular cross-validation fold; however,
depending on the value of the argument split_type
either the CATE is
estimated by a call to cv_fit_cate
or a placeholder column for
the CATE estimate is generated. In the latter case, actual estimation of the
CATE is deferred to an optional step in est_cate
, in which the
CATE is estimated on the full data.
1 2 | cv_dr_transform(fold, data_est_spec, ps_learner, or_learner, cate_learner,
split_type)
|
fold |
An object specifying the cross-validation folds into which the
observations fall, as generated by |
data_est_spec |
An input |
ps_learner |
An instantiated learner object, with class inheriting from
|
or_learner |
An instantiated learner object, with class inheriting from
|
cate_learner |
An instantiated learner object, with class inheriting
from |
split_type |
A |
A list
(as required by cross_validate
)
containing a data.table
of the validation sample
for the given cross-validation fold, augmented with additional columns that
specify the nuisance parameter estimates, the doubly robust pseudo-outcome,
and (possibly) the estimated CATE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.