npp97 / Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse

The bookdown version lives here: https://bookdown.org/connect/#/apps/1850/access

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Statistical Rethinking with brms, ggplot2, and the tidyverse

I love McElreath’s Statistical Rethinking text. 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, and recently converted to 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 first release of the bookdown version of this project is up. I think of it as a 0.9.0-type version. A few helpful readers have pointed out some typos and made some nice code recommendations. Now I’ve have the benefit of a little time, I’ve found some typos and come up with improvements to the code on my own, too. I expect the more-polished 1.0.0 version should be out before the end of the year. In the meantime, constructive criticisms are welcome.

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.

About

The bookdown version lives here: https://bookdown.org/connect/#/apps/1850/access


Languages

Language:HTML 99.4%Language:CSS 0.4%Language:JavaScript 0.2%