vt2_ctree {tehtuner}R Documentation

Estimate the CATE using a conditional inference tree for Step 2

Description

Estimate the CATE using a conditional inference tree for Step 2

Usage

vt2_ctree(z, data, Trt, Y, theta)

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 data contains the treatment indicators.

Y

a string specifying the name of the column of data contains the response.

theta

the value of the test statistic that must be exceeded in order to implement a split (mincriterion)

Value

An object of class BinaryTree-class. See BinaryTree-class.

See Also

Other VT Step 2 functions: vt2_classtree(), vt2_lasso(), vt2_rtree()


[Package tehtuner version 0.3.0 Index]