vt2_classtree {tehtuner} | R Documentation |
Estimate the CATE using a classification tree for Step 2
Description
Estimate the CATE using a classification tree for Step 2
Usage
vt2_classtree(z, data, Trt, Y, theta, threshold)
Arguments
z |
a numeric vector of estimated CATEs from Step 1 |
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 |
theta |
tree complexity parameter ( |
threshold |
for " |
Value
an object of class rpart
. See
rpart.object
.
See Also
Other VT Step 2 functions:
vt2_ctree()
,
vt2_lasso()
,
vt2_rtree()
[Package tehtuner version 0.3.0 Index]