Skip to contents

Overview

psborrow2 is an R package that for conducting Bayesian Dynamic Borrowing (BDB) analyses and simulation studies.1 2 psborrow2 has two main objectives:

  1. Facilitate BDB analyses. psborrow2 has a user-friendly interface for conducting BDB analyses that handles the computationally-difficult MCMC sampling on behalf of the user.

  2. Facilitate simulation studies of BDB. psborrow2 includes a framework to compare different trial and BDB characteristics in a unified way in simulation studies to inform trial design.

Background

psborrow2 is the successor to psborrow. psborrow is still freely available on CRAN with the same validated functionality; however, the package is not actively developed. Major updates in psborrow2 include:

  • New, more flexible user interface
  • New MCMC software (STAN)
  • Expanded functionality

The name psborrow combines propensity scoring (ps) and Bayesian dynamic borrowing. As the name implies, this package can be used to combine dynamic borrowing and propensity-score adjustment/weighting methods.

Installation

You can install the latest version of psborrow2 with:

remotes::install_github("Genentech/psborrow2")

Please note that this package requires cmdstanr.

Vignettes

To learn how to use the psborrow2 R package, refer to the package vignettes:

browseVignettes("psborrow2")

Bibliography