Statistical Rethinking with brms, ggplot2, and the tidyverse


Date created: | Last Updated:


Creating DOI. Please wait...

Create DOI

Category: Project

Description: Reexpress McElreath’s "Statistical Rethinking" (2015) by fitting the models in brms, plotting with ggplot2, and data wrangling with tidyverse-style syntax.

Files | Discussion Wiki | Discussion | Discussion

default Loading...


This is a love letter I love McElreath’s Statistical Rethinking text. It's the entry-level textbook for applied researchers I spent a couple years looking for. McElreath's freely-available lectures on the book are really great, too. However, I've come to prefer using Bürkner’s brms package when doing Bayeisn regression in R. It's just spectacular. I also prefer plotting with Wickham's ggplot2, an...


Loading files...



  • brms, ggplot2 and tidyverse code, by chapter

    This is the main event.

    Recent Activity

    Loading logs...

  • Fit lines, coefficient plots, and other ggplot2 fun

    brms grab bag

    Recent Activity

    Loading logs...


Recent Activity

Loading logs...

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.

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