Description Usage Arguments Value References Examples
View source: R/explain_forest.R
explain_forest
Fits a linear regression to the estimated heterogeneous effects to assess the determinants of heterogeneity. Uses augmented inverse probability weighting (AIPW) to de-bias the scores.
1 2 3 4 5 6 7 8 |
forest |
A trained CEA forest. |
X |
The variables to include in the model. If NULL, and intercept only model is run, which gives the ATE. |
alpha |
The desired significance level, defaults to 0.05. |
WTP |
The WTP for the net monetary benefit forest. Uses the WTP supplied to the CEA forest if NULL. |
robust.se |
If robust (sandwich) standard errors are desired. Defaults to TRUE. |
subset |
A specified subset of the data to compute the regression on. |
Returns the results from linear regression(s) on the estimated heterogeneous effects with supplied covariates with asymptotically valid standard errors.
Chernozhukov, Victor, and Vira Semenova. "Simultaneous inference for Best Linear Predictor of the Conditional Average Treatment Effect and other structural functions." arXiv preprint arXiv:1702.06240 (2017).
1 2 3 4 | ## Not run:
To be added...
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.