Return to the Mental Rotation Task for Children (Mouse) page
						
									MENTAL ROTATION for CHILDREN - with training via mouse movements
SCRIPT INFO

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 02-10-2015
last updated: 01-19-2016 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC

Copyright © 01-19-2016 Millisecond Software

BACKGROUND INFO

											*Purpose*
This script implements a Mental Rotation Test and Training for children as published by:

Wiedenbauer, G. & Jansen-Osmann, P. (2008). Manual training of mental rotation in children.
Learning and Instruction, 18, 30-41.

This script implements a rotation training that uses the mouse (or alternatively: touchscreen) as opposed to the 
joystick training implemented by Wiedenbauer & Jansen-Osmann (2008)

											  *Task*
For pre-posttest participants are presented 2 pictures of the same animal:
on the left, participants see the animal with a 0° rotation (the base stimulus) and
on the right, participants see a rotated animal (8 different rotation angles:
~22.5°, ~67.5°, ~112.5°, ~157.5°; clock and counterclockwise). 
The rotated pic is either derived from the base stimulus or it is derived from the
mirror image of the base. Participants are asked to press a 'green' response button if the two animals are the same
and a 'red' response button if they are different.
Training Module: Participant are asked to click on the rotated animal (the comp stimulus) 
and rotate the animal with the mouse into the position of the base stimulus.


DATA FILE INFORMATION: 
The default data stored in the data files are:

(1) Raw data file: 'MentalRotation_Children_mouse_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 
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) 

/animalnumber:					stores the current animal (1 = bear....24 = turtle, in alphabetical order) being tested
/direction						stores the current direction being tested: 1 = base looks left; 2 = base looks right
/oppositedirection:				stores the current opposite direction of the base
/angle:							stores the current angle being tested (2 = 22.5° clockwise....9 = 157.5° counterclockwise)
/sameness:						1 = comp is the same; 2 = comp is mirror image (looks in opposite direction)

/pretest1-
/pretest6:						store the 6 animals assigned to the pretest
/training1-
/training12:					store the 12 animals assigned to the training
/posttest1-
/posttest12:					store the 12 animals assigned to the posttest



stimulusitem:					the presented stimuli in order of trial presentation
response:						the participant's response
correct:						the correctness of the response (1 = correct; 0 = incorrect)
latency: 						the response latency (in ms)

Pretest Summary Variables
/countpretest_same:								counts all pretest Same trials
/countpretest_different:						counts all pretest Different trials
/pretestHits_22 -
/pretestHits_157:								counts all hits for pretest, separately for each angle (averaged over clockwise and counterclockwise rotations)
/pretestMisses_22-
/pretestMisses_157:								counts all Misses for pretest, separately for each angle
/pretestFAs_22-
/pretestFAs_157:								counts all False Alarms for pretest, separately for each angle
/pretestCRs_22-
/pretestCRs_157:								counts all Correct Rejections for pretest, separately for each angle

posttest Summary Variables
/countposttest_same:							counts all posttest Same trials
/countposttest_different:						counts all posttest Different trials
/posttestHits_22 -
/posttestHits_157:								counts all hits for posttest, separately for each angle
/posttestMisses_22-
/posttestMisses_157:							counts all Misses for posttest, separately for each angle
/posttestFAs_22-
/posttestFAs_157:								counts all False Alarms for posttest, separately for each angle
/posttestCRs_22-
/posttestCRs_157:								counts all Correct Rejections for posttest, separately for each angle

(2) Summary data file: 'MentalRotation_Children_mouse_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)
/propHits_pretest:				proportion hits in same trials on the pretest (averaged over all angles)  (hit = correct in same trials) 
/propFAs_pretest:				proportion False Alarms in different trials on the pretest (FA = incorrect in different trials => pressing 'same' for mirror images)
/propHits_posttest:				proportion hits in same trials on the posttest (averaged over all angles)
/propFAs_posttest:				proportion False Alarms in different trials on the posttest

/properror_pretest:				proportion errors on the pretest (averaged over all angles)
/properror_pretest22:			proportion errors for 22.5° angles in pretest
/properror_pretest67:			proportion errors for 67.5° angles in pretest
/properror_pretest112:			proportion errors for 112.5° angles in pretest
/properror_pretest157:			proportion errors for 157.5° angles in pretest

/properror_posttest:			proportion errors on the posttest (averaged over all angles)
/properror_posttest22:			proportion errors for 22.5° angles in posttest
/properror_posttest67:			proportion errors for 67.5° angles in posttest
/properror_posttest112:			proportion errors for 112.5° angles in posttest
/properror_posttest157:			proportion errors for 157.5° angles in posttest

/meanRTpretest:					mean latency of hits in pretest averaged over all angles (hit = correct in same trials)
/meanRTpretest_22:				mean latency of hits for 22.5° angles in pretest (hit = correct in same trials)
/meanRTpretest_67:				mean latency of hits for 67.5° angles in pretest (hit = correct in same trials)
/meanRTpretest_112:				mean latency of hits for 112.5° angles in pretest (hit = correct in same trials)
/meanRTpretest_157:				mean latency of hits for 157.5° angles in pretest (hit = correct in same trials)

/meanRTposttest:				mean latency of hits in posttest averaged over all angles (hit = correct in same trials)
/meanRTposttest_22:				mean latency of hits for 22.5° angles in posttest (hit = correct in same trials)
/meanRTposttest_67:				mean latency of hits for 67.5° angles in posttest (hit = correct in same trials)
/meanRTposttest_112:			mean latency of hits for 112.5° angles in posttest (hit = correct in same trials)
/meanRTposttest_157:			mean latency of hits for 157.5° angles in posttest (hit = correct in same trials)

