Main content

Files | Discussion Wiki | Discussion | Discussion
default Loading...

Home

Menu

Loading wiki pages...

View
Wiki Version:
# This is a love letter I love McElreath’s [*Statistical Rethinking* text](http://xcelab.net/rm/statistical-rethinking/). It's the entry-level textbook for applied researchers I spent years looking for. McElreath's [freely-available lectures](https://www.youtube.com/channel/UCNJK6_DZvcMqNSzQdEkzvzA/playlists) on the book are really great, too. However, I prefer using Bürkner’s [brms package](https://github.com/paul-buerkner/brms) when doing Bayeian regression in R. [It's just spectacular](http://andrewgelman.com/2017/01/10/r-packages-interfacing-stan-brms/). I also prefer plotting with Wickham's [ggplot2](https://cran.r-project.org/web/packages/ggplot2/index.html), and coding with functions and principles from the [tidyverse](https://www.tidyverse.org), which you might learn about [here](http://style.tidyverse.org) or [here](http://r4ds.had.co.nz/transform.html). So, this project is an attempt to reexpress the code in McElreath’s textbook. His models are re-fit with brms, the figures are reproduced or reimagined with ggplot2, and the general data wrangling code now predominantly follows the tidyverse style. This project lives in two other places: * You can find the files on [GitHub](https://github.com/ASKurz/Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse). I tend to update those files more often than the ones here on the OSF, so feel free to head over there for the most current updates. * [Go here](https://bookdown.org/connect/#/apps/1850/access) to find the online [bookdown](https://bookdown.org/connect/#/apps/1850/access) version of the project. It'll probably be more useful for most purposes. Happy modeling! [1]: http://xcelab.net/rm/statistical-rethinking/ [2]: https://cran.r-project.org/web/packages/brms/index.html [3]: https://cran.r-project.org/web/packages/ggplot2/index.html [4]: https://cran.r-project.org/src/contrib/Archive/brms/
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
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.
Accept
×

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.