If ... then ... I need help!
ben robinson
baltimore.ben at gmail.com
Wed May 7 16:49:08 UTC 2008
in your user script tab:Dim trialCount as Integer
Dim correctResp as Integer
then, in an inline immediately following each response (assuming here that
the response was made to an object called "Stimulus"):
trialCount = trialCount + 1
If Stimulus.ACC = 1 Then
correctResp = correctResp + 1
End If
then, in an inline immediately following the block of trials, calculate the
accuracy:
correctResp = correctResp/trialCount*100
If correctResp <= 80 Then Goto Label1 '(you'll need to place Label1 before
the start of your block of trials. this way, if accuracy <= 80% they will
be looped back to the beginning of the block. otherwise, they will continue
on to the next phase.)
something along those lines should work. hope that helps.
ben
On Wed, May 7, 2008 at 12:05 PM, Leila <syn_idylle at hotmail.com> wrote:
>
> Hi,
>
> I program an experiment with e-prime for the first time. Supose that
> in my experiment there are 3 blocs. I should use a syntaxe for when
> someone has 80% of good answer and more in the second bloc, he goes to
> the bloc 3 , but if he doesn't has more of 80% of good answer, he
> should back to the bloc 1. Someone knows how I can do that?
>
> Thank you very much, and sorry for my poor english
>
> Leila
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20080507/97a233bf/attachment.htm>
More information about the Eprime
mailing list