Bayesian inference in R
Use of the Bayes factor (BF) has become more popular in cognitive training studies during the recent years. It allows researchers to examine the likelihood of their data both under null hypothesis (e.g., no effect following an experimental manipulation) and the alternative hypothesis (e.g., an effect following an experimental manipulation). In this project I will demonstrate how to conduct Bayesian inference in an experimental study design. For those who are interested to take a look on the whole code related to this project, see my Open Science Framework page.
For computing the BFs, I have been using the “BayesFactor” package developed by Richard Morey. It allows one compute the BFs easily with fairly minimal effort.
# Load the BayesFactor package
library(BayesFactor)