policytree
policytree copied to clipboard
Policy learning via doubly robust empirical welfare maximization over trees
Thank you for the package! I'm trying to estimate double robust scores for a binary outcome variable. However, when using double_robust_scores(), I get gamma values outside of 0-1. I can...
The below post is more of a methodological question than a technical one. Based on what I've gathered, the _honest causal forest_ and _policy tree_ are two distinct yet related...
[tinytest](https://github.com/markvanderloo/tinytest) is a zero-dependency test suite alternative to the dependency heavy tidyverse package `testthat`.
All the theory references for policytree are for adaptive trees, but some users may want to construct "honest" trees by fitting in one sample, then repopulating with the argmax in...
I found it impossible to stop a running policy_tree without crashing R. You could consider to call Rcpp::checkUserInterrupt() from time to time in the C++ functions or something related.
policy_tree() can't scale to my data size (100000 obs, 200 dimensional state/covariate, 20 actions) but multi_causal_forest() can scale, can I just use argmax of multi-action treatment effect estimation as a...
Add `penalized_policy_tree(X, Gamma1, Gamma2, penalty.type = c("sum", "ratio"), lambda = 1, etc...)`  $\Gamma_{2,i}$ = 0 in a) is what `policy_tree` does, this PR...
In [this tutorial](https://bookdown.org/halflearned/tutorial/pl1.html#using-policytree), it is described how one can evaluate a policy tree which is generated in an _experimental_ setting: `# Only valid for experimental setting!` `# predicting pi(X[i]) for...
I notice much variation in the variables that are selected by the policytree, depending on the size of the random training subset that is specified, in this step: #### Fit...