Artículo
Running Online Behavioral Experiments Using R: Implementation of a Response-Time Decision Making Task as an R-Shiny App
Fecha de publicación:
01/2022
Editorial:
Ubiquity Press
Revista:
Journal of Cognition
ISSN:
2514-4820
Idioma:
Inglés
Tipo de recurso:
Artículo publicado
Clasificación temática:
Resumen
Online experiments allow for fast, massive, cost-efficient data collection. However, uncontrolled conditions in online experiments can be problematic, particularly when inferences hinge on response-times (RTs) in the millisecond range. To address this challenge, we developed a mobile-friendly open-source application using R-Shiny, a popular R package. In particular, we aimed to replicate the numerical distance effect, a well-established cognitive phenomenon. In the task, 169 participants (109 with a mobile device, 60 on a desktop computer) completed 116 trials displaying two-digit target numbers and decided whether they were larger or smaller than a fixed standard number. Sessions lasted ∼7-minutes. Using generalized linear mixed models estimated with Bayesian inference methods, we observed a numerical distance effect: RTs decreased with the logarithm of the absolute difference between the target and the standard. Our results support the use of R-Shiny for RT-data collection. Furthermore, our method allowed us to measure systematic shifts in recorded RTs related to different OSs, web browsers, and devices, with mobile devices inducing longer shifts than desktop devices. Our work shows that precise RT measures can be reliably obtained online across mobile and desktop devices. It further paves the ground for the design of simple experimental tasks using R, a widely popular programming framework among cognitive scientists.
Palabras clave:
NUMERICAL COGNITION
,
ONLINE EXPERIMENTS
,
R-SHINY
,
RESPONSE TIME
Archivos asociados
Licencia
Identificadores
Colecciones
Articulos (IC)
Articulos de INSTITUTO DE CALCULO
Articulos de INSTITUTO DE CALCULO
Citación
Perez Santangelo, Agustin; Solovey, Guillermo; Running Online Behavioral Experiments Using R: Implementation of a Response-Time Decision Making Task as an R-Shiny App; Ubiquity Press; Journal of Cognition; 5; 1; 1-2022; 1-18
Compartir
Altmétricas