Package: BSET 1.0


Pietro Carlotti
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.
Authors:
BSET_1.0.tar.gz
BSET_1.0.zip(r-4.7-any)BSET_1.0.zip(r-4.6-any)BSET_1.0.zip(r-4.5-any)
BSET_1.0.tgz(r-4.6-any)BSET_1.0.tgz(r-4.5-any)
BSET_1.0.tar.gz(r-4.7-any)BSET_1.0.tar.gz(r-4.6-any)
BSET_1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
BSET/json (API)
| # Install 'BSET' in R: |
| install.packages('BSET', repos = c('https://pietrocarlotti.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pietrocarlotti/bset/issues
Pkgdown/docs site:https://pietrocarlotti.github.io
- Carlotti_and_Parast_2026_simulations_grid - Simulation grid for Carlotti and Parast
- estimands_Carlotti_and_Parast_2026 - True estimands for Carlotti and Parast
- estimands_Parast_et_al_2024 - True estimands for Parast et al.
- Parast_et_al_2024_simulations_grid - Simulation grid for Parast et al.
Last updated from:aac5899c1c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 180 | ||
| source / vignettes | OK | 247 | ||
| linux-release-x86_64 | OK | 178 | ||
| macos-release-arm64 | OK | 177 | ||
| macos-oldrel-arm64 | OK | 233 | ||
| windows-devel | OK | 115 | ||
| windows-release | OK | 122 | ||
| windows-oldrel | OK | 112 | ||
| wasm-release | OK | 162 |
Exports:Bayesian_testBSETcompute_BF_distributioncompute_deltacompute_estimands_Carlotti_and_Parast_2026compute_estimands_Parast_et_al_2024compute_thetacompute_V_S_starDGP_no_XDGP_X_binaryDGP_X_Gaussianfrequentist_test
Dependencies:abindadmiscaplotbackportsBHcallrcheckmateclicodetoolscolorspaceComplexUpsetcowplotcpp11descdigestdistributionaldplyrfarverforcatsfsfuturegenericsggfunggplot2ggplotifyggVennDiagramglobalsgluegridExtragridGraphicsgtableinlineisobandlabelinglifecyclelistenvloomagrittrMASSmatrixStatsmvtnormnumDerivotelparallellypatchworkpbmcapplypillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackrlangrstanS7scalesStanHeadersstringistringrSurrogateRanktensorAtibbletidyrtidyselectutf8vctrsvennviridisLitewithryulab.utils