This R package accompanies Richard McElreath’s Statistical Rethinking (2nd edition), offering utilities to fit and compare Bayesian models using both MAP estimation (quap) and Hamiltonian Monte Carlo via RStan (ulam). It supports specifying models via explicit distributional assumptions, providing flexibility for advanced statistical workflows.
Features
- Tools for MAP and HMC Bayesian inference (via quap and ulam)
- Requires explicit specification of model distributions (more flexible than formula-based syntax)
- Utilities for diagnostics, posterior analysis, and model comparison
- Integrates with RStan for sampling-based inference
- Supports workflows in Jupyter or RMarkdown for teaching and reproducibility
- Regularly updated to align with editions of the textbook
Categories
StatisticsLicense
MIT LicenseFollow rethinking
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of rethinking!