bfpwr: Power and Sample Size Calculations for Bayes Factor Analysis

Implements z-test, t-test, normal moment prior, and binomial test Bayes factors based on summary statistics, along with functionality to perform corresponding power and sample size calculations for fixed and sequential designs as described in Pawel and Held (2025) <doi:10.1080/00031305.2025.2467919>, Pawel and Held (2026) <doi:10.48550/ARXIV.2601.02851>, and Kelter and Pawel (2026) <doi:10.48550/arXiv.2502.02914>.

Version: 0.3
Imports: lamW, mvtnorm, withr, qrng, utils
Suggests: roxygen2, tinytest, knitr, BayesFactor
Published: 2026-11-08
DOI: 10.32614/CRAN.package.bfpwr
Author: Samuel Pawel ORCID iD [aut, cre], František Bartoš ORCID iD [aut]
Maintainer: Samuel Pawel <samuel.pawel at uzh.ch>
BugReports: https://github.com/SamCH93/bfpwr/issues
License: GPL-3
URL: https://github.com/SamCH93/bfpwr
NeedsCompilation: no
Citation: bfpwr citation info
Materials: NEWS
CRAN checks: bfpwr results

Documentation:

Reference manual: bfpwr.html , bfpwr.pdf
Vignettes: Using the bfpwr package (source, R code)

Downloads:

Package source: bfpwr_0.3.tar.gz
Windows binaries: r-devel: bfpwr_0.1.6.zip, r-release: bfpwr_0.1.6.zip, r-oldrel: bfpwr_0.1.6.zip
macOS binaries: r-release (arm64): bfpwr_0.1.6.tgz, r-oldrel (arm64): bfpwr_0.1.6.tgz, r-release (x86_64): bfpwr_0.1.6.tgz, r-oldrel (x86_64): bfpwr_0.1.6.tgz
Old sources: bfpwr archive

Linking:

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