Skip to content

psBayesborrow

1.1.0Package record

Bayesian Information Borrowing with Propensity Score Matching

0packages depend
2.4Kdownloads / year
5.4%test coverage
11/13flavors OK

Overview

About

Hybrid control design is a way to borrow information from external controls to augment concurrent controls in a randomized controlled trial and is expected to overcome the feasibility issue when adequate randomized controlled trials cannot be conducted. A major challenge in the hybrid control design is its inability to eliminate a prior-data conflict caused by systematic imbalances in measured or unmeasured confounding factors between patients in the concurrent treatment/control group and external controls. To prevent the prior-data conflict, a combined use of propensity score matching and Bayesian commensurate prior has been proposed in the context of hybrid control design. The propensity score matching is first performed to guarantee the balance in baseline characteristics, and then the Bayesian commensurate prior is constructed while discounting the information based on the similarity in outcomes between the concurrent and external controls. 'psBayesborrow' is a package to implement the propensity score matching and the Bayesian analysis with commensurate prior, as well as to conduct a simulation study to assess operating characteristics of the hybrid control design, where users can choose design parameters in flexible and straightforward ways depending on their own application.

Changes in 1.1.0
  • Fix a bug in trial.simulation.t2e(), regarding the specification of driftHR.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 44.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-07-29
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-07-27
  • NOTE11 OK, 2 NOTE2026-06-09
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-06-07
  • NOTE9 OK, 5 NOTE2026-04-22
Show 4 earlier changesHide 4 earlier changes
  • ERROR8 OK, 5 NOTE, 1 ERROR2026-04-18
  • NOTE9 OK, 5 NOTE2026-04-10
  • ERROR8 OK, 5 NOTE, 1 ERROR2026-04-09
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 26 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
13includes a package overview page
Examples that run
100%10 run in a plain check
Exported functions with examples
83%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
38%

Downloads

2.4K
CRAN downloads in the past year
Rank #16,388 · ~7/day · ~201/mo
Daily download trend is not available in this view yet.
27130 days
75690 days
2.4K1 year
Compare downloads with other packages →
Also on351 r2u2 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing psBayesborrow adds 77 packages (40 with compiled code, 59 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, copula 3.5 MB.

Depends (1)
R >= 3.4.0
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 1.0.0 (2024)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0Latest
    record
    2024-03-04 · current release · diff ↗
  • 1.0.0
    record
    2024-02-09
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-02-09
Total releases
2 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.4.0
Download size
80 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("psBayesborrow")
Yamaguchi, Y., Takeda, J., & Takeda, K. (2024). psBayesborrow: Bayesian Information Borrowing with Propensity Score Matching (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.psBayesborrow

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for psBayesborrow version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy