cumulative_tscore: calculate cumulative ATE t-score for each potential split

Description Usage Arguments Value

View source: R/RcppExports.R

Description

calculate cumulative ATE t-score for each potential split

Usage

1
cumulative_tscore(r, t, x, ate = 0, minbucket = 100L)

Arguments

r

response vector

t

indicator variable for treatment

x

numeric predictor vector (sorted low to high)

ate

average treatment effect to test

minbucket

only consider splits with at least minbucket obs

Value

matrix of left / right daughter tscores


molson2/subgroupTree documentation built on Dec. 3, 2019, 10:04 p.m.