Current version: 1.4 ()

This script will allow you to set up an IAT task for testing implicit attitudes. This script is meant to work in conjunction with Bill’s survey script or my survey form template.

There are two ways to set up an IAT task for your study:

Fill in the textboxes to create an IAT

The easy way: Go to this page and fill in the textboxes

Download and edit the IAT code

The fun way: Follow the instructions on this page and edit the code to your satisfaction

In addition, if you want more detailed information on any of the features, you may view the complete instructions.

Disclaimer: Javascript has a couple fundamental limitations with how it runs timed events. First, its internal clock can be off by about +/-15ms in some browsers (info). In addition, the processing speed of computers may cause events to take longer than they should (i.e. a 20ms prime may take 25ms instead). I have created a list of a few methods to compensate for these problems.

Features

The features of this IAT script include the following:

If you need more complex features than what is offered here, check out the RT script, which offers more flexibility.

Output

When participants complete the task, the output will consist of nine numbers for each one:

  1. The average response time of the first critical block (Block 3)
  2. The standard deviation of correct responses in the first critical block
  3. The error rate (proportion incorrect) of the first critical block
  4. The average response time of the second critical block (Block 5)
  5. The standard deviation of correct responses in the second critical block
  6. The error rate (proportion incorrect) of the second critical block
  7. The difference between the average response times of the two critical blocks: (Block 3 − Block 5)
  8. The standard deviation of response times for all correct responses in the two critical blocks
  9. The average error rate of the two critical blocks: (proportion incorrect for Block 3 + proportion incorrect for Block 5) / 2

Note: For those who wish to follow the scoring algorithm used by Greenwald, Nosek, & Banaji (2003), I’ve set up an Excel template to convert my script’s output into an approximation of their approach. However, this template cannot get back reaction times that have been truncated with upper or lower limits (outliers). Nevertheless, it should provide a pretty good approximation. If you wish to follow the method of Greenwald et al. to the letter, I recommend using my RT script, which provides the raw reaction time data so you have complete control over outliers, scoring algorithms, etc.