Skip to content

AstraZeneca/RBSB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maturity level-0

Robust Bayesian Sequential Borrowing (RBSB)

Code accompanying the paper on Robust Bayesian Sequential Borrowing (RBSB). The repo contains the simulation study and the case study analysis.

Paper: [TODO: add link once published]


Repository Structure

  • R/funcs_help.R — helper functions for data generation, scenario creation, and result extraction.
  • R/funcs_borrowing.R — core functions for each borrowing method (Stand Alone, Historical Pooling, Adjacent Borrowing, RBSB).
  • R/simulations_for_paper.R — runs all simulation scenarios and saves results to data/.
  • data/ — simulation results as CSV files.

Getting Started

1. Install Required Packages

install.packages(c("MASS", "RBesT", "dplyr", "tidyr", "parallel", "xtable"))

2. Run the simulations

source("R/simulations_for_paper.R")

Results are saved to data/ as CSV files.

About

R code for the Robust Bayesian Sequential Borrowing (RBSB) simulation study and case study analysis accompanying the publication.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages