View source: R/estimate.causalTree.R
estimate.causalTree | R Documentation |
estimate causal Tree
estimate.causalTree(
object,
data,
weights,
treatment,
na.action = na.causalTree
)
object |
A tree-structured fit |
data |
New data frame to be used for estimating effects within leaves. |
weights |
optional case weights. |
treatment |
The treatment status of observations in the new dataframe, where 1 represents treated and 0 represents control. |
na.action |
the default action deletes all observations for which
|
When the leaf contains only treated or control cases, the function will trace back to the leaf's parent node recursively until the parent can be used to compute causal effect. Please see Athey and Imbens Machine Learning Methods for Estimating Heterogeneous Causal Effects (2015) for details.
Intermediate estimation results for an causalTree
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.