Package: SAMprior 3.0.0

Peng Yang

SAMprior: Self-Adapting Mixture (SAM) Priors

Implementation of the SAM prior and generation of its operating characteristics for dynamically borrowing information from historical data. For details, please refer to Yang et al. (2023) <doi:10.1111/biom.13927>.

Authors:Peng Yang [aut, cre], Ying Yuan [aut]

SAMprior_3.0.0.tar.gz
SAMprior_3.0.0.zip(r-4.7-any)SAMprior_3.0.0.zip(r-4.6-any)SAMprior_3.0.0.zip(r-4.5-any)
SAMprior_3.0.0.tgz(r-4.6-any)SAMprior_3.0.0.tgz(r-4.5-any)
SAMprior_3.0.0.tar.gz(r-4.7-any)SAMprior_3.0.0.tar.gz(r-4.6-any)
SAMprior_3.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SAMprior/json (API)

# Install 'SAMprior' in R:
install.packages('SAMprior', repos = c('https://pengyang0411.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pengyang0411/samprior/issues

Datasets:
  • PS_SAM_data - Simulated Data for the Construction of Propensity Score-Integrated Informative Priors

On CRAN:

Conda:

4.71 score 3 stars 17 scripts 389 downloads 16 exports 72 dependencies

Last updated from:903e2e3b7b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK229
source / vignettesOK431
linux-releaseOK209
macos-releaseOK217
macos-oldrelOK246
windows-develOK177
windows-releaseOK153
windows-oldrelOK156
wasm-releaseOK207

Exports:calibrate_cutoff_2armcalibrate_cutoff_bin_2armcalibrate_cutoff_cont_2armeval_oc_bin_2armeval_oc_cont_2armeval_scenario_bin_2armeval_scenario_cont_2armget_OCpost_summary_bin_2armpost_summary_cont_2armPS_priorPS_prior.betaPS_prior.defaultPS_prior.normSAM_priorSAM_weight

Dependencies:abindargassertthatbackportsbayesplotBHcallrcheckmateclicpp11descdistributionaldplyrfarverFormulagenericsggdistggplot2ggridgesgluegridExtragtableinlineisobandjsonlitelabelinglifecycleloomagrittrMatchItmatrixStatsMetricsmvtnormnumDerivotelpillarpkgbuildpkgconfigplyrposteriorprocessxpspurrrquadprogQuickJSRR6RBesTrbibutilsRColorBrewerRcppRcppEigenRcppParallelRcppProgressRdpackreshape2rlangrstanrstantoolsS7scalesStanHeadersstatmodstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr

SAMprior for Binary Endpoints
Introduction | SAM Prior Derivation | Informative Prior Construction based on Historical Data | SAM Weight Determination | SAM Prior Construction | Operating Characteristics | Type I Error | Power | Decision Making | References | R Session Info

Last update: 2026-04-27
Started: 2023-08-02

SAMprior for Continuous Endpoints
Introduction | SAM Prior Derivation | Informative Prior Construction based on Historical Data | SAM Weight Determination | SAM Prior Construction | Operating Characteristics | Type I Error | Power | Decision Making | References | R Session Info

Last update: 2026-04-27
Started: 2023-08-02