BayesRep
R package for the analysis of replication studies using Bayes factors
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○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 (5.4%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
R package for the analysis of replication studies using Bayes factors
Basic Info
- Host: GitHub
- Owner: SamCH93
- License: gpl-3.0
- Language: R
- Default Branch: master
- Size: 83 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created almost 3 years ago
· Last pushed almost 3 years ago
https://github.com/SamCH93/BayesRep/blob/master/
# BayesRep
**BayesRep** is an R package for the analysis of replication studies using Bayes
factors.
Pawel, S., Held, L. (2022). The sceptical Bayes factor for the assessment of
replication success. *Journal of the Royal Statistical Society Series B:
Statistical Methodology*. 84(3): 879-911.
DOI:[10.1111/rssb.12491](https://doi.org/10.1111/rssb.12491)
## Installation
```r
## from GitHub
## install.packages("remotes") # requires remotes package
remotes::install_github(repo = "SamCH93/BayesRep")
```
## Usage
``` r
library("BayesRep")
## Original effect estimate and standard error
to <- 0.2
so <- 0.05
## Replication effect estimate and standard error
tr <- 0.15
sr <- 0.04
## Compute and format sceptical Bayes factor
scepticalBF <- BFs(to = to, so = so, tr = tr, sr = sr)
formatBF(scepticalBF)
#> [1] "1/20"
## Compute and format replication Bayes factor
repBF <- BFr(to = to, so = so, tr = tr, sr = sr)
formatBF(repBF)
#> [1] "1/521"
## Plot posterior distribution of effect size
repPosterior(to = to, so = so, tr = tr, sr = sr)
```

Owner
- Name: Samuel Pawel
- Login: SamCH93
- Kind: user
- Website: https://samch93.github.io/
- Repositories: 8
- Profile: https://github.com/SamCH93
GitHub Events
Total
Last Year
Packages
- Total packages: 1
-
Total downloads:
- cran 258 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: BayesRep
Bayesian Analysis of Replication Studies
- Homepage: https://github.com/SamCH93/BayesRep
- Documentation: http://cran.r-project.org/web/packages/BayesRep/BayesRep.pdf
- License: GPL-3
-
Latest release: 0.42.2
published almost 3 years ago
Rankings
Forks count: 28.7%
Dependent packages count: 29.1%
Dependent repos count: 34.8%
Stargazers count: 35.2%
Average: 43.5%
Downloads: 89.6%
Maintainers (1)
Last synced:
10 months ago