test_null_theta_ctree {tehtuner} | R Documentation |
Fits a conditional inference tree with minimal test statistic theta
and tests if the tree has more than one terminal node.
test_null_theta_ctree(theta, z, data, Trt, Y)
theta |
a positive double |
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 |
a boolean. True
if theta
is large enough to give a null
conditional inference tree. False
otherwise.