test_null_theta_ctree {tehtuner}R Documentation

Test if a Value Gives a Null Conditional Inference Tree

Description

Fits a conditional inference tree with minimal test statistic theta and tests if the tree has more than one terminal node.

Usage

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

Arguments

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

Y

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

Value

a boolean. True if theta is large enough to give a null conditional inference tree. False otherwise.


[Package tehtuner version 0.3.0 Index]