Consecutive correct response: accuracy check
Nolan, Karen
Nolan at NKI.RFMH.ORG
Tue Dec 12 16:12:20 UTC 2006
Dear Stephane - I'm no eprime expert, so this solution is not original - I just can't remember where I found it. I set up a counter (CorrectTrialCount in the script below) that is incremented every time the subject responds correctly but reset to zero every time the subject makes an error. On each trial the value of the counter is checked against a criterion (e.g. 12) and the procedure is terminated when the criterion is met.
If Slide2.ACC=1
CorrectTrialCount = CorrectTrialCount +1
else
CorrectTrialCount = 0
End If
If CorrectTrialCount = 6 then
TaskList.Terminate
End If
Hope this is helpful.
Karen A Nolan, PhD
Research Scientist
Nathan Kline Institute for Psychiatric Research
140 Old Orangeburg Road
Orangeburg, NY 10962
p: 845-398-6572 f: 845-398-6566
-----Original Message-----
From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org]On Behalf Of De Brito, Stephane
Sent: Tuesday, December 12, 2006 10:48 AM
To: eprime at mail.talkbank.org
Subject: Consecutive correct response: accuracy check
Dear e-prime experts,
In my last message, I was experiencing problems creating the object alternation task. Well, since then we have managed to write the script and the task is running fine. I would like to thank Leisha Wharfield for her suggestions which were helpful. If anyone is interested in the task, please get in touch. If you can improve the task or the scripts, we would be very happy to hear from you.
However, I still have to finetune the task: I would like to write a bit of script which will terminate my experiment once the participant has achieved 12 CONSECUTIVE correct responses. I have looked at the manual and the archives, but the only answers I found was on how to check the average or the number of correct responses. If anyone has suggestions as to how the script should be written to check consecutive correct responses, I would very much appreciate to hear from you.
Best,
stephane
------------------------------------------
Stephane De Brito, PhD student
Institute of Psychiatry
King's College London
Forensic Mental Health Science Department
Box P023
De Crespigny Park
Denmark Hill
London SE5 8AF
United Kingdom
Tel: + 44 (0) 20 7848 0711
Fax: + 44 (0) 20 7848 0754
website: www.iop.kcl.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20061212/7c7a7885/attachment.htm>
More information about the Eprime
mailing list