Statistical Rethinking: A Bayesian Course with Examples in R and STAN (Chapman & Hall/CRC Texts in Statistical Science), 2nd Edition (Original PDF)
The text presents causal inference and generalized linear multilevel models from a simple Bayesian perspective that builds on information theory and maximum entropy. The core material ranges from the basics of regression to advanced multilevel models. It also presents measurement error, missing data, and Gaussian process models for spatial and phylogenetic confounding.
The second edition emphasizes the directed acyclic graph (DAG) approach to causal inference, integrating DAGs into many examples. The new edition also contains new material on the design of prior distributions, splines, ordered categorical predictors, social relations models, cross-validation, importance sampling, instrumental variables, and Hamiltonian Monte Carlo. It ends with an entirely new chapter that goes beyond generalized linear modeling, showing how domain-specific scientific models can be built into statistical analyses.
Â
Features
- Integrates working code into the main text
- Illustrates concepts through worked data analysis examples
- Emphasizes understanding assumptions and how assumptions are reflected in code
- Offers more detailed explanations of the mathematics in optional sections
- Presents examples of using the dagitty R package to analyze causal graphs
- Provides the rethinking R package on the author’s website and on GitHub