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 years looking for. McElreath's freely-available lectures on the book are really great, too. However, I prefer using Bürkner’s brms package when doing Bayeian regression in R. It's just spectacular. I also prefer plotting with Wickham's ggplot2, and coding with functio...


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...

OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
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.