arXiv · 1506.06201
Bayesian linear mixed models using Stan: A tutorial for psychologists, linguists, and cognitive scientists
Abstract
With the arrival of the R packages nlme and lme4, linear mixed models (LMMs) have come to be widely used in experimentally-driven areas like psychology, linguistics, and cognitive science. This tutorial provides a practical introduction to fitting LMMs in a Bayesian framework using the probabilistic programming language Stan. We choose Stan (rather than WinBUGS or JAGS) because it provides an elegant and scalable framework for fitting models in most of the standard applications of LMMs. We ease the reader into fitting increasingly complex LMMs, first using a two-condition repeated measures self-paced reading study, followed by a more complex $2\times 2$ repeated measures factorial design that can be generalized to much more complex designs.
Explore related subjects
Keep this discovery
Tanner Sorensen, Shravan Vasishth. 2015-06-20. Bayesian linear mixed models using Stan: A tutorial for psychologists, linguists, and cognitive scientists. https://doi.org/10.20982/tqmp.12.3.p175
Cite the original work for its findings. Save a collection to share your selection of sources.