bfpwr

Closed-Form Power and Sample Size Calculations for Bayes Factors

https://github.com/samch93/bfpwr

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Closed-Form Power and Sample Size Calculations for Bayes Factors

Basic Info
  • Host: GitHub
  • Owner: SamCH93
  • Language: TeX
  • Default Branch: main
  • Size: 36.6 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 3
Created about 2 years ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

Closed-Form Power and Sample Size Calculations for Bayes Factors

This repository contains

  1. ./package The R package bfpwr to perform power and sample size calculations for Bayes factor analysis

  2. ./paper Code and data to reproduce result from the paper: Pawel, S., Held. L. (2025). Closed-Form Power and Sample Size Calculations for Bayes Factors. The American Statistician. https://doi.org/10.1080/00031305.2025.2467919

To cite our work, use the following BibTeX reference

BibTeX @article{PawelHeld2025, year = {2025}, author = {Samuel Pawel and Leonhard Held}, title = {Closed-Form Power and Sample Size Calculations for {Bayes} Factors}, journal = {The American Statistician}, doi = {10.1080/00031305.2025.2467919} }

Reproducing the paper with Docker

Make sure to have Docker and Make installed, then run make docker from the root directory of this git repository. This will install all necessary dependencies. RStudio Server can then be opened from a browser (http://localhost:8787), and the R scripts in ./paper, e.g., bfssd.R which contains all code for the results from the paper, can be rerun (make sure to set the working directory to ./paper when running R interactively).

Owner

  • Name: Samuel Pawel
  • Login: SamCH93
  • Kind: user

GitHub Events

Total
  • Release event: 2
  • Push event: 30
  • Pull request event: 2
  • Create event: 4
Last Year
  • Release event: 2
  • Push event: 30
  • Pull request event: 2
  • Create event: 4

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • SamCH93 (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 517 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: bfpwr

Power and Sample Size Calculations for Bayes Factor Analysis

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 517 Last month
Rankings
Dependent packages count: 27.9%
Dependent repos count: 34.4%
Average: 49.7%
Downloads: 86.9%
Maintainers (1)
Last synced: 10 months ago

Dependencies

package/DESCRIPTION cran
  • roxygen2 * suggests
  • tinytest * suggests