vt1_super | R Documentation |
Estimate the CATE Using Super Learner for Step 1 of Virtual Twins
vt1_super(data, Trt, Y, SL.library, ...)
data |
a data frame containing a response, binary treatment indicators, and covariates. |
Trt |
a string specifying the name of the column of |
Y |
a string specifying the name of the column of |
SL.library |
Either a character vector of prediction algorithms or a
list containing character vector. See |
... |
additional arguments to |
Estimated CATEs for each subject in data
.
Other VT Step 1 functions:
vt1_lasso()
,
vt1_mars()
,
vt1_rf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.