Package: bbssr 3.0.0

bbssr: Blinded Sample Size Re-Estimation for Binary Endpoints
Tools for blinded sample size re-estimation (BSSR) in two-arm clinical trials with binary endpoints, together with the exact power and sample size calculations that the re-estimation relies on, for two independent groups, for matched pairs and for stratified designs. For two independent groups seven statistical tests are implemented: Pearson chi-squared, Fisher exact, Fisher mid-p, Z-pooled exact unconditional, the exact unconditional test of Boschloo (1970) <doi:10.1111/j.1467-9574.1970.tb00104.x>, and the tests of non-inferiority and equivalence of Blackwelder (1982) <doi:10.1016/0197-2456(82)90024-1> and of Farrington and Manning (1990) <doi:10.1002/sim.4780091208>, with a margin on the scale of the risk difference or the risk ratio. Each test is available with a one-sided or a two-sided alternative, and the exact unconditional tests can be combined with the Berger-Boos procedure. For matched pairs the McNemar tests and the score test of Nam (1997) <doi:10.2307/2533508> are implemented, and for stratified designs the Cochran-Mantel-Haenszel test, Cochran's test with the sample size formulas of Woolson et al. (1986) <doi:10.2307/2530706> and Nam (1992) <doi:10.2307/2532298>, and the stratified exact conditional test of Jung (2014) <doi:10.1002/bimj.201300048>. The power, the distribution of the final sample size and the type I error rate of a re-estimation design are computed exactly, by simulation for three or more strata and as averages over simulated allocation sequences for random stratum and group sizes, the significance level can be adjusted so that the type I error rate is controlled, and the sample size can be re-estimated from the blinded data of a trial that is under way. Statistical methods based on Mehrotra et al. (2003) <doi:10.1111/1541-0420.00051>, Berger and Boos (1994) <doi:10.1080/01621459.1994.10476836>, Friede and Kieser (2004) <doi:10.1002/pst.140>, Friede et al. (2007) <doi:10.1002/bimj.200610373> and Kieser (2020) <doi:10.1007/978-3-030-49528-2_21>.
Authors:
bbssr_3.0.0.tar.gz
bbssr_3.0.0.zip(r-4.7-x86_64)bbssr_3.0.0.zip(r-4.7-arm64)bbssr_3.0.0.zip(r-4.6-x86_64)bbssr_3.0.0.zip(r-4.6-arm64)bbssr_3.0.0.zip(r-4.5-x86_64)
bbssr_3.0.0.tgz(r-4.6-x86_64)bbssr_3.0.0.tgz(r-4.6-arm64)bbssr_3.0.0.tgz(r-4.5-x86_64)bbssr_3.0.0.tgz(r-4.5-arm64)
bbssr_3.0.0.tar.gz(r-4.7-arm64)bbssr_3.0.0.tar.gz(r-4.7-x86_64)bbssr_3.0.0.tar.gz(r-4.6-arm64)bbssr_3.0.0.tar.gz(r-4.6-x86_64)
bbssr_3.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bbssr/json (API)
| # Install 'bbssr' in R: |
| install.packages('bbssr', repos = c('https://gosukehommaex.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gosukehommaex/bbssr/issues
Pkgdown/docs site:https://gosukehommaex.github.io
binary-endpointsclinical-trialspower-calculationsample-size-calculationcpp
Last updated from:976931545a. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 200 | ||
| linux-devel-x86_64 | OK | 237 | ||
| source / vignettes | OK | 324 | ||
| linux-release-arm64 | OK | 197 | ||
| linux-release-x86_64 | OK | 257 | ||
| macos-release-arm64 | OK | 497 | ||
| macos-release-x86_64 | OK | 475 | ||
| macos-oldrel-arm64 | OK | 219 | ||
| macos-oldrel-x86_64 | OK | 322 | ||
| windows-devel-arm64 | OK | 330 | ||
| windows-devel-x86_64 | OK | 267 | ||
| windows-release-arm64 | OK | 329 | ||
| windows-release-x86_64 | OK | 206 | ||
| windows-oldrel-x86_64 | OK | 212 | ||
| wasm-release | OK | 127 |
Exports:BinaryAlphaAdjBSSRBinaryBSSRBinaryCondRejectBSSRBinaryGridBSSRBinaryPowerBinaryPowerBSSRBinaryRRBinarySampleSizeBinaryTypeIErrorBSSRPairedAlphaAdjBSSRPairedBSSRPairedPowerPairedPowerBSSRPairedRRPairedSampleSizePairedTypeIErrorBSSRStratAlphaAdjBSSRStratBSSRStratCondRejectBSSRStratGridBSSRStratPowerStratPowerBSSRStratRRStratSampleSizeStratTypeIErrorBSSR
Dependencies:clicpp11farverfpCompareggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcpprlangS7scalesvctrsviridisLitewithr
Last update: 2026-10-27
Started: 2025-06-13
Last update: 2026-10-27
Started: 2026-10-23
Last update: 2026-10-27
Started: 2026-10-23
Last update: 2026-10-26
Started: 2026-10-08
Last update: 2026-10-26
Started: 2025-06-14
Last update: 2026-10-24
Started: 2026-08-13
Last update: 2026-10-24
Started: 2025-06-13
Last update: 2026-10-24
Started: 2026-10-05
Last update: 2026-10-23
Started: 2026-10-05
Last update: 2026-10-07
Started: 2026-10-05
Last update: 2026-10-06
Started: 2026-10-05
