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...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Université d'Ottawa
2020-04-01
|
Series: | Tutorials in Quantitative Methods for Psychology |
Subjects: | |
Online Access: | https://www.tqmp.org/RegularArticles/vol16-2/p133/p133.pdf |
id |
doaj-9a3fb838b8904f0da48ec6145796ba37 |
---|---|
record_format |
Article |
spelling |
doaj-9a3fb838b8904f0da48ec6145796ba372020-11-25T02:22:56ZengUniversité d'OttawaTutorials in Quantitative Methods for Psychology1913-41262020-04-0116213315310.20982/tqmp.16.2.p133Evidence accumulation models with R: A practical guide to hierarchical Bayesian methodsLin, Yi-ShinStrickland, LukeEvidence 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.https://www.tqmp.org/RegularArticles/vol16-2/p133/p133.pdfpopulation-based markov chain monte carlobayesian cognitive modelinghierarchical cognitive models.r, ggdmc, c++ |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Lin, Yi-Shin Strickland, Luke |
spellingShingle |
Lin, Yi-Shin Strickland, Luke Evidence accumulation models with R: A practical guide to hierarchical Bayesian methods Tutorials in Quantitative Methods for Psychology population-based markov chain monte carlo bayesian cognitive modeling hierarchical cognitive models. r, ggdmc, c++ |
author_facet |
Lin, Yi-Shin Strickland, Luke |
author_sort |
Lin, Yi-Shin |
title |
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_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_sort |
evidence accumulation models with r: a practical guide to hierarchical bayesian methods |
publisher |
Université d'Ottawa |
series |
Tutorials in Quantitative Methods for Psychology |
issn |
1913-4126 |
publishDate |
2020-04-01 |
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. |
topic |
population-based markov chain monte carlo bayesian cognitive modeling hierarchical cognitive models. r, ggdmc, c++ |
url |
https://www.tqmp.org/RegularArticles/vol16-2/p133/p133.pdf |
work_keys_str_mv |
AT linyishin evidenceaccumulationmodelswithrapracticalguidetohierarchicalbayesianmethods AT stricklandluke evidenceaccumulationmodelswithrapracticalguidetohierarchicalbayesianmethods |
_version_ |
1724860911075721216 |