Errata

These errata are errors in the printed book. These changes are implemented in this online version.

Due to final copyediting by the Press, the website version may differ slightly from the print version. If you discover a discrepency, please email us at graeme.blair@gmail.com, acoppock@gmail.com, and macartan@gmail.com and we will fix it and send you DeclareDesign stickers!

Code updates

We are committed to maintaining the code in this book as the R ecosystem evolves. The following changes reflect differences between the printed book and the online version.

  • On pg. 103, Declaration 9.3 now reads .summary = ~tidy(., exponentiate = TRUE) instead of .summary = ~tidy_stan(., exponentiate = TRUE), reflecting the use of the standard broom.mixed package for tidying stan objects. In addition, the library rdss is replaced with the library broom.mixed in the declaration.