| Literature DB >> 23805326 |
Thomas W Schubert1, Carla Murteira, Elizabeth C Collins, Diniz Lopes.
Abstract
ScriptingRT is a new open source tool to collect response latencies in online studies of human cognition. ScriptingRT studies run as Flash applets in enabled browsers. ScriptingRT provides the building blocks of response latency studies, which are then combined with generic Apache Flex programming. Six studies evaluate the performance of ScriptingRT empirically. Studies 1-3 use specialized hardware to measure variance of response time measurement and stimulus presentation timing. Studies 4-6 implement a Stroop paradigm and run it both online and in the laboratory, comparing ScriptingRT to other response latency software. Altogether, the studies show that Flash programs developed in ScriptingRT show a small lag and an increased variance in response latencies. However, this did not significantly influence measured effects: The Stroop effect was reliably replicated in all studies, and the found effects did not depend on the software used. We conclude that ScriptingRT can be used to test response latency effects online.Entities:
Mesh:
Year: 2013 PMID: 23805326 PMCID: PMC3689727 DOI: 10.1371/journal.pone.0067769
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Figure 1Outline of a Stroop study implemented in ScriptingRT.
Excerpt from a ScriptingRT source code file implementing a Stroop paradigm. The tags shown set preferences (tags 1 and 2), create an introductory screen and an instruction screen (3–5) as well as one experimental block with two items (6–12). Tags 1 and 2 are general Apache Flex components. Tags 9 and 12 also embed a general Flex object, a
Overview of main tags and attributes introduced by the ScriptingRT library.
| Tag | Explanation |
| <WelcomeScreen/> | Defines the contents of the first screen, which is equipped with a button to be pressed |
| <Part/> | Creates a block of items and instructions that are not collecting latencies |
| <Instruction/> | Displays an instruction |
| <TestPart/> | Creates a block of items that collect responses and latencies |
| <Item/> | Creates an item that can contain one or more frames |
| <Frame/> | Creates a frame, the basic unit of stimuli presentation |
| response | Attribute of <Part/> and <TestPart>, defines the way a frame can end. Can be keyboard event, mouse event, or time event. |
| positive, negative, noresponse | Attributes of <TestPart/>, define expected positive and negative response, and maximum time for answer |
| scramble | Defines way of item randomization in a <TestPart/> |
| outputURL, protocolFormatHead, protocolFormatItem, | Used in the opening <Application/> tag, define location and formatting of results output |
| debug | Used in the opening <Application/> tag, displays protocol for debugging at run time |
| finishedButtonValue | Used in the opening <Application/> tag, sets exit message |
| <repeat/> | Attribute of <TestPart/>, creates frames that are repeated before frames in every item |
| <Feedback/>, <correct/>, <incorrect/>, <miss/> | Creates feedback frames to be displayed after each item |
| <branches/>, <Branch/> | Attributes of TestParts, implementing branching between them |
Overview of the Studies.
| Study | Data Collection | Hardware and Software |
| 1 | Timing study with external microcontroller | Arduino Leonardo board connected to Sony Vaio Core i5 laptop, ScriptingRT running in various browsers, and DMDX |
| 2 | Timing study with external microcontroller and solenoid | Arduino Uno board interacting with Intel Core i7 desktop computer, ScriptingRT and various other packages |
| 3 | Timing study with external microcontroller measuring presentation times | Arduino Uno board measuring Sony Vaio Core i5 laptop, ScriptingRT in Adobe Flash player and Flash plugin in Firefox, and DMDX |
| 4 | Online data collection with human participants | Various hardware and flash/browser software programs used by participants |
| 5 | Laboratory data collection with human participants | Sony Vaio Core i5 laptop, ScriptingRT running in Firefox with Adobe Flash plugin |
| 6 | Online data collection with human participants | Various hardware used by participants |
Means and SDs of measured response times (in ms) by software (Study 2).
| Descriptives | Comparison of Variances | |||
| Software |
|
|
|
|
| ScriptingRT | 92.80 | 4.21 | – | – |
| E-Prime SRB (PR = 0) | 56.91 | 1.37 | 131.89 | <.001 |
| E-prime SRB (PR = 2000) | 56.47 | 1.85 | 102.56 | <.001 |
| E-prime (PR = 0) | 84.58 | 6.25 | 12.84 | <.001 |
| E-prime (PR = 2000) | 70.96 | 3.30 | 7.57 | .006 |
| DMDX | 68.24 | 3.18 | 10.75 | .001 |
| Inquisit | 70.05 | 3.20 | 9.78 | .002 |
| Superlab | 98.18 | 4.17 | <1 | .822 |
| InquisitWeb | 66.21 | 2.74 | 24.04 | <.001 |
Note. Last two columns show comparisons of each variance to the variance measured by ScriptingRT (first row). All measures used a keyboard except those labelled SRB, indicating Serial Response Box. PR = PreRelease in E-Prime.
Presentation times by DMDX and ScriptingRT (in ms, Study 3).
| Software | Target Time |
|
|
| DMDX | 16.66 (1 tic) | 16.63 | 1.11 |
| 33.33 (2 tics) | 33.20 | 2.56 | |
| 49.99 (3 tics) | 49.78 | 2.17 | |
| 66.56 (4 tics) | 66.42 | 2.20 | |
| 83.32 (5 tics) | 83.20 | 1.53 | |
| 166.64 (10 tics) | 166.43 | 2.81 | |
| Flash Standalone Player, 60 Hz refresh rate | 100 | 124.57 | 10.86 |
| 200 | 223.43 | 11.70 | |
| 300 | 323.64 | 10.45 | |
| Flash plugin in Firefox, 24 Hz refresh rate | 100 | 124.84 | 11.45 |
Note. Measured with an Arduino connected to a photodiode, for 250 switches between a black and a white screen (Study 3).
Figure 2Stroop effects and confidence intervals.
Estimated mean Stroop effect (average difference between response latencies in incongruent and congruent trials in ms) and their 95% confidence intervals, obtained in three studies with five samples. Studies 4 and 6 were run online, Study 5 in the laboratory. Software varied within participants in Studies 5, and between participants in Study 6.