Return to the Solving Anagrams (Requires Keyboard) page
Script Author: Katja Borchert, Ph.D. (firstname.lastname@example.org) for Millisecond Software, LLC
last updated: 02-09-2018 by K.Borchert (email@example.com) for Millisecond Software LLC
Copyright © 02-09-2018 Millisecond Software
This script implements an Anagram Solving Paradigm based in part on:
Novick, L., & Sherman, S. (2003). On the nature of insight solutions: Evidence from skill differences in anagram solution.
The Quarterly Journal of Experimental Psychology Section A, 56(2), 351-382.
Tresselt, M. E., & Mayzner, M. S. (1966). Normative solution times for a sample of 134 solution words and 378 associated anagrams.
Psychonomic Monograph Supplements, 1, 293-298.
Note: due to the nature of the trial set-up in this script, this script cannot be run on devices lacking a
keyboard. If the script detects a keyboardless run, it automatically aborts.
Script solvinganagrams_textboxes.iqx runs a similar task with textbox input that also runs on keyboardless
By default, participants work on 30 5-letter anagrams in increasing difficulty*. They have 10s (default) to come up
with a solution, specifically they have to enter the first letter of
the word within that timeframe.
Participants receive solution feedback.
*increasing difficulty: based on the median response times needed to solve the anagrams as
reported in Tresselt & Mayzner (1966)
DATA FILE INFORMATION:
The default data stored in the data files are:
(1) Raw data file: 'solvinganagrams_raw*.iqdat' (a separate file for each participant)*
build: Inquisit build
computer.platform: the platform the script was run on
date, time, subject, group: date and time script was run with the current subject/groupnumber
/form: A vs. B (different lists of anagrams that are matched in difficulty)
blockcode, blocknum: the name and number of the current block
trialcode, trialnum: the name and number of the currently recorded trial
(Note: not all trials that are run might record data; by default data is collected unless /recorddata = false is set for a particular trial/block)
/phase: 0 = demo
1: anagrams 1-10;
2: anagrams 11-20;
3: anagrams 21-30;
/anagramCount: counts the number of anagrams run
/anagram: stores the current anagram
/anagramSolution: stores the solution of the current anagram
response: the participant's response (scancode of last response input)
/keyResponse: scancode translation into a key response:
"submit", "correction", letter associated with last entered scancode, !(for invalid response)
latency: the response latency (in ms)
/anagramRT: stores the latency (in ms) of the first key entered
/firstLetter: stores the first letter entered
/proposedSolution: stores the proposed anagram solution
/proposedSolutionRT: time (in ms) it took to type solution; measured from time the first letter was entered to entering 'submit'
/correct: 1 = proposed solution is correct; 0 = otherwise
/countCorrections: number of corrections (=number of time backspace was used) for the currently proposed solution
/solutionFlag: 1 = solution is flagged (proposedSolutionRT > parameters.flagSolutionRT)
=> it took participant more than 10s (default) to enter the solution into the textbox
0 = solution is not flagged
(2) Summary data file: 'solvinganagrams_summary*.iqdat' (a separate file for each participant)*
script.startdate: date script was run
script.starttime: time script was started
script.subjectid: subject id number
script.groupid: group id number
script.elapsedtime: time it took to run script (in ms)
computer.platform: the platform the script was run on
/completed: 0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)
/form: form run (A vs. B)
/nr_anagrams: the number of anagrams presented (based on the provided item lists)
/ACC: proportion correctly solved anagrams
/medianRT: median solution time (in ms); measured from onset of anagram until first letter (of correct solutions) is hit
/meanRT: mean solution time (in ms); measured from onset of anagram until first letter (of correct solutions) is hit
/medianProposedSolutionRT: median proposed solution time (in ms); measured from entering first letter until solution is submitted
/meanProposedSolutionRT: mean proposed solution time (in ms); measured from entering first letter until solution is submitted
/meanCorrections: mean number of corrections made to proposed solution across all anagrams
correction = backspace is used for letter deletion
/countSolutionFlags: number of times a solution was flagged because values.proposedSolutionRT > parameters.flagSolutionRT (default: 10s)
for 30 anagrams:
/ACC_10: proportion correct solution for anagram 1-10
/meanRT_10: mean correct latency (in ms) for anagram 1-10 (latency measured from onset of anagram until first key is hit)
/medianRT_10: median correct latency (in ms) for anagram 1-10 (latency measured from onset of anagram until first key is hit)
/ACC_20: proportion correct solution for anagram 11-20
/meanRT_20: mean correct latency (in ms) for anagram 11-20 (latency measured from onset of anagram until first key is hit)
/medianRT_20: median correct latency (in ms) for anagram 11-20 (latency measured from onset of anagram until first key is hit)
/ACC_30: proportion correct solution for anagram 21-30
/meanRT_30: mean correct latency (in ms) for anagram 21-30 (latency measured from onset of anagram until first key is hit)
/medianRT_30: median correct latency (in ms) for anagram 21-30 (latency measured from onset of anagram until first key is hit)
* separate data files: to change to one data file for all participants (on Inquisit Lab only), go to section
"DATA" and follow further instructions
Script counterbalances the use of 2 anagram forms A vs. B by groupnumber:
odd groupnumbers run version A
even groupnumbers run version B
1. Demo Block: runs 1 demo trial (by default: additional demo anagrams can be added under section Editable Stimuli and the script will automatically adapt)
- demo trial: only accepts the correct first letter
=> if the first letter entered is incorrect, a solution hint is provided
=> if the time limit is up without a response, a solution hint is provided
- provides feedback
2. Test Block: runs 30 trials (by default: additional test anagrams can be added/removed under section Editable Stimuli and the script will automatically adapt)
- each anagram is presented for 10s (default, can be edited under section Editable Parameters)
- the first letter/key entered is taken as a response to terminate the anagram presentation
- once the participant has entered the Spacebar to submit the final solution, feedback is provided
- corrections of the provided solutions are possible (a count of all corrections is kept)
Anagram Presentation (for max. 10s), waits for first letter input -> Solution Trial: takes in the remaining letters until Spacebar is pressed to submit the solution -> Feedback
Anagram selection for FormA/FormB:
Tresselt & Mayzner (1966), Table1 lists anagrams of 5-letter words in increasing median solution times.
An increase in median solution time was taken as an indicator of increasing anagram difficulty in this script.
Attempts were made to match the 30 anagrams chosen for formA and formB as closely as possible
in increasing median solution times:
Mean(A) = 45.03s, SD(A) = 62.63s, Median(A) = 20.75s
Mean(B) = 45.08s, SD(B) = 62.38s, Median(B) = 20.75s
(see anagrampool.xlsx for individual solution times)
Anagrams and their solution can be easily replaced under section Editable Stimuli.
The task automatically adjusts if the number of anagrams changes.
provided by Millisecond Software under section Editable Instructions
check below for (relatively) easily editable parameters, stimuli, instructions etc.
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code to further customize your experiment.
The parameters you can change are:
/anagramFontSize: the size of the anagrams in percentage of canvas height (default: 5%)
/maxAnagramPresentationTime: the maximum presentation time (in ms) of the anagram (default: 10000ms)
/flagSolutionRT: if participant needs more than 10s (default) to enter the solution after hitting the first key,
the solution is flagged
(Note: there is no timelimit on typing in the solution to the anagram after entering the first letter.
Thus, participants could potentially press any key without knowing the solution and then
use extra time to think about the solution before finally submitting it)