<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: feedback on accuracy</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Taryn  - I would only use the Feedback object if you want to give trial by trial feedback. To display block by block feedback, </FONT></P>

<P><FONT SIZE=2>I set up a summation object (TC) and a counter (Trials) prior to the block.</FONT>
</P>

<P><FONT SIZE=2>Inline 1</FONT>
<BR><FONT SIZE=2>Set TC=New Summation</FONT>
<BR><FONT SIZE=2>Trials = 0</FONT>
</P>

<P><FONT SIZE=2>As part of the trial procedure, immediately after the stimulus display ("Stim"), a second inline keeps track of number of trials and total correct:</FONT></P>

<P><FONT SIZE=2>Inline 2</FONT>
<BR><FONT SIZE=2>If Stim.ACC =1then</FONT>
<BR><FONT SIZE=2>TC.AddObservation c.GetAttrib("Stim.ACC")</FONT>
<BR><FONT SIZE=2>End if</FONT>
<BR><FONT SIZE=2>Trials = Trials+1</FONT>
</P>

<P><FONT SIZE=2>Immediately after the List (block)I use a third inline to set the text ("Message") to be displayed in a text display object </FONT></P>

<P><FONT SIZE=2>Inline 3</FONT>
<BR><FONT SIZE=2>acc = CInt((Tc.Total/Trials)*100)</FONT>
<BR><FONT SIZE=2>c.SetAttrib "Message", "You scored " & acc & "% correct" </FONT>
</P>

<P><FONT SIZE=2>I hope this is helpful</FONT>
<BR><FONT SIZE=2>Karen Nolan</FONT>
</P>

<P><FONT SIZE=2> -----Original Message-----</FONT>
<BR><FONT SIZE=2>From:   Taryn Tacosa [<A HREF="mailto:ttacosa@hotmail.com">mailto:ttacosa@hotmail.com</A>] </FONT>
<BR><FONT SIZE=2>Sent:   Monday, July 21, 2003 1:04 PM</FONT>
<BR><FONT SIZE=2>To:     eprime@mail.talkbank.org</FONT>
<BR><FONT SIZE=2>Subject:        RE: feedback on accuracy</FONT>
</P>

<P><FONT SIZE=2>Thank you for the response. I will try to be more specific this time.</FONT>
</P>

<P><FONT SIZE=2>What I would like this feedback screen to look like is actually very simple. </FONT>
<BR><FONT SIZE=2>Feedback is being presented for the subject's benefit only and will not be </FONT>
<BR><FONT SIZE=2>the focus of the analysis, though we are logging all response values </FONT>
<BR><FONT SIZE=2>(standard logging values are checked). Specifically, a subject sees a series </FONT>
<BR><FONT SIZE=2>of 16 letters one at a time and is required to make (1) response to each </FONT>
<BR><FONT SIZE=2>letter. This response is either correct (ACC=1) or incorrect (ACC=0). After </FONT>
<BR><FONT SIZE=2>the series ends, I want the subject to see: "You got ##% correct". So, if </FONT>
<BR><FONT SIZE=2>the subject answered correctly to 14 out of the 16 letters, he would see </FONT>
<BR><FONT SIZE=2>"You got 87.5% correct!".</FONT>
</P>

<P><FONT SIZE=2>I have seen that the feedback object has "@ACC.MEAN" as one of its options, </FONT>
<BR><FONT SIZE=2>however, when I run the program using this (and citing the correct Input </FONT>
<BR><FONT SIZE=2>Object), the screen still gives accuracy for just the last response given </FONT>
<BR><FONT SIZE=2>(0% or 100%), rather than across all 16 responses. Is there something </FONT>
<BR><FONT SIZE=2>additional I'm required to do to enable this option to look at accuracy for </FONT>
<BR><FONT SIZE=2>all 16 responses?</FONT>
</P>

<P><FONT SIZE=2>I am thinking it may be easiest to not use the feedback display and to just </FONT>
<BR><FONT SIZE=2>use a counter to record accuracies and then write a simple formula for the % </FONT>
<BR><FONT SIZE=2>on a TextDisplay screen. Any thoughts on this would also be appreciated.</FONT>
</P>