/properror_training: 			prop errors during training (across all angles)

EXPERIMENTAL SET-UP

Practice:
* trials start with the presentation of a fixation cross for 500ms (editable value) followed by
* 24 trials = 2 animals * 6 rotation angles * 2 presentations (one with same comparison animal, the other with mirror comparison animal)
Note: the animals presented during practice are not used for any test condition
* 2 pictures of the same animal presented for each trial: left is the base (0° rotation); on the right is the rotated comparison stimuli
* 6 rotation angles: 15°, 90°, 165° degrees clockwise and counterclockwise
(Note: Wiedenbauer & Jansen-Osmann, 2008, don't specify the number of animals nor the practice angles used)
* half the base animals look to the left, the other to the right
* half the trials are 'same' trials (the other half present the mirror image as the comparison animal)
* random sampling without replacement
* positive and negative feedback is given by smiley/frowny faces

Pretest
* trials start with the presentation of a fixation cross for 500ms (editable value) followed by
* 96 trials= 6 animals * 8 angles * 2 presentations (one with same comparison animal, the other with mirror comparison animal)
* 2 pictures of the same animal presented for each trial: left is the base (0° rotation); on the right is the rotated comparison stimuli
* 8 rotation angles: ~22.5°, ~67.5°, ~112.5°, ~157.5° (clock and counterclockwise)
* half the bases look to the left, the other to the right
* half the trials are 'same' trials (the other half present the mirror image as the comp animal)
* random sampling without replacement
* no feedback

Training
* one demo trial
* 192 trials = 12 animals (different from pretest) * 8 angles (same as for pretest) * 2 repetitions
* 2 pictures of the same animal presented for each trial: left is the base (0° rotation); on the right is the rotated comparison stimuli
* 8 rotation angles: ~22.5°, ~67.5°, ~112.5°, ~157.5° (clock and counterclockwise)
* participants can rotate the comparison stimuli clock and counterclockwise by 'dragging' the picture via mousemovements
(participants are asked to position the mouse on the face of the animal and drag it around)
(!Note: the rotated pictures presented are the same 8 angles as used for the pre- and posttest;
Wiedenbauer & Jansen-Osmann, 2008, may have used a wider spectrum of angles for rotation purposes)
* if comparison stimuli looks like the base, participants are asked to press the red mouse button (right mouse button)
(Note: if the mouse coordinates fall within 15° degrees above or below the x-axis, the picture is rotated into
base position)
* feedback is provided

Posttest
* trials start with the presentation of a fixation cross for 500ms (editable value) followed by
* 192 trials= 12 animals * 8 angles * 2 presentations (one with same comparison animal, the other with mirror comparison animal)
* 2 pictures of the same animal presented for each trial: left is the base (0° rotation); on the right is the rotated comparison stimuli
* 8 rotation angles: ~22.5°, ~67.5°, ~112.5°, ~157.5° (clock and counterclockwise)
* half the bases look to the left, the other to the right
* half the trials are 'same' trials (the other half present the mirror image as the comparison animal)
* random sampling without replacement
* no feedback
* 6 of the animals presented for the posttest are also used during training; the remaining 6 are new

!Note: assignment of 24 animals to pretest, training, posttest
In this script, the 24 animals are randomly assigned to pretest (6), training (12), posttest (12) by default.
Posttest and training share 6 animals. The assignment is therefore different for each participant.
Wiedenbauer & Jansen-Osmann (2008) used the following predetermined assignment
A. pretest: elephant; fox; alligator; cow; leopard; horse.
B. rotation training: bear; donkey; dog; pig; tiger; goat; monkey; bunny; cat; mouse; turtle; sea lion.
C. posttest: bear; donkey; dog; pig; tiger; goat; camel; lion; rhinoceros; deer; sheep; racoon.

To use this predetermined assignment, go to EDITABLE CODE -> Editable Lists -> list.assignanimals
and follow instructions.

STIMULI
Stimuli are animals from the 'Snodgrass and Vanderwart 'Like' Objects' introduced by

Rossion, B., & Pourtois, G. (2004). Revisiting Snodgrass and Vanderwart's object set: 
The role of surface detail in basic-level object recognition. Perception, 33, 217-236. 

The complete stimuli set can be downloaded at:
http://wiki.cnbc.cmu.edu/Objects
(Note: original link published in Rossion & Pourtois (2004) does not work as of Feb 2015)

The pictures used in this script were edited and rotated by Millisecond Software in 
Paint.net. All animals are presented on a black background.

2 Practice Stimuli: fish, frog
24 Test Stimuli:
alligator, bear, bunny, camel, cat, cow, deer, dog, donkey, elephant, fox, goat, horse
leopard, lion, monkey, mouse, pig, racoon, rhino, sealion, sheep, tiger, turtle

INSTRUCTIONS
The instructions used in this script are not original to Wiedenbauer & Jansen-Osmann (2008)
Instructions are presented via instruction slides that were prepared in 
Powerpoint by Millisecond Software (Powerpoint in zip file). 
Instruction slides can be exchanged under section Editable Code -> Editable Instructions
(Note: while the script works on tablets running Win 8 or higher (not Win RT) using
the touchscreen instead of the mouse, the instructions reference the mouse and may need to
be edited for touchscreen usage)

EDITABLE CODE:
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:

/fontsize_fixation:						fontsize of the fixation mark in screen height percentages (default: 15%)
/fixationduration:						presentation duration of the fixation stimulus (default: 500ms)

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Security Statement | Employment