Return to the Solving Anagrams page
SOLVING ANAGRAMS (uses textbox input)
Script Author: Katja Borchert, Ph.D. (email@example.com) for Millisecond Software, LLC
last updated: 02-09-2018 by K.Borchert (firstname.lastname@example.org) for Millisecond Software LLC
Copyright © 02-09-2018 Millisecond Software
This script implements the 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.
By default, participants work on 30 5-letter anagrams in increasing difficulty*. They have 10s (default) to come
with a solution. Once they have a solution, they need to press and then type in the solution (limit of 10s).
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_textboxes_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
latency: the response latency (in ms)
/anagramRT: stores the latency (in ms) of Spacebar press
/firstLetterRT: stores the latency of entering the first letter after Spacebar press (time btw. hitting spacebar and entering first letter)
/proposedSolutionRT: time (in ms) it took to type solution; measured from spacebar press until solution was submitted
/proposedSolution: stores the proposed anagram solution
/correct: 1 = proposed solution is correct; 0 = otherwise
/solutionFlag: 1 = solution is flagged (proposedSolutionRT > parameters.flagSolutionRT)
0 = solution is not flagged
(2) Summary data file: 'solvinganagrams_textboxes_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 Spacebar is hit
/meanRT: mean solution time (in ms); measured from onset of anagram until Spacebar is hit
/medianFirstLetterRT: median first letter input after spacebar (in ms); measured from spacebar press until first letter is entered into textbox
/meanFirstLetterRT: mean first letter input after spacebar (in ms); measured from spacebar press until first letter is entered into textbox
/medianProposedSolutionRT: median proposed solution time (in ms); measured from spacebar press until solution was submitted
/meanProposedSolutionRT: mean proposed solution time (in ms); measured from spacebar press until solution was submitted
/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 Spacebar is hit)
/medianRT_10: median correct latency (in ms) for anagram 1-10 (latency measured from onset of anagram until Spacebar 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 Spacebar is hit)
/medianRT_20: median correct latency (in ms) for anagram 11-20 (latency measured from onset of anagram until Spacebar 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 Spacebar is hit)
/medianRT_30: median correct latency (in ms) for anagram 21-30 (latency measured from onset of anagram until Spacebar 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
evengroupnumbers 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 solution
=> 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)
- if the Spacebar is hit within those 10s, participants can type in their response into a textbox
(if participants take longer than parameters.solutionFlagRT (10s), the solution is flagged)
- once the participant has submitted the final solution, feedback is provided
Anagram Presentation (for max. 10s) -> Textbox (if applicable)->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 spacebar,
the solution is flagged
(Note: there is no timelimit on typing in the solution to the anagram after pressing Spacebar.
Thus, participants could potentially press Spacebar without knowing the solution and then
use extra time to think about the solution before submitting it)