<P><FONT SIZE=2>Thanks in advance for all input!</FONT>
</P>

<P><FONT SIZE=2>Taryn</FONT>
</P>
<BR>

<P><FONT SIZE=2>>From: "Tony Zuccolotto" <anthony.zuccolotto@pstnet.com></FONT>
<BR><FONT SIZE=2>>To: <eprime@mail.talkbank.org></FONT>
<BR><FONT SIZE=2>>Subject: RE: feedback on accuracy</FONT>
<BR><FONT SIZE=2>>Date: Mon, 21 Jul 2003 12:15:15 -0400</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Taryn,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Can you provide some more detail on what you want this accuracy feedback</FONT>
<BR><FONT SIZE=2>>to look like in your specific case?   It would also be helpful to have</FONT>
<BR><FONT SIZE=2>>an idea of how you intend to analyze these results (i.e. to verify that</FONT>
<BR><FONT SIZE=2>>you have everything critical logged in a manner which makes it easy to</FONT>
<BR><FONT SIZE=2>>use other tools in or out of E-Prime to perform your analysis).</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>As you have described your setup, I would expect that each dependent</FONT>
<BR><FONT SIZE=2>>measure is being logged as different variables within a single trial</FONT>
<BR><FONT SIZE=2>>(which may or may not be what you want).</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>As per the feedback, it sounds like you will have to do something out of</FONT>
<BR><FONT SIZE=2>>the ordinary, but it's definitely do-able with a little script.   An</FONT>
<BR><FONT SIZE=2>>depending on what you need you may get by with just setting few</FONT>
<BR><FONT SIZE=2>>attributes and then using the feedback object to display the</FONT>
<BR><FONT SIZE=2>>information.  If you describe the type of feedback you want under</FONT>
<BR><FONT SIZE=2>>whatever scenarios you can think of and someone on the list will likely</FONT>
<BR><FONT SIZE=2>>be able to respond with more a more specific approach.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Regards,</FONT>
<BR><FONT SIZE=2>>Tony</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>*** DISCLAIMER: ALL VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY</FONT>
<BR><FONT SIZE=2>>REFLECT THOSE OF PSYCHOLOGY SOFTWARE TOOLS ***</FONT>
<BR><FONT SIZE=2>>Anthony P. Zuccolotto</FONT>
<BR><FONT SIZE=2>>Vice President</FONT>
<BR><FONT SIZE=2>>Psychology Software Tools, Inc.</FONT>
<BR><FONT SIZE=2>>2050 Ardmore Boulevard</FONT>
<BR><FONT SIZE=2>>Suite 200</FONT>
<BR><FONT SIZE=2>>Pittsburgh, PA 15221-4610</FONT>
<BR><FONT SIZE=2>>Phone     412-271-5040</FONT>
<BR><FONT SIZE=2>>FAX       412-271-7077</FONT>
<BR><FONT SIZE=2>>Email     anthony.zuccolotto@pstnet.com</FONT>
<BR><FONT SIZE=2>>Internet  <A HREF="http://www.pstnet.com" TARGET="_blank">http://www.pstnet.com</A></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> > -----Original Message-----</FONT>
<BR><FONT SIZE=2>> > From: Ben Staab [<A HREF="mailto:staab@Waisman.Wisc.Edu">mailto:staab@Waisman.Wisc.Edu</A>]</FONT>
<BR><FONT SIZE=2>> > Sent: Monday, July 21, 2003 10:58 AM</FONT>
<BR><FONT SIZE=2>> > To: Taryn Tacosa; eprime@mail.talkbank.org</FONT>
<BR><FONT SIZE=2>> > Subject: Re: feedback on accuracy</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > If you just need to give a mean of their accuracy, you should be able</FONT>
<BR><FONT SIZE=2>>to</FONT>
<BR><FONT SIZE=2>> > use @ACC.MEAN on your feedback display object.  If you need more than</FONT>
<BR><FONT SIZE=2>>just</FONT>
<BR><FONT SIZE=2>> > a mean, take a look at FeedbackDisplay.ACCStats in the E-Basic Help.</FONT>
<BR><FONT SIZE=2>>It</FONT>
<BR><FONT SIZE=2>> > returns a Summation object that provides different statistical</FONT>
<BR><FONT SIZE=2>>functions</FONT>
<BR><FONT SIZE=2>> > like standard deviations and such.  Otherwise, if you are trying to</FONT>
<BR><FONT SIZE=2>>show a</FONT>
<BR><FONT SIZE=2>> > chart of some sort with the accuracy for each letter in the sequence</FONT>
<BR><FONT SIZE=2>> > individually, that could be a little trickier.  It seems from some of</FONT>
<BR><FONT SIZE=2>>the</FONT>
<BR><FONT SIZE=2>> > things that I've tried doing in my own scripts, that E-Prime writes</FONT>
<BR><FONT SIZE=2>>the</FONT>
<BR><FONT SIZE=2>> > individual trial results to the log file and then throws them out.  So</FONT>
<BR><FONT SIZE=2>>you</FONT>
<BR><FONT SIZE=2>> > may have to keep track of them yourself by doing something like this:</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > 1. In the user tab of the main script window, declare an integer array</FONT>
<BR><FONT SIZE=2>> > with</FONT>
<BR><FONT SIZE=2>> > 16 slots, and a counter:</FONT>
<BR><FONT SIZE=2>> >          Dim MyArray(1-16) as Integer</FONT>
<BR><FONT SIZE=2>> >          Dim TrialsCounter as Integer</FONT>
<BR><FONT SIZE=2>> >          TrialsCounter = 1</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > 2. Put an inline script right after each letter is displayed that will</FONT>
<BR><FONT SIZE=2>> > insert the accuracy into  the array:</FONT>
<BR><FONT SIZE=2>> >          MyArray(TrialsCounter) = TheNameOfYourTextDisplayObject.ACC</FONT>
<BR><FONT SIZE=2>> >          TrialsCounter = TrialsCounter+1</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > 3. When all the trials have been completed (so make sure this is</FONT>
<BR><FONT SIZE=2>>outside</FONT>
<BR><FONT SIZE=2>> > your trialsproc, whatever you may have called it) add one last text</FONT>
<BR><FONT SIZE=2>> > display</FONT>
<BR><FONT SIZE=2>> > object (pick your own name, but I'm calling it SumText) with an inline</FONT>
<BR><FONT SIZE=2>> > script after it.  The script will look something like this:</FONT>
<BR><FONT SIZE=2>> >          ' Declare some position and a counter variables</FONT>
<BR><FONT SIZE=2>> >          Dim x, y, i as integer</FONT>
<BR><FONT SIZE=2>> >          x = 20</FONT>
<BR><FONT SIZE=2>> >          y = 20</FONT>
<BR><FONT SIZE=2>> >          i = 1</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> >          ' print a simple header</FONT>
<BR><FONT SIZE=2>> >          SumText.Text x, y, "Accuracy Summary:"</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> >          'Start looping thru the results.</FONT>
<BR><FONT SIZE=2>> >          'This displays results in two columns</FONT>
<BR><FONT SIZE=2>> >          For i = 1 to 16</FONT>
<BR><FONT SIZE=2>> >                  if(i = 9) then          ' if we've already displayed</FONT>
<BR><FONT SIZE=2>>8</FONT>
<BR><FONT SIZE=2>> > items,</FONT>
<BR><FONT SIZE=2>> >                          x = x + 50      ' move right to a second</FONT>
<BR><FONT SIZE=2>>column,</FONT>
<BR><FONT SIZE=2>> >                          y = 40          ' and move back to the top.</FONT>
<BR><FONT SIZE=2>> >                  else                    ' Otherwise,</FONT>
<BR><FONT SIZE=2>> >                          y = y + 20      ' move the y position down</FONT>
<BR><FONT SIZE=2>> >                  end if</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> >                  'instead of showing 0 or 1, use english</FONT>
<BR><FONT SIZE=2>> >                  if(MyArray(i)=0)then</FONT>
<BR><FONT SIZE=2>> >                          SumText.Text x, y, "Trial " & i & ":</FONT>
<BR><FONT SIZE=2>>Incorrect"</FONT>
<BR><FONT SIZE=2>> >                  else</FONT>
<BR><FONT SIZE=2>> >                          SumText.Text x, y, "Trial " & i & ": Correct"</FONT>
<BR><FONT SIZE=2>> >          Next i</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > I think that should do it.  Lastly, a few caveats: I haven't tried</FONT>
<BR><FONT SIZE=2>>this</FONT>
<BR><FONT SIZE=2>> > myself; this is all off the top of my head.  So it's entirely possible</FONT>
<BR><FONT SIZE=2>> > I've</FONT>
<BR><FONT SIZE=2>> > got syntax and/or logic errors in there.  Also, those x and y</FONT>
<BR><FONT SIZE=2>>positions</FONT>
<BR><FONT SIZE=2>> > are</FONT>
<BR><FONT SIZE=2>> > just guesses on my part, change them as you see fit.</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > I hope that helps and that I didn't completely miss the point of your</FONT>
<BR><FONT SIZE=2>> > question.</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Ben Staab</FONT>
<BR><FONT SIZE=2>> > staab@waisman.wisc.edu</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > At 10:14 AM 7/18/2003 -0500, Taryn Tacosa wrote:</FONT>
<BR><FONT SIZE=2>> > >Hello,</FONT>
<BR><FONT SIZE=2>> > ></FONT>
<BR><FONT SIZE=2>> > >I am having trouble finding a way to present accuracy feedback on a</FONT>
<BR><FONT SIZE=2>> > >sequence of observations. Specifically, a subject is shown a sequence</FONT>
<BR><FONT SIZE=2>>of</FONT>
<BR><FONT SIZE=2>> > >letters, one at a time, and responds YES or NO to each letter</FONT>
<BR><FONT SIZE=2>>(typical</FONT>
<BR><FONT SIZE=2>> > >n-back task). I would like a screen to give the subject feedback on</FONT>
<BR><FONT SIZE=2>>their</FONT>
<BR><FONT SIZE=2>> > >accuracy at the</FONT>
<BR><FONT SIZE=2>> > >end of each sequence, but am having trouble with this. So far, I can</FONT>
<BR><FONT SIZE=2>>only</FONT>
<BR><FONT SIZE=2>> > >get accuracy for the last display screen ONLY to appear, rather than</FONT>
<BR><FONT SIZE=2>> > >accuracy across all 16 observations (letters).</FONT>
<BR><FONT SIZE=2>> > ></FONT>
<BR><FONT SIZE=2>> > >Any help would be greatly appreciated!</FONT>
<BR><FONT SIZE=2>> > ></FONT>
<BR><FONT SIZE=2>> > >Taryn Tacosa</FONT>
<BR><FONT SIZE=2>> > ></FONT>
<BR><FONT SIZE=2>> > >>RA</FONT>
<BR><FONT SIZE=2>> > >>UNC-CH</FONT>
<BR><FONT SIZE=2>> > ></FONT>
<BR><FONT SIZE=2>> > >_________________________________________________________________</FONT>
<BR><FONT SIZE=2>> > >Help STOP SPAM with the new MSN 8 and get 2 months FREE*</FONT>
<BR><FONT SIZE=2>> > ><A HREF="http://join.msn.com/?page=features/junkmail" TARGET="_blank">http://join.msn.com/?page=features/junkmail</A></FONT>
<BR><FONT SIZE=2>> > ></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
</P>

<P><FONT SIZE=2>_________________________________________________________________</FONT>
<BR><FONT SIZE=2>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  </FONT>
<BR><FONT SIZE=2><A HREF="http://join.msn.com/?page=features/virus" TARGET="_blank">http://join.msn.com/?page=features/virus</A></FONT>
</P>

</BODY>
</HTML>