Package: BayesPower 1.0.5
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:
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
Last updated from:05005de894. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 352 | ||
| linux-devel-x86_64 | OK | 258 | ||
| source / vignettes | OK | 225 | ||
| linux-release-arm64 | OK | 353 | ||
| linux-release-x86_64 | OK | 252 | ||
| wasm-release | OK | 193 |
Exports:BayesPower_BayesFactorBF10.bin.testBF10.corBF10.f.testBF10.propsBF10.ttest.OneSampleBF10.ttest.TwoSampleBFpower.binBFpower.corBFpower.f.testBFpower.propsBFpower.ttest.OneSampleBFpower.ttest.TwoSample
Dependencies:base64encBHbslibcachemclicommonmarkcontfraccpp11deSolvedigestdplyrellipticevaluateExtDistfarverfastmapfontawesomefsgenericsggplot2gluegslgtablehighrhtmltoolshttpuvhypergeoisobandjquerylibjsonliteknitrlabelinglaterlifecyclemagrittrMASSmemoisemimenloptrnumDerivoptimxotelpatchworkpillarpkgconfigpracmapromisespurrrR6rappdirsRColorBrewerRcpprlangrmarkdownrootSolveS7sassscalesshinyshinyWidgetssourcetoolsstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxtableyaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Launch the BayesPower Shiny Application | BayesPower_BayesFactor |
| Bayes Factor for a Bayesian One-Proportion Test | BF10.bin.test |
| Bayes Factor for a Bayesian Correlation Test | BF10.cor |
| Bayes Factor for a Bayesian F-Test | BF10.f.test |
| Bayes Factor for Comparing Two Proportions | BF10.props |
| Bayes Factor for a One-Sample Bayesian t-Test | BF10.ttest.OneSample |
| Bayes Factor for a Two-Sample Bayesian t-Test | BF10.ttest.TwoSample |
| Sample Size Determination for the Bayesian One-Proportion Test | BFpower.bin |
| Sample Size Determination for the Bayesian Correlation Test | BFpower.cor |
| Sample Size Determination for the Bayesian F-Test | BFpower.f.test |
| Sample Size Determination for the Bayesian Test of Two Proportions | BFpower.props |
| Sample Size Determination for the One-Sample Bayesian t-Test | BFpower.ttest.OneSample |
| Sample Size Determination for the Two-Sample Bayesian t-Test | BFpower.ttest.TwoSample |
| Plot Method for BFpower Objects | plot.BFpower |
| Print Method for BFpower Objects | print.BFpower |
| Print Method for BFvalue Objects | print.BFvalue |
