<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><SPAN class=051253118-30072003><FONT size=1><FONT face=Arial size=2>There
is</FONT> </FONT><FONT face=Arial size=2>actually an example at the E-Prime
support site that shows how to rerun error trials by populating a List object
with the info from incorrect trials.</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial size=2><A
href="http://www.pstnet.com/e-prime/support/samples.asp?Mode=View&SampleID=15">http://www.pstnet.com/e-prime/support/samples.asp?Mode=View&SampleID=15</A></FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT size=1></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial size=2>With this approach,
all error trials are rerun after the regular trials have been run. If you
wanted to rerun error trials as they occurred, you would need to get into
some script which calls c.Log to write a line to the data file with the info
from the incorrect trial, then jumps back within the same trial (to the
beginning of the trial level Procedure) to run the same level (i.e., the one
currently selected from the List object). Something like the
following:</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial size=2>If
c.GetAttrib("Stim.ACC") = 0 Then</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003> <FONT face=Arial
size=2>c.Log</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003> <FONT face=Arial
size=2>GoTo Label1</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial size=2>End
If</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial size=2>....where Stim is
the name of the object collecting the input, and Label1 occurs at the beginning
of the trial level Procedure.</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial size=2>Hope this
helps. To test this out, you might want to put the script above into an
InLine at the end of the TrialProc in BasicRT, and add Label1 to the beginning
of the TrialProc.</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial size=2>Amy
Eschman</FONT></SPAN></DIV>
<DIV><SPAN class=051253118-30072003>
<P><FONT size=2>*** DISCLAIMER: ALL VIEWS EXPRESSED ARE MY OWN AND DO NOT
NECESSARILY<SPAN class=051253118-30072003> </SPAN></FONT><FONT size=2>REFLECT
THOSE OF PSYCHOLOGY SOFTWARE TOOLS *** </FONT></P></SPAN></DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=051253118-30072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT size=2>-----Original
Message-----<BR><B>From:</B> Ben Robinson
[mailto:BRobinso@mprc.umaryland.edu]<BR><B>Sent:</B> Wednesday, July 30, 2003
1:23 PM<BR><B>To:</B> eprime@mail.talkbank.org;
klee@projects.sdsu.edu<BR><B>Subject:</B> Re:<BR><BR></FONT></DIV>
<DIV><FONT size=1>you might try adding an additional List object at the end of
your program. keep a running tally using in line scripts each time you
get an anticipatory response, then populate the list at the end of your
program with as many repeat trials as you need.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=1>so you'd have an in line script like this after each
stimulus to which the subject must respond:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=1>Dim anticipatoryResponse As Integer</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=1>If TextDisplay.RT <= 200 Then</FONT></DIV>
<DIV><FONT size=1> anticipatoryResponse =
anticipatoryResponse + 1</FONT></DIV>
<DIV><FONT size=1>End If</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=1>and then after all your trials have initially been run, you
add the necessary number of repeat trials to the last list (let's call it
RepeatList):</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=1>RepeatList.SetWeight "1",
"anticipatoryResponse"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=1>something like that ought to work.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=1>i think.<BR></FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT size=1>ben robinson</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT size=1><BR></FONT>>>> Kara Lee
<klee@projects.sdsu.edu> 07/30/03 12:49PM >>><BR>Hi,<BR><BR>I
have a question about stopping trials that are re-run from being
<BR>overwritten. I would like to re-run trials that are anticipatory
<BR>(response time is less than 200 ms) but do not want that trial data <BR>to
be overwritten. So I'd like to log the data for both the <BR>anticipatory
trial and the trial the will be re-run after it. If <BR>anyone has a
suggestion as to how to do this, it would be greatly
<BR>appreciated.<BR><BR>Thanks, Kara.<BR>-- <BR>Kara Lee<BR>Graduate Research
Assistant<BR>Center for Behavioral Teratology<BR>San Diego State
University<BR>6363 Alvarado Ct., Suite 209<BR>San Diego, CA 92120<BR>(619)
594-3928<BR><BR></DIV></BLOCKQUOTE></BODY></HTML>