Package: causalDT 1.0.0
causalDT: Causal Distillation Trees
Causal Distillation Tree (CDT) is a novel machine learning method for estimating interpretable subgroups with heterogeneous treatment effects. CDT allows researchers to fit any machine learning model (or metalearner) to estimate heterogeneous treatment effects for each individual, and then "distills" these predicted heterogeneous treatment effects into interpretable subgroups by fitting an ordinary decision tree to predict the previously-estimated heterogeneous treatment effects. This package provides tools to estimate causal distillation trees (CDT), as detailed in Huang, Tang, and Kenney (2025) <doi:10.48550/arXiv.2502.07275>.
Authors:
causalDT_1.0.0.tar.gz
causalDT_1.0.0.zip(r-4.7)causalDT_1.0.0.zip(r-4.6)causalDT_1.0.0.zip(r-4.5)
causalDT_1.0.0.tgz(r-4.6-x86_64)causalDT_1.0.0.tgz(r-4.6-arm64)causalDT_1.0.0.tgz(r-4.5-x86_64)causalDT_1.0.0.tgz(r-4.5-arm64)
causalDT_1.0.0.tar.gz(r-4.7-arm64)causalDT_1.0.0.tar.gz(r-4.7-x86_64)causalDT_1.0.0.tar.gz(r-4.6-arm64)causalDT_1.0.0.tar.gz(r-4.6-x86_64)
causalDT_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
causalDT/json (API)
| # Install 'causalDT' in R: |
| install.packages('causalDT', repos = c('https://tiffanymtang.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tiffanymtang/causaldt/issues
Pkgdown/docs site:https://tiffanymtang.github.io
Last updated from:2a58e5a5fe. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 237 | ||
| linux-devel-x86_64 | OK | 253 | ||
| source / vignettes | OK | 214 | ||
| linux-release-arm64 | OK | 236 | ||
| linux-release-x86_64 | OK | 261 | ||
| macos-release-arm64 | OK | 130 | ||
| macos-release-x86_64 | OK | 438 | ||
| macos-oldrel-arm64 | OK | 153 | ||
| macos-oldrel-x86_64 | OK | 481 | ||
| windows-devel | OK | 248 | ||
| windows-release | OK | 164 | ||
| windows-oldrel | OK | 312 | ||
| wasm-release | OK | 132 |
Exports:bcfcausal_forestcausalDTestimate_group_catesevaluate_subgroup_stabilityget_rpart_pathsget_rpart_tree_infojaccardSSIplot_cdtplot_jaccardpredict_bcfpredict_causal_forestrboostrkernrlassorlearner_teacherstudent_rpart
Dependencies:backportsbase64encbcfbslibcachemcheckmatecliclustercodacodetoolscolorspacecpp11data.tableDiceKrigingdigestdoParalleldplyrevaluatefarverfastmapfontawesomeforeachforeignFormulafsgenericsggpartyggplot2gluegrfgridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsinumisobanditeratorsjquerylibjsonliteknitrlabelinglatticelibcoinlifecyclelmtestmagrittrMatrixmatrixStatsmemoisemimemvtnormnnetpartykitpillarpkgconfigpurrrR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrlangrmarkdownrpartrstudioapiS7sandwichsassscalesstringistringrsurvivaltibbletidyselecttinytexutf8vctrsviridisLitewithrxfunyamlzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Causal Distillation Trees (CDT) | causalDT |
| Subgroup CATE estimation. | estimate_group_cates |
| Subgroup stability diagnostics | evaluate_subgroup_stability |
| Get decision paths from an rpart model. | get_rpart_paths |
| Get split information from an rpart model. | get_rpart_tree_info |
| Jaccard subgroup similarity index | jaccardSSI |
| Plot causal distillation tree object | plot_cdt |
| Plot Jaccard subgroup similarity index (SSI) for causal distillation tree objects | plot_jaccard |
| Rlearner teacher model wrapper for causal distillation trees | rlearner_teacher |
| Rpart wrapper for causal distillation trees. | student_rpart |
