Repeat Trial

David McFarlane mcfarla9 at msu.edu
Thu Mar 31 18:55:25 UTC 2011


Nice discussion.  And I agree that for this simple case these methods 
are more elegant than the usual inline-code method (as shown in the 
"Criterion Based Exit" example downloadable from the Samples area of 
the PST web site).

As I understand it, Paul's method (using an inner trial List) should 
automatically log each response, whether incorrect or correct, as 
another row in your .edat file.  Ben's method (just using a Jump 
label), as it stands, should log only the final response, but with 
judicious placement of inline code containing a c.Log command (see 
the Context topic in the online E-Basic Help) you might get it to 
record all responses.  Each execution of c.Log generates a new line 
in the .edat file, with the current values of all attributes.

-- David McFarlane, Professional Faultfinder


At 3/31/2011 02:38 PM Thursday, Cherise Chin Fatt wrote:
>Hi Paul: thank you for your help as well. Would I be able to keep a
>track of the incorrect responses using your method?
>
>Thank you.
>
>On Mar 31, 12:35 pm, ben robinson <baltimore.... at gmail.com> wrote:
> > try implementing my suggestion, cherise :)
> >
> > have two Input Masks on the same object collecting responses:
> > InputMask1
> >     Allowable Responses set to *only* the correct response
> >     End Action set to Terminate.
> > InputMask2
> >     Allowable Responses set to all other possible responses
> >     End Action set to Jump
> >     Jump Label = Label1
> >
> > then put Label1 immediately prior to the object collecting responses.  just
> > try it.
> >
> > ben
> >
> > On Thu, Mar 31, 2011 at 1:41 PM, Cherise Chin Fatt 
> <nic.cher... at gmail.com>wrote:
> >
> >
> >
> > > Thank you for all your help. I have one problem left- when an
> > > incorrect response occurs, the trial isnt repeat... it goes to the top
> > > of  additional list (as you explained below). I cannot figure out how
> > > to fix this problem.  Maybe I didn't understand you fully- I added a
> > > sublist which has all the trials. This list has a SubProc which has a
> > > display and an inline.
> >
> > > I am sorry for the confusion. I am new to eprime, so I am now getting
> > > accustom to the structure.
> >
> > > On Mar 31, 12:17 am, Paul Groot <pfc.gr... at gmail.com> wrote:
> > > > Using more than one input mask is really an elegant solution that is
> > > > easy to implement. If you also would like to register the incorrect
> > > > responses in the output file, then this probably won't work without
> > > > some additional scripting. As an alternative you can also to the
> > > > following (copied from my post some days ago):
> >
> > > > Another way to implement trial loops is to add an additional
> > > > 'level' to your experiment by using an extra list object for the
> > > > repeating trials (i.e. place a new list object on the trial
> > > > procedure). This list will loop 'forever' by setting the 'exit list'
> > > > parameter to high value. Then move all trial objects to the procedure
> > > > of this new list. Finally add a small inline script at the end of the
> > > > subtrial that will terminate the sublist when a specific condition is
> > > > met (i.e. if stim.ACC=1 then sublist.Terminate end if)
> >
> > > > This sounds complicated, but is in fact very straightforward to do,
> > > > and also supports more complex constructs (like giving additional
> > > > instructions after one or more errors.)
> >
> > > > Best
> > > > Paul
> >
> > > > 2011/3/31 ben robinson <baltimore.... at gmail.com>:
> >
> > > > > you could even do this without an inline.
> > > > > in the object collecting responses enable two separate Input Masks
> > > (they
> > > > > could both be the keyboard, or both the mouse, or whatever).  one
> > > instance
> > > > > of your Input Mask should have as its allowable response *only* the
> > > correct
> > > > > response, and its End Action should be set to Terminate.  the other
> > > Input
> > > > > Mask should have as its Allowable Response all other possible
> > > non-correct
> > > > > responses, and its End Action should be set to Jump.  fill 
> in the Jump
> > > Label
> > > > > section with your Label's name, then place the Label right 
> before your
> > > > > object which collects responses.  this should result in the program
> > > jumping
> > > > > back to the label immediately prior to your stimulus every time an
> > > incorrect
> > > > > response is received.
> > > > > ben
> >
> > > > > On Wed, Mar 30, 2011 at 5:41 PM, Cherise R. Chin Fatt
> > > > > <nic.cher... at gmail.com> wrote:
> >
> > > > >> Hello:
> >
> > > > >> Can someone please help me out with a part of my task? I need to
> > > repeat a
> > > > >> trial until a correct response is given. I haven't been 
> able to figure
> > > this
> > > > >> out. I think it should be an inline, but I am not sure how 
> to program
> > > this.
> > > > >> Can someone help with this if possible?
> >
> > > > >> Thank you,
> > > > >> Cherise.

-- 
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.



More information about the Eprime mailing list