Description Usage Arguments Value
Estimation of the conditional average treatment effect (CATE), either within
particular folds induced by cross-validation sample-splitting or upon the
full data. In the latter case, a copy of the full data is made (which is NOT
recommended). Whether the CATE is estimated within folds or not is specified
by the split_type
argument of est_cate
. Estimation of
the CATE is performed by computing the conditional mean of the doubly robust
transformed pseudo-outcome on the specified set of segmenation covariates.
1 | cv_fit_cate(fold = NULL, data_for_cate, segment_by, cate_learner)
|
fold |
An object specifying the cross-validation folds into which the
observations fall, as generated by |
data_for_cate |
A |
segment_by |
A |
cate_learner |
An instantiated learner object, with class inheriting
from |
A list
(as required by cross_validate
)
containing a trained sl3 learner object in its first slot and the
predicted values of the CATE in its second slot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.