get_cate | R Documentation |
estimate cate in terminal leafs
get_cate(tree, data, treat, outcome)
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. |
data.frame of terminal leafs with cate estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.