RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

lindeloev

Jonas Kristoffer Lindeløv

Recently Published

How to compute Bayes factors using lm, lmer, BayesFactor, brms, and JAGS/stan/pymc3
Here, I compare different ways of calculating Bayes Factors in R. I start with a TL;DR section showing off the syntax for the simplest of all models: the intercept-only model. Then I go on to demonstrate Bayes Factors for mixed models using the same packages, including a more thorough discussion of pros and cons.