BSET: A Bayesian Surrogate Evaluation Test

An implementation of the Bayesian Surrogate Evaluation Test (BSET) for assessing the validity of surrogate markers in clinical trials. Provides hypothesis testing tools to evaluate whether a surrogate can reliably estimate the causal effect of a treatment on a primary outcome. Implements the imputation-based Bayesian methodology of Carlotti and Parast (2026) <doi:10.48550/arXiv.2603.14381>, extending the frequentist rank-based approach of Parast et al. (2024) <doi:10.1093/biomtc/ujad035>. Addresses key limitations of the frequentist method, including the lack of causal interpretability and the inability to adjust for covariates in the estimation process.

Version: 1.0
Depends: R (≥ 3.5)
Imports: rstan, ggplot2, future, parallel, mvtnorm, dplyr, SurrogateRank, Rdpack, rlang
Suggests: knitr, rmarkdown, bookdown
Published: 2026-05-22
DOI: 10.32614/CRAN.package.BSET (may not be active yet)
Author: Pietro Carlotti [aut, cre], Layla Parast [aut]
Maintainer: Pietro Carlotti <pietro.carlotti at utexas.edu>
BugReports: https://github.com/PietroCarlotti/BSET/issues
License: GPL-3
URL: https://pietrocarlotti.github.io/BSET/, https://github.com/PietroCarlotti/BSET
NeedsCompilation: no
Materials: README
CRAN checks: BSET results

Documentation:

Reference manual: BSET.html , BSET.pdf
Vignettes: BSET Tutorial (source, R code)

Downloads:

Package source: BSET_1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): BSET_1.0.tgz, r-oldrel (arm64): BSET_1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BSET to link to this page.