## Statistical Rethinking: A Bayesian Course with Examples in R and StanStatistical Rethinking: A Bayesian Course with Examples in R and Stan builds readers’ knowledge of and confidence in statistical modeling. Reflecting the need for even minor programming in today’s model-based statistics, the book pushes readers to perform step-by-step calculations that are usually automated. This unique computational approach ensures that readers understand enough of the details to make reasonable choices and interpretations in their own modeling work. The text presents generalized linear multilevel models from a Bayesian perspective, relying on a simple logical interpretation of Bayesian probability and maximum entropy. It covers from the basics of regression to multilevel models. The author also discusses measurement error, missing data, and Gaussian process models for spatial and network autocorrelation. By using complete R code examples throughout, this book provides a practical foundation for performing statistical inference. Designed for both PhD students and seasoned professionals in the natural and social sciences, it prepares them for more advanced or specialized statistical modeling. Web Resource |

### What people are saying - Write a review

### Contents

1 | |

Small Worlds and Large Worlds | 19 |

Chapter 3 Sampling the Imaginary | 49 |

Linear Models | 71 |

Multivariate Linear Models | 119 |

Wiii CONTENTS | 152 |

Overfitting Regularization and Information Criteria | 165 |

Interactions | 209 |

Counting and Classification | 291 |

Monsters and Mixtures | 331 |

Multilevel Models | 355 |

Chapter 13 Adventures in Covariance | 387 |

Missing Data and Other Opportunities | 423 |

Chapter 15 Horoscopes | 441 |

457 | |

Citation index | 465 |

### Other editions - View all

Statistical Rethinking: A Bayesian Course with Examples in R and Stan Richard McElreath Limited preview - 2018 |

Statistical Rethinking: A Bayesian Course with Examples in R and Stan Richard McElreath Limited preview - 2016 |

Statistical Rethinking: A Bayesian Course With Examples in R and Stan Richard McElreath No preview available - 2015 |