forestsearch: Exploratory Subgroup Identification in Survival and GLM Outcomes
Implements statistical methods for exploratory subgroup
identification in clinical trials. Provides tools for identifying patient
subgroups with differential treatment effects using machine learning
approaches including Generalized Random Forests (GRF), LASSO
regularization, and exhaustive combinatorial search algorithms. Supports
survival endpoints (Cox proportional hazards), binary outcomes (log odds
ratio, log relative risk, risk difference), continuous outcomes (mean
difference), and count / rate outcomes (log incidence rate ratio via
Poisson, quasi-Poisson, or negative-binomial GLMs with optional
person-time offset). Features bootstrap bias correction using
infinitesimal jackknife methods to address selection bias in post-hoc
analyses. Designed for clinical researchers conducting exploratory
subgroup analyses in randomized controlled trials, particularly for
multi-regional clinical trials (MRCT) requiring regional consistency
evaluation. Methods are described in Leon et al. (2024)
<doi:10.1002/sim.10163>.
Post-selection inference for the identified subgroup follows León and
Anderson (2026) <doi:10.48550/arXiv.2609.38361>.
The search methodology is given in León and Anderson (2026)
<doi:10.48550/arXiv.2610.28379>.
| Version: |
0.5.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
data.table, doFuture, dplyr, foreach, future, future.apply, future.callr, ggplot2, glmnet (≥ 5.0), grf, gt, Matrix, mvtnorm, parallel, patchwork, policytree, progressr, randomForest, rlang, stats, survival (≥ 3.5-8), utils, weightedsurv (≥ 0.1.0) |
| Suggests: |
DiagrammeR, doRNG, htmltools, MASS, sandwich, tidyr, forestploter (≥ 1.2.0), cubature, svglite, knitr, rmarkdown, katex, latentcor, quarto, speff2trial, testthat (≥ 3.0.0) |
| Published: |
2026-11-15 |
| DOI: |
10.32614/CRAN.package.forestsearch |
| Author: |
Larry Leon [aut, cre] |
| Maintainer: |
Larry Leon <larry.leon.05 at post.harvard.edu> |
| BugReports: |
https://github.com/larry-leon/forestsearch/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/larry-leon/forestsearch,
https://larry-leon.github.io/forestsearch/ |
| NeedsCompilation: |
no |
| SystemRequirements: |
Quarto command line tools
(https://github.com/quarto-dev/quarto-cli) |
| Materials: |
README, NEWS |
| CRAN checks: |
forestsearch results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=forestsearch
to link to this page.