de Leeuw Joshua R, Motz Benjamin A
Department of Psychological and Brain Sciences, Indiana University, 1101 E. 10th Street, Bloomington, IN, 47405, USA.
Behav Res Methods. 2016 Mar;48(1):1-12. doi: 10.3758/s13428-015-0567-2.
Behavioral researchers are increasingly using Web-based software such as JavaScript to conduct response time experiments. Although there has been some research on the accuracy and reliability of response time measurements collected using JavaScript, it remains unclear how well this method performs relative to standard laboratory software in psychologically relevant experimental manipulations. Here we present results from a visual search experiment in which we measured response time distributions with both Psychophysics Toolbox (PTB) and JavaScript. We developed a methodology that allowed us to simultaneously run the visual search experiment with both systems, interleaving trials between two independent computers, thus minimizing the effects of factors other than the experimental software. The response times measured by JavaScript were approximately 25 ms longer than those measured by PTB. However, we found no reliable difference in the variability of the distributions related to the software, and both software packages were equally sensitive to changes in the response times as a result of the experimental manipulations. We concluded that JavaScript is a suitable tool for measuring response times in behavioral research.
行为研究人员越来越多地使用基于网络的软件(如JavaScript)来进行反应时间实验。尽管已经有一些关于使用JavaScript收集的反应时间测量的准确性和可靠性的研究,但在心理相关的实验操作中,这种方法相对于标准实验室软件的表现如何仍不清楚。在此,我们展示了一项视觉搜索实验的结果,在该实验中,我们使用心理物理学工具箱(PTB)和JavaScript测量了反应时间分布。我们开发了一种方法,使我们能够同时在两个系统上运行视觉搜索实验,在两台独立的计算机之间交错试验,从而将实验软件以外的因素的影响降至最低。JavaScript测量的反应时间比PTB测量的反应时间长约25毫秒。然而,我们发现与软件相关的分布变异性没有可靠的差异,并且两个软件包对实验操作导致的反应时间变化同样敏感。我们得出结论,JavaScript是行为研究中测量反应时间的合适工具。