View source: R/generate_rules.R
generate_rules | R Documentation |
Generates a list of rules characterizing the heterogeneity in the Conditional Average Treatment Effect (CATE) by tree-based methods (i.e., random forest).
generate_rules(X, ite, ntrees, node_size, max_rules, max_depth)
X |
A covariate matrix. |
ite |
A vector of estimated ITE. |
ntrees |
The number of decision trees for the random forest algorithm. |
node_size |
Minimum size of the trees' terminal nodes. |
max_rules |
Maximum number of candidate decision rules. |
max_depth |
Maximum rules length. |
A list of rules (names).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.