HackerPapers

arXiv:1506.06201stat.ME

Bayesian linear mixed models using Stan: A tutorial for psychologists, linguists, and cognitive scientists

Tanner Sorensen, Shravan Vasishth

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

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.

arXiv comments
Submitted to Psychological Methods (Special Issue on Bayesian Data Analysis); 30 pages; 6 figures
Journal reference
Quantitative Methods for Psychology 2016
DOI
doi:10.20982/tqmp.12.3.p175
Subjects
stat.MEMethodology (Statistics)

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Nov 2016 to Nov 2016.

Comments linking this paper, per year.

Discussed in comments1 thread

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.