Package: BayesPower 1.0.5

Tsz Keung Wong

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_v3>.

Authors:Tsz Keung Wong [aut, cre], Samuel Pawel [aut], Jorge Tendeiro [aut]

BayesPower_1.0.5.tar.gz
BayesPower_1.0.5.tar.gz(r-4.7-arm64)BayesPower_1.0.5.tar.gz(r-4.7-x86_64)BayesPower_1.0.5.tar.gz(r-4.6-arm64)BayesPower_1.0.5.tar.gz(r-4.6-x86_64)
BayesPower_1.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
BayesPower/json (API)

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

Bug tracker:https://github.com/tkwong3004/bayespower/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

1.70 score 8 scripts 549 downloads 13 exports 74 dependencies

Last updated from:05005de894. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK352
linux-devel-x86_64OK258
source / vignettesOK225
linux-release-arm64OK353
linux-release-x86_64OK252
wasm-releaseOK193

Exports:BayesPower_BayesFactorBF10.bin.testBF10.corBF10.f.testBF10.propsBF10.ttest.OneSampleBF10.ttest.TwoSampleBFpower.binBFpower.corBFpower.f.testBFpower.propsBFpower.ttest.OneSampleBFpower.ttest.TwoSample

Dependencies:base64encBHbslibcachemclicommonmarkcontfraccpp11deSolvedigestdplyrellipticevaluateExtDistfarverfastmapfontawesomefsgenericsggplot2gluegslgtablehighrhtmltoolshttpuvhypergeoisobandjquerylibjsonliteknitrlabelinglaterlifecyclemagrittrMASSmemoisemimenloptrnumDerivoptimxotelpatchworkpillarpkgconfigpracmapromisespurrrR6rappdirsRColorBrewerRcpprlangrmarkdownrootSolveS7sassscalesshinyshinyWidgetssourcetoolsstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxtableyaml