The Japanese Journal of Psychonomic Science
Online ISSN : 2188-7977
Print ISSN : 0287-7651
ISSN-L : 0287-7651

This article has now been updated. Please use the final version.

Introduction to hierarchical Bayesian modeling for experimental psychologists: A tutorial using R and Stan
Hiroyuki Muto
Author information
JOURNAL FREE ACCESS Advance online publication

Article ID: 39.27

Details
Abstract

Hierarchical Bayesian modeling is a powerful and promising tool that aids experimental psychologists to flexibly build and evaluate interpretable statistical models that consider inter-individual and inter-trial variability. This article offers several examples of hierarchical Bayesian modeling to introduce the idea and to show its implementation with R and Stan. As a tutorial, it uses data from well-known experimental paradigms in perceptual and cognitive psychology. Specifically, I present linear models for correct response time data from a mental rotation task, probit models for binary choice data from two psychophysical tasks, and drift diffusion models for both response time and binary choice data from an Eriksen flanker task. The R and Stan scripts and data are available on the Open Science Framework repository at https://doi.org/10.17605/osf.io/2zxs6. The importance of model selection and the potential functions of open data practices in statistical modeling are also briefly discussed.

Content from these authors
© 2021 The Japanese Psychonomic Society
feedback
Top