get_cate: estimate cate in terminal leafs

View source: R/get_cate.R

get_cateR Documentation

estimate cate in terminal leafs

Description

estimate cate in terminal leafs

Usage

get_cate(tree, data, treat, outcome)

Arguments

tree

data.frame with tree splitting structure.

data

data.frame of data to estimate cate with.

treat

name of the treatment indicator variable as character vector (treatment indicator must be binary numeric 1 == treatment, 0 == control with no NA).

outcome

name of the outcome variable as character vector.

Value

data.frame of terminal leafs with cate estimates.


till-tietz/rcf documentation built on May 7, 2023, 10:23 p.m.