Package: BayesPower 1.0.4
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.4.tar.gz
BayesPower_1.0.4.zip(r-4.7)BayesPower_1.0.4.zip(r-4.6)BayesPower_1.0.4.zip(r-4.5)
BayesPower_1.0.4.tgz(r-4.6-x86_64)BayesPower_1.0.4.tgz(r-4.6-arm64)BayesPower_1.0.4.tgz(r-4.5-x86_64)BayesPower_1.0.4.tgz(r-4.5-arm64)
BayesPower_1.0.4.tar.gz(r-4.7-arm64)BayesPower_1.0.4.tar.gz(r-4.7-x86_64)BayesPower_1.0.4.tar.gz(r-4.6-arm64)BayesPower_1.0.4.tar.gz(r-4.6-x86_64)
BayesPower_1.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
BayesPower/json (API)
NEWS
| # Install 'BayesPower' in R: |
| install.packages('BayesPower', repos = c('https://tkwong3004.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tkwong3004/bayespower/issues
Last updated from:6e7920c9a4. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 209 | ||
| linux-devel-x86_64 | OK | 202 | ||
| source / vignettes | OK | 250 | ||
| linux-release-arm64 | OK | 205 | ||
| linux-release-x86_64 | OK | 230 | ||
| macos-release-arm64 | OK | 211 | ||
| macos-release-x86_64 | OK | 302 | ||
| macos-oldrel-arm64 | OK | 202 | ||
| macos-oldrel-x86_64 | OK | 348 | ||
| windows-devel | OK | 174 | ||
| windows-release | OK | 245 | ||
| windows-oldrel | OK | 215 | ||
| wasm-release | OK | 154 |
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 |
