Package: RFmstate 0.1.2

Yiqing Chen
RFmstate: Random Forest-Based Multistate Survival Analysis
Fits cause-specific random survival forests for flexible multistate survival analysis with covariate-adjusted transition probabilities computed via product-integral. State transitions are modeled by random forests. Subject-specific transition probability matrices are assembled from predicted cumulative hazards using the product-integral formula. Also provides a standalone Aalen-Johansen nonparametric estimator as a covariate-free baseline. Supports arbitrary state spaces with any number of states (three or more) and any set of allowed transitions, applicable to clinical trials, disease progression, reliability engineering, and other domains where subjects move among discrete states over time. Provides per-transition feature importance, bias-variance diagnostics, and comprehensive visualizations. Handles right censoring and competing transitions. Methods are described in Ishwaran et al. (2008) <doi:10.1214/08-AOAS169> for random survival forests, Putter et al. (2007) <doi:10.1002/sim.2712> for multistate competing risks decomposition, and Aalen and Johansen (1978) <https://www.jstor.org/stable/4615704> for the nonparametric estimator.
Authors:
RFmstate_0.1.2.tar.gz
RFmstate_0.1.2.tar.gz(r-4.7-any)RFmstate_0.1.2.tar.gz(r-4.6-any)
RFmstate_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
RFmstate/json (API)
| # Install 'RFmstate' in R: |
| install.packages('RFmstate', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:06f3953514. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 141 | ||
| source / vignettes | OK | 213 | ||
| linux-release-x86_64 | OK | 129 | ||
| wasm-release | OK | 109 |
Exports:aalen_johansenclinical_statescompute_trans_probdefine_multistatediagnoseimportanceplot_transition_diagramprepare_datarfmstatesim_clinical_data
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| RFmstate: Random Forest-Based Multistate Survival Analysis | RFmstate-package RFmstate |
| Aalen-Johansen Nonparametric Estimator | aalen_johansen |
| Create Clinical Trial Multistate Structure | clinical_states |
| Compute Transition Probability Matrix via Product-Integral | compute_trans_prob |
| Define Multistate Structure | define_multistate |
| Diagnostics for Random Forest Multistate Model | diagnose diagnose.rfmstate |
| Feature Importance per Transition | importance |
| Plot Transition Diagram | plot_transition_diagram |
| Plot Aalen-Johansen Estimates | plot.aj_estimate |
| Plot Diagnostics | plot.rfmstate_diag |
| Plot Feature Importance | plot.rfmstate_importance |
| Plot RF Multistate Predictions | plot.rfmstate_pred |
| Predict Transition Probabilities for New Data | predict.rfmstate |
| Prepare Data for Multistate Analysis | prepare_data |
| Fit Random Forest Multistate Model | rfmstate |
| Simulate Clinical Trial Multistate Data | sim_clinical_data |
| Summary of Random Forest Multistate Model | summary.rfmstate |