Description Usage Arguments Value References Examples
View source: R/cea_policy_tree.R
cea_policy_tree
Trains an efficient policy decision tree given a CEA forest (a wrapper for policytree::policy_tree).
1 2 3 4 5 6 7 8 | cea_policy_tree(
forest,
X,
WTP = NULL,
depth = 2,
ci.level = 0.95,
robust.se = FALSE
)
|
forest |
A trained CEA forest. |
X |
A covariate matrix containing variables that are to be used in the policy tree. |
WTP |
Willingness to pay for a one unit increase in the outcome. If NULL, the WTP supplied to the CEA forest is used. |
depth |
The desired depth for the decision tree. |
ci.level |
Desired significance level (for confidence intervals). |
robust.se |
Whether or not robust (sandwich) standard errors are desired. Defaults to FALSE. |
Returns a trained policy tree.
Athey, S., & Wager, S. (2017). Efficient policy learning. arXiv preprint arXiv:1702.02896.
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.