Skip to content

Commit b0a4115

Browse files
Solomon KurzSolomon Kurz
authored andcommitted
0.1.1
1 parent bd3a3f3 commit b0a4115

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

index.Rmd

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "*Statistical rethinking* with brms, ggplot2, and the tidyverse: Second edition"
3-
subtitle: "version 0.1.0"
3+
subtitle: "version 0.1.1"
44
author: ["A Solomon Kurz"]
55
date: "`r Sys.Date()`"
66
site: bookdown::bookdown_site
@@ -28,16 +28,32 @@ description: "This book is an attempt to re-express the code in the second editi
2828

2929
This ebook is based on the second edition of [Richard McElreath](https://twitter.com/rlmcelreath)'s [-@mcelreathStatisticalRethinkingBayesian2020] text, [*Statistical rethinking: A Bayesian course with examples in R and Stan*](https://xcelab.net/rm/statistical-rethinking/). My contributions show how to fit the models he covered with [Paul Bürkner](https://twitter.com/paulbuerkner)'s [**brms** package](https://github.com/paul-buerkner/brms) [@R-brms; @burknerBrmsPackageBayesian2017; @burknerAdvancedBayesianMultilevel2018], which makes it easy to fit Bayesian regression models in **R** [@R-base] using Hamiltonian Monte Carlo. I also prefer plotting and data wrangling with the packages from the [**tidyverse**](http://style.tidyverse.org) [@R-tidyverse; @wickhamWelcomeTidyverse2019]. So we'll be using those methods, too.
3030

31-
## Caution: Work in progress {-}
31+
## We have updates {-}
3232

33-
After chipping away at mini releases of partial drafts, welcome to version 0.1.0! This is the first "full length" draft of this book. I say "full length" in quotes because although we have chapters corresponding to all the 17 chapters in McElreath's source material, some areas could use a little fleshing out. The sections I'm particularly anxious to improve are
33+
For a brief rundown of the version history, we have:
34+
35+
### Version 0.1.0. {-}
36+
37+
I released the 0.1.0 version of this project in November 24, 2020. It was the first full-length and nearly complete draft including material from all the 17 chapters in McElreath's source material. All **brms** models were fit with version 2.14.0+.
38+
39+
### Version 0.1.1. {-}
40+
41+
Welcome to version 0.1.1! This is a mini update designed to
42+
43+
* fix code breaks resulting from updates to the [**broom** package](https://CRAN.R-project.org/package=broom) [@R-broom], caught by [Jenny Bigman](https://twitter.com/jennybigman);
44+
* replace the soon-to-be retired `sample_n()` code with `slice_sample()`, caught by [Randall Pruim](https://github.com/rpruim);
45+
* and correct a few typos along the way.
46+
47+
### We're not done yet and I could use your help. {-}
48+
49+
Some areas of the book could use some fleshing out. The sections I'm particularly anxious to improve are
3450

3551
* [4.6][~~Summary~~ B-splines with **brms**], which introduces the **brms** approach to b-splines;
3652
* [15.3][Categorical errors and discrete absences], which may someday include a **brms** workflow for categorical missing data;
3753
* [16.2.3][Coding the statistical model.], which contains a mixture model that McElreath fit directly in Stan and I suspect may be possible in **brms** with a custom likelihood; and
3854
* [16.4.2][The statistical model.], which contains an ordinary differential equation model that McElreath fit directly in Stan and I suspect may be possible in **brms**, but is beyond my current skill set.
3955

40-
If you have insights on how to improve any of these sections, please share your thoughts on GitHub at [https://github.com/ASKurz/Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed/issues](https://github.com/ASKurz/Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed/issues).
56+
If you have insights on how to improve any of these sections, please share your thoughts on GitHub at [https://github.com/ASKurz/Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed/issues](https://github.com/ASKurz/Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed/issues). The contribution guidelines for this book are listed at [https://github.com/ASKurz/Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed/blob/master/CONTRIBUTING.md](https://github.com/ASKurz/Statistical_Rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed/blob/master/CONTRIBUTING.md).
4157

4258
## Thank-you's are in order {-}
4359

@@ -48,10 +64,12 @@ I'd like to thank the following for their helpful contributions:
4864
* Shaan Amin ([\@Shaan-Amin](https://github.com/Shaan-Amin)),
4965
* Malcolm Barrett ([\@malcolmbarrett](https://github.com/malcolmbarrett)),
5066
* Adam Bear ([\@adambear91](https://github.com/adambear91)),
67+
* Jenny Bigman ([\@jennybigman](https://github.com/jennybigman)),
5168
* Louis Bliard ([\@lbiard](https://github.com/lbiard)),
5269
* Paul-Christian Bürkner ([\@paul-buerkner](https://github.com/paul-buerkner)),
5370
* Sebastian Lobentanzer ([\@slobentanzer](https://github.com/slobentanzer)),
5471
* Ed Merkle ([\@ecmerkle](https://github.com/ecmerkle)),
72+
* Randall Pruim ([\@rpruim](https://github.com/rpruim)),
5573
* Gavin Simpson ([\@gavinsimpson](https://github.com/gavinsimpson)),
5674
* Richard Torkar ([\@torkar](https://github.com/torkar)), and
5775
* Donald R. Williams ([\@donaldRwilliams](https://github.com/donaldRwilliams)).
@@ -67,13 +85,13 @@ This book is licensed under the Creative Commons Zero v1.0 Universal license. Yo
6785
title = {Statistical rethinking with brms, ggplot2, and the tidyverse: {{Second}} edition},
6886
author = {Kurz, A. Solomon},
6987
year = {2020},
70-
month = nov,
71-
edition = {version 0.1.0},
88+
month = {dec},
89+
edition = {version 0.1.1},
7290
url = {https://bookdown.org/content/4857/}
7391
}
7492
```
7593

7694
```{r, echo = F, message = F, warning = F, results = "hide"}
77-
pacman::p_unload(pacman::p_loaded(), character.only = TRUE)
95+
# pacman::p_unload(pacman::p_loaded(), character.only = TRUE)
7896
```
7997

0 commit comments

Comments
 (0)