The DOI matches its Crossref record.
Statistical Rethinking: A Bayesian Course with Examples in R and Stan
Abstract
Statistical Rethinking: A Bayesian Course with Examples in R and Stan builds your knowledge of and confidence in making inferences from data. Reflecting the need for scripting in today's model-based statistics, the book pushes you to perform step-by-step calculations that are usually automated. This unique computational approach ensures that you understand enough of the details to make reasonable choices and interpretations in your own modeling work. 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
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“W is modelled as a monotonic ordered predictor 63,64 . Using W as a predictor for Y has two advantages: it (1) controls for sampling discrepancies between the treatment and control groups, and (2) allows for the treatment to differentially affect those with different prior vaccination intents.”
From Measuring the impact of COVID-19 vaccine misinformation on vaccination intent in the UK and USA (2021) · cites this paper as [64]
In the citing paper
“We conducted a Bayesian analysis to gain a probabilistic understanding of the treatment effects, an approach that remains robust even in the case of smaller sample sizes (McElreath 2020).”
From Echoes of AI: Investigating the downstream effects of AI assistants on software maintainability (2026) · cites this paper as McElreath 2020
In the citing paper
“(c) more intuitive uncertainty metrics”
From Effects of Availability, Contingency, and Formulaicity on the Accuracy of English Grammatical Morphemes in Second Language Writing (2022) · cites this paper as McElreath, 2020
In the citing paper
“(b) the full posterior distribution that is more informative than point estimates”
From Effects of Availability, Contingency, and Formulaicity on the Accuracy of English Grammatical Morphemes in Second Language Writing (2022) · cites this paper as McElreath, 2020
In the citing paper
“More generally, in comparison to frequentist analyses, Bayesian methods yield (a) more reliable parameter estimates in complex statistical models such as the ones used in our study”
From Effects of Availability, Contingency, and Formulaicity on the Accuracy of English Grammatical Morphemes in Second Language Writing (2022) · cites this paper as McElreath, 2020
Citations
Cited by
Sorted by citations
Measuring the impact of COVID-19 vaccine misinformation on vaccination intent in the UK and USA
Loomba, S., de Figueiredo, A., Piatek, S. J., de Graaf, K., & Larson, H. J. (2021) · Nature Human Behaviour · doi:10.1038/s41562-021-01056-1 · Cited by 1,800
A practical guide to selecting models for exploration, inference, and prediction in ecology
Tredennick, A. T., Hooker, G., Ellner, S. P., & Adler, P. B. (2021) · Ecology · doi:10.1002/ecy.3336 · Cited by 509
Sampling in software engineering research: a critical review and guidelines
Baltes, S., & Ralph, P. (2022) · Empirical Software Engineering · doi:10.1007/s10664-021-10072-8 · Cited by 536
Why the cross-lagged panel model is almost never the right choice
Lucas, R. E. (2023) · Advances in Methods and Practices in Psychological Science · doi:10.1177/25152459231158378 · Cited by 361
Gut microbiome correlates of response and toxicity following anti-CD19 CAR T cell therapy
Smith, M., Dai, A., Ghilardi, G., Amelsberg, K. V., Devlin, S. M., Pajarillo, R., Slingerland, J. B., Beghi, S., Herrera, P. S., Giardina, P., et al. (2022) · Nature Medicine · doi:10.1038/s41591-022-01702-9 · Cited by 349
Metadata
- Authors
- McElreath, R.
- Affiliations
- Max Planck Institute for Evolutionary Anthropology (DE)
- Corresponding author
- McElreath, Richard
- ORCID
- McElreath, Richard
- Venue
- Chapman & Hall/CRC eBooks
- Publisher
- Chapman and Hall/CRC
- Published
- 2020-03-13
- OpenAlex
- W4232976691
- Cited by
- 1,959
- References
- 0
- Citations by year
- 2026: 297 · 2025: 385 · 2024: 325 · 2023: 317 · 2022: 268 · 2021: 223 · 2020: 96
- FWCI
- 101.46
- Type
- book
- Language
- en
- Open access
- closed
- Locations
- Chapman & Hall/CRC eBooks (publishedVersion)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
- Physical Sciences › Mathematics › Statistics and Probability › Data Analysis with R
- Physical Sciences › Mathematics › Statistics and Probability › Markov Chains and Monte Carlo Methods
- Keywords
- Bayesian inference, causal inference, directed acyclic graphs, maximum entropy, information theory, measurement error, missing data, Gaussian processes, spatial confounding, splines, social relations model, cross-validation, importance sampling, instrumental variables, Hamiltonian Monte Carlo, Stan, R
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review