Over a decade ago, Andrew Gelman and Jennifer Hill gave applied researchers a comprehensive book *(Data Analysis Using Regression and Multilevel/Hierarchical Models)* on fitting simple and complex statistical models in `R`

both from a classical framework and a Bayesian one. Now they’re back with an updated version and a new author (Aki Vehtari).

Much has changed in applied statistics since 2006 (when the book was first released). The primary software used at the time and in the book to fit Bayesian models was `BUGS`

(Bayesian inference Using Gibbs Sampling).

However, both `BUGS`

and some of the `R`

code in the first edition are now outdated. The new edition updates the `R`

code and contains intuitive instructions on how to fit simple and complex models using the probabilistic programming language, `Stan`

(also developed by Gelman and colleagues), which is now used in several fields (even for studying wine!).

Another key difference between the first edition and the new edition is that the 2006 book attempted to cover several topics at once. It contained instructions on how to fit simple models in a classical framework all the way up to multilevel models in a Bayesian framework. The new edition attempts to reduce this information overload by splitting itself into two volumes.

The first volume *(Regression and Other Stories)* covers fitting simple and complex models using `R`

and `Stan`

, and is oriented towards the applied researcher or statistician, who wants a smooth introduction to fitting Bayesian models using `Stan`

without diving into much theory or math.

A draft copy of the table of contents in the new edition can be found here, though it’s very likely that the published edition will have some changes.

The book does not cover much of multilevel modeling, which is reserved for the second volume, *Advanced Regression and Multilevel Models* (planned to be released in the next year or two).

Make no mistake, although both of these books are unlikely to touch on a serious amount of theory or math, they are not books that can be read without serious engagement and practice. Every chapter contains enough math for the reader to understand the concepts being discussed with exercises at the end to solidify these concepts.

The chapter exercises are incredibly similar to these exam questions that Gelman created for his Applied Regression class.

Question: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

I suspect that many of the commenters of the blog who had some difficulty with these questions would have had an easier time had they had the opportunity to read the book.

The new edition also covers several news stories from the past few years (some of which long-time blog readers will be familiar with) and gives readers a set of tools to think critically about these stories and how proper statistical thinking could’ve prevented mishaps. In addition, it incorporates concepts that Gelman and colleagues have developed and solidified over the years, since the first edition was published, such as the concept of Type-M and Type-S errors.

Overall, the book is quite comprehensive and will leave the reader with a rich set of tools to think critically about statistics and to fit models in the real world. I look forward to grabbing a hard copy once the book is out.