• Stars
    star
    380
  • Rank 112,766 (Top 3 %)
  • Language
    HTML
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The bookdown version lives here: https://bookdown.org/content/3890

Statistical rethinking with brms, ggplot2, and the tidyverse

DOI

I love McElreath's Statistical rethinking text. However, I've come to prefer using Bürkner’s brms package when doing Bayesian regression in R. It's just spectacular. I also prefer plotting with Wickham's ggplot2, and using tidyverse-style syntax (which you might learn about here or here).

So, this project is an attempt to reexpress the code in McElreath's textbook. His models are re-fit in brms, plots are reproduced or reimagined with ggplot2, and the general data wrangling code now predominantly follows the tidyverse style.

The current version, 1.3.0, is available in HTML only. However, version 1.0.1 is still available as a PDF version.

This repository contains the code and text behind the Statistical rethinking with brms, ggplot2, and the tidyverse project.

The project was stitched together using Yihui Xie's bookdown package.