This project contains the R-scripts necessary for reproducing the simulations and examples in the paper outlining a Replication Bayes factor for *F*-tests (https://arxiv.org/abs/1611.09341).
The linked GitHub repository contains an R-package that is used to calculate the Bayes factor. It should be installed through
devtools::install_github("neurotroph/ReplicationBF")
The script `BFrep_Functions.R` alternatively holds functions to also calculate the Bayes factor. There is, however, an important difference: the package uses *Importance Sampling* to estimate the marginal likelihoods, while the script file uses *Monte Carlo estimation*. As is outlined in the article, the *Importance Sampling estimation* is more robust and more accurate and thus preferable.