Bayesian Dynamic Borrowing Analysis and Simulation

Bayesian dynamic borrowing is an approach to incorporating external data to supplement a randomized, controlled trial analysis in which external data are incorporated in a dynamic way (e.g., based on similarity of outcomes); see Viele 2013 for an overview. This package implements the hierarchical commensurate prior approach to dynamic borrowing as described in Hobbes 2011 . There are three main functionalities. First, 'psborrow2' provides a user-friendly interface for applying dynamic borrowing on the study results handles the Markov Chain Monte Carlo sampling on behalf of the user. Second, 'psborrow2' provides a simulation framework to compare different borrowing parameters (e.g. full borrowing, no borrowing, dynamic borrowing) and other trial and borrowing characteristics (e.g. sample size, covariates) in a unified way. Third, 'psborrow2' provides a set of functions to generate data for simulation studies, and also allows the user to specify their own data generation process. This package is designed to use the sampling functions from 'cmdstanr' which can be installed from < https://stan-dev.r-universe.dev>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("psborrow2")

0.0.5.1 by Matt Secrest, 5 months ago


https://github.com/Genentech/psborrow2, https://genentech.github.io/psborrow2/index.html


Report a bug at https://github.com/Genentech/psborrow2/issues


Browse source code at https://github.com/cran/psborrow2


Authors: Matt Secrest [aut, cre] (ORCID: , Isaac Gravestock [aut] , Craig Gower-Page [ctb] , Manoj Khanal [ctb] , Mingyang Shan [ctb] , Kexin Jin [ctb] , Zhi Yang [ctb] , Genentech , Inc. [cph, fnd]


Documentation:   PDF Manual  


Apache License 2.0 license


Imports checkmate, glue, methods, graphics, posterior, generics, Matrix, mvtnorm, future, simsurv

Suggests cmdstanr, survival, flexsurv, eha, testthat, usethis, vdiffr, tibble, xml2, knitr, rmarkdown, bayesplot, matrixcalc, WeightIt, MatchIt, BayesPPD, ggsurvfit, gbm, ggplot2, cobalt, table1, gt, gtsummary

System requirements: cmdstan


See at CRAN