- project: Open Source, Web-based IAT
- authors: Winter Mason ([email protected])
-
Steven Allon
-
Pinar Ozturk
- source: https://github.com/winteram/IAT
This is meant to be an easy-to-use implicit association test (see Greenwald, McGhee, & Schwartz, 1998) for use by interested psychologists. The flow of the test is driven by javascript, and participant responses are stored in a comma-delimited text file. At the end of the test, a simple effect size is calculated to determine the participant's tendency to find two categories more congruent than the other two categories.
To create and modify versions of the IAT, and to make them available to participants, the experimenter can direct their browser to the "experimenter.php" file.
Server-side: PHP (with permission to write files in directory) (optional) MySQL with root access Client-side: Javascript-enabled web browser
-
copy the folder to a publicly accessible folder on your web server
-
from a shell prompt (i.e., Terminal in Mac or Linux, PuTTy in Windows) type 'sh setup.sh'
-
create a new version of the IAT using the experimenter tool (Direct your browser to [yourserver.com]/IAT/experimenter.php)
-
[only necessary if IAT uses images] After creating the template, upload the images to the folder "IAT/[template name]/img"
-
Direct participants to your IAT! (e.g., [yourserver.com]/IAT)
The output files are in the "output" folder within the template folder for the active IAT.
The columns are as follows:
- Trial #
- Round #
- Category Label
- Category Index (which item within the category)
- Errors
- Reaction Time (in milliseconds)
Prerequisites: git-scm, docker. Inside *nix terminal or windows command-line, cd into a directory of yours and:
git clone https://github.com/pazams/IAT.git
cd IAT
docker build -t my-iat .
docker run -d -p 3000:80 --name my-running-iat my-iat
docker exec -it my-running-iat bash
# following 2 line inside docker image
sh setup.sh
exit
now, in your browser navgiate to these urls:
Note this setup is for local environment.
For production environment, additional security measures are needed. It is recommended to deny direct access to some php files. Read more about it here.
Also it is advised to remove experimenter.php
in production, or add authentication layer.