Package: BSCB 1.0.0

Fei Yang
BSCB: Bayesian Simultaneous Credible Bands for Polynomial Regression
Provides functions to construct two-sided Bayesian simultaneous credible bands (BSCBs) for the regression curve in univariate polynomial regression over a finite covariate interval. Six methods are implemented, including Normal-Gamma conjugate priors (with empirical Bayes, unit-information, and g-prior hyperparameter specifications), non-conjugate priors fitted via Hamiltonian Monte Carlo (HMC) using 'cmdstanr', and a non-informative independent Jeffreys prior approach. Also includes functions for computing the empirical simultaneous coverage rate (ESCR) and posterior simultaneous coverage probability (PSCP), enabling performance comparison across methods. The methodology is described in: Yang, F., Han, Y., Liu, W., & Hall, I. (2026). "Bayesian simultaneous credible bands for polynomial regression" <doi:10.48550/arXiv.2606.28015>.
Authors:
BSCB_1.0.0.tar.gz
BSCB_1.0.0.zip(r-4.7)BSCB_1.0.0.zip(r-4.6)BSCB_1.0.0.zip(r-4.5)
BSCB_1.0.0.tgz(r-4.6-x86_64)BSCB_1.0.0.tgz(r-4.6-arm64)BSCB_1.0.0.tgz(r-4.5-x86_64)BSCB_1.0.0.tgz(r-4.5-arm64)
BSCB_1.0.0.tar.gz(r-4.7-arm64)BSCB_1.0.0.tar.gz(r-4.7-x86_64)BSCB_1.0.0.tar.gz(r-4.6-arm64)BSCB_1.0.0.tar.gz(r-4.6-x86_64)
BSCB_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
BSCB/json (API)
| # Install 'BSCB' in R: |
| install.packages('BSCB', repos = c('https://fannyyang73.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/fannyyang73/bscb/issues
Last updated from:b9620c75f1. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 246 | ||
| linux-devel-x86_64 | OK | 238 | ||
| source / vignettes | OK | 252 | ||
| linux-release-arm64 | OK | 241 | ||
| linux-release-x86_64 | OK | 229 | ||
| macos-release-arm64 | OK | 174 | ||
| macos-release-x86_64 | OK | 306 | ||
| macos-oldrel-arm64 | OK | 206 | ||
| macos-oldrel-x86_64 | OK | 273 | ||
| windows-devel | OK | 210 | ||
| windows-release | OK | 182 | ||
| windows-oldrel | OK | 213 | ||
| wasm-release | OK | 169 |
Exports:compute_bpcb_ind_jeffreyscompute_bscb_conjugatecompute_bscb_hmccompute_bscb_ind_jeffreyscoverage_ESCRcoverage_PSCPcreate_order_formf_L_SCBf_U_SCBfind_global_maximumfind_global_maximum_h_allfn_Bayes_ECRfn_Bayes_PCPfn_Freq_ECRfn_neg_Bayes_ECRfn_neg_Bayes_PCPgenerate_simulation_dataL_SCBsup_T_Bayes_ESCRsup_T_Bayes_PSCPsup_T_Freq_ESCRsup_T_simFSCBU_SCB
Dependencies:abindbackportsbase64encbslibcachemcallrcheckmateclidigestdistributionalevaluatefastmapfontawesomefsgenericsgluehighrhtmltoolshtmlwidgetsinstantiatejquerylibjsonliteknitrlatticelifecyclelpSolvemagrittrMASSMatrixmatrixcalcmatrixStatsmemoisemimemvtnormnumDerivOptimalDesignotelpillarpkgconfigplyrposteriorprocessxpsquadprogR6rappdirsRcpprglrlangrmarkdownsasstensorAtibbletinytexutf8vctrsxfunyaml