Home

Menu

Loading wiki pages...

View
Wiki Version:
<p>This project contains the R-scripts necessary for reproducing the simulations and examples in the paper outlining a Replication Bayes factor for <em>F</em>-tests (<a href="https://arxiv.org/abs/1611.09341" rel="nofollow">https://arxiv.org/abs/1611.09341</a>).</p> <p>The linked GitHub repository contains an R-package that is used to calculate the Bayes factor. It should be installed through</p> <pre class="highlight"><code>devtools::install_github(&quot;neurotroph/ReplicationBF&quot;)</code></pre> <p>The script <code>BFrep_Functions.R</code> alternatively holds functions to also calculate the Bayes factor. There is, however, an important difference: the package uses <em>Importance Sampling</em> to estimate the marginal likelihoods, while the script file uses <em>Monte Carlo estimation</em>. As is outlined in the article, the <em>Importance Sampling estimation</em> is more robust and more accurate and thus preferable.</p>
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.

Create an Account Learn More Hide this message