how to score the tower of hanoi task

282 views
Skip to first unread message

jv

unread,
Oct 27, 2016, 6:25:09 PM10/27/16
to E-Prime
Hello. I want to know how to score the Tower of Hanoi task that can be downloaded, here: http://step.psy.cmu.edu/scripts-plus/.
There are a few columns with different names that suggest the time that took the individual to complete each tower (15 tirals). I need to know which columns to use
for evaluating how the subject performed 
I put in the analysis to count the correct trials and incorrect trials or errors but I cant seem to get em. I get same count of corrects as incorrect.

Also if anyone knows of recent literature using this task would you be able to share it?

jv

jv

unread,
Oct 27, 2016, 7:10:20 PM10/27/16
to E-Prime
Also when I run through the task I get this: ! A Fatal Error occurred while generating the initialization script for the E-Object named 'WaitForRespons'
Error Message: Vertical blank synchronization required when 
DisplayDevice.FlippingEnabled = Yes

Paul Groot

unread,
Oct 31, 2016, 10:53:20 AM10/31/16
to e-p...@googlegroups.com
The sync issue is probably caused by a conversion to a newer version of eprime. You could probably fix it by enabling the blanking interval sync or the WaitForRespons object.

Attached is a matlab script that performs some postprocessing on the raw data. It recalculates some basic statistics and total times that are corrected for performing the same action again after an error. You can use the script to create a single output file with all totals:

all_stats = [];
all_stats = get_toh_stats('file1.txt', all_stats);
all_stats = get_toh_stats('file2.txt', all_stats);
...
writetable(all_stats, ['TOH_stats.xls']);


Or use a for-loop to scan all output files in a specific folder:

        all_stats = [];
        files = dir('*.txt');
        for iFile =1:length(files)
            theFile = files(iFile).name;
            all_stats = get_toh_stats(theFile, all_stats);
        end
        writetable(all_stats, ['TOH_stats.xls']);


Best,
Paul

--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f04d56bc-8b94-46a3-a0b1-d540c4889d56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

get_toh_stats.m

Andrew Ribner

unread,
Jun 13, 2017, 5:37:08 PM6/13/17
to E-Prime
Hi Paul -- 

Really helpful that you've been active on this forum! I'm using the newest version of TOHx, and there are variables being calculated by the script itself. Could you clarify the difference between the SumThinkTime and SumThinkTime1? They're correlated at ~.5 in my sample, so I know it's not simply a transformation of the same values.

Thanks!
Andrew Ribner
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.

Paul Groot

unread,
Jun 14, 2017, 8:35:58 AM6/14/17
to e-p...@googlegroups.com
Hi Andrew,

If I remember correctly, ThinkTime1 was the time taken before the first move. The other includes pre-move times of all moves within a single trial. Can't check the sources though, without the dongle. :(

Best,
Paul

To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.

To post to this group, send email to e-p...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages