Posts

This is an updated version of the original post from February 22, 2017. This tutorial introduces contour plots, and how to plot them in …

Some best practices for communicate data through visuals. Inspired by Claus Wilke’s “Fundamentals of Data …

JAGS is a language that allows you to run Bayesian analyses. It gets at the posterior by generating samples based on the posterior and …

You all know the drill – you’re asked to make predictions of a continuous variable, so you turn to your favourite …

Generalized Additive Models To fit a GAM in R, we could use: the function gam in the mgcv package, or the function gam in the gam …

This tutorial introduces the concept of a mixture distribution. We’ll look at a basic example first, using intuition, and then describe …