Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods

Evidence accumulation models are a useful tool to allow researchers to investigate the latent cognitive variables that underlie response time and response accuracy. However, applying evidence accumulation models can be difficult because they lack easily computable forms. Numerical methods are requir...

Full description

Bibliographic Details
Main Authors: Lin, Yi Shin, Strickland, Luke
Format: Journal Article
Published: 2020
Online Access:http://hdl.handle.net/20.500.11937/77775
_version_ 1848763902633967616
author Lin, Yi Shin
Strickland, Luke
author_facet Lin, Yi Shin
Strickland, Luke
author_sort Lin, Yi Shin
building Curtin Institutional Repository
collection Online Access
description Evidence accumulation models are a useful tool to allow researchers to investigate the latent cognitive variables that underlie response time and response accuracy. However, applying evidence accumulation models can be difficult because they lack easily computable forms. Numerical methods are required to determine the parameters of evidence accumulation that best correspond to the fitted data. When applied to complex cognitive models, such numerical methods can require substantial computational power which can lead to infeasibly long compute times. In this paper, we provide efficient, practical software and a step-by-step guide to fit evidence accumulation models with Bayesian methods. The software, written in C++, is provided in an R package: 'ggdmc'. The software incorporates three important ingredients of Bayesian computation, (1) the likelihood functions of two common response time models, (2) the Markov chain Monte Carlo (MCMC) algorithm (3) a population-based MCMC sampling method. The software has gone through stringent checks to be hosted on the Comprehensive R Archive Network (CRAN) and is free to download. We illustrate its basic use and an example of fitting complex hierarchical Wiener diffusion models to four shooting-decision data sets.
first_indexed 2025-11-14T11:10:50Z
format Journal Article
id curtin-20.500.11937-77775
institution Curtin University Malaysia
institution_category Local University
last_indexed 2025-11-14T11:10:50Z
publishDate 2020
recordtype eprints
repository_type Digital Repository
spelling curtin-20.500.11937-777752025-05-12T01:49:21Z Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods Lin, Yi Shin Strickland, Luke Evidence accumulation models are a useful tool to allow researchers to investigate the latent cognitive variables that underlie response time and response accuracy. However, applying evidence accumulation models can be difficult because they lack easily computable forms. Numerical methods are required to determine the parameters of evidence accumulation that best correspond to the fitted data. When applied to complex cognitive models, such numerical methods can require substantial computational power which can lead to infeasibly long compute times. In this paper, we provide efficient, practical software and a step-by-step guide to fit evidence accumulation models with Bayesian methods. The software, written in C++, is provided in an R package: 'ggdmc'. The software incorporates three important ingredients of Bayesian computation, (1) the likelihood functions of two common response time models, (2) the Markov chain Monte Carlo (MCMC) algorithm (3) a population-based MCMC sampling method. The software has gone through stringent checks to be hosted on the Comprehensive R Archive Network (CRAN) and is free to download. We illustrate its basic use and an example of fitting complex hierarchical Wiener diffusion models to four shooting-decision data sets. 2020 Journal Article http://hdl.handle.net/20.500.11937/77775 10.20982/tqmp.16.2.p133 http://creativecommons.org/licenses/by/4.0/ fulltext
spellingShingle Lin, Yi Shin
Strickland, Luke
Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods
title Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods
title_full Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods
title_fullStr Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods
title_full_unstemmed Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods
title_short Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods
title_sort evidence accumulation models with r: a practical guide to hierarchical bayesian methods
url http://hdl.handle.net/20.500.11937/77775