Why do new data change my beliefs? What is a prior? How do I specify a hierarchical model in R? This lab answers these questions โ interactively, visually, and directly applicable with brms.
23 interactive tools โ from linear models to posterior decision-making. Every tool runs entirely in the browser, with no installation, no data transfer. Copy-ready R code (brms) at every step of the workflow. Integrated glossary to look up unfamiliar terms at any point.
Sister site: MethodsLab โ โ interactive tools for psychometrics, test theory, causal inference, and more.
Inspired by McElreath Statistical Rethinking and Kruschke Doing Bayesian Data Analysis. Suitable for undergraduates, graduate students, and researchers alike.
(1 | id), optional random slope).posterior_predict() draws โ ready to import into the Posterior Predictive Check app.
saveRDS(fit, "model.rds")). Runs as a Shiny app โ no local R needed.
loo_compare() output directly from R and get an annotated forest plot, Pareto-k diagnostics, and a traffic-light decision rule.