BayesPower: Sample Size and Power Calculation for Bayesian Testing with
Bayes Factor
The goal of 'BayesPower' is to provide tools for Bayesian sample size determination and power analysis across a range of common hypothesis testing scenarios using Bayes factors. The main function, BayesPower_BayesFactor(), launches an interactive 'shiny' application for performing these analyses. The application also provides command-line code for reproducibility. Details of the methods are described in the tutorial by Wong, Pawel, and Tendeiro (2025) <doi:10.31234/osf.io/pgdac_v1>.
| Version: |
1.0.1 |
| Imports: |
rlang, shiny, gsl, Rcpp, ExtDist, ggplot2, patchwork, rmarkdown, glue, hypergeo, rootSolve, shinyWidgets |
| LinkingTo: |
Rcpp, BH |
| Published: |
2025-10-29 |
| DOI: |
10.32614/CRAN.package.BayesPower (may not be active yet) |
| Author: |
Tsz Keung Wong [aut, cre],
Samuel Pawel [aut],
Jorge Tendeiro [aut] |
| Maintainer: |
Tsz Keung Wong <t.k.wong3004 at gmail.com> |
| BugReports: |
https://github.com/tkWong3004/BayesPower/issues |
| License: |
GPL (≥ 3) |
| NeedsCompilation: |
yes |
| CRAN checks: |
BayesPower results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=BayesPower
to link to this page.