Package: historicalborrow 1.1.1

William Michael Landau

historicalborrow: Non-Longitudinal Bayesian Historical Borrowing Models

Historical borrowing in clinical trials can improve precision and operating characteristics. This package supports a hierarchical model and a mixture model to borrow historical control data from other studies to better characterize the control response of the current study. It also quantifies the amount of borrowing through benchmark models (independent and pooled). Some of the methods are discussed by Viele et al. (2013) <doi:10.1002/pst.1589>.

Authors:William Michael Landau [aut, cre], Albert Man [rev], Eli Lilly and Company [cph]

historicalborrow_1.1.1.tar.gz
historicalborrow_1.1.1.zip(r-4.7-any)historicalborrow_1.1.1.zip(r-4.6-any)
historicalborrow_1.1.1.tar.gz(r-4.7-any)historicalborrow_1.1.1.tar.gz(r-4.6-any)
historicalborrow_1.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
historicalborrow/json (API)

# Install 'historicalborrow' in R:
install.packages('historicalborrow', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/wlandau/historicalborrow/issues

Pkgdown/docs site:https://wlandau.github.io

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

jagscpp

3.00 score 10 scripts 408 downloads 18 exports 41 dependencies

Last updated from:af074ef46f. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK162
source / vignettesOK264
linux-releaseOK168
windows-develOK132
windows-releaseOK133
wasm-releaseOK100

Exports:hb_convergencehb_datahb_esshb_mcmc_hierarchicalhb_mcmc_independenthb_mcmc_mixturehb_mcmc_mixture_hyperparametershb_mcmc_poolhb_metricshb_plot_borrowhb_plot_grouphb_plot_tauhb_s_tauhb_sim_hierarchicalhb_sim_independenthb_sim_mixturehb_sim_poolhb_summary

Dependencies:abindbackportscheckmateclicodacpp11distributionaldplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixmatrixStatsnumDerivpillarpkgconfigposteriorpurrrR6RColorBrewerrjagsrlangS7scalesstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr

Methods
Models | Common notation | Model matrices | Baseline covariates | Post-processing | Mixture model | Hierarchical model | Independent model | Pooled model | Simple model | Borrowing metrics | Effective sample size (ESS) | Precision ratio (hierarchical model only) | Variance shift ratio | Mean shift ratio (legacy) | Posterior mixture proportions (mixture model only) | References

Last update: 2026-02-09
Started: 2022-09-13

Usage
Data | Models | Convergence | Results | Borrowing metrics | Plots

Last update: 2024-09-11
Started: 2022-09-13