probabilistic stimuli
Pauline FAVRE
paulinefavre at live.fr
Mon Oct 28 17:06:34 UTC 2013
Thank you for your response.
This seems to be a good solution. Unfortunately, the problem persists, the
"correctFollowupImage" continue to be display even if the answer is
incorrect (and vice versa)!
Perhaps I can use the "Feedback" object but how can I specify the
conditional probability for correct responses (i.e. 80% of correct
responses with one feedback, nothing for the other 20% and for no
responses, and different feedback for incorrect responses)?
Again, thank you very much for your help.
Sincerely,
PF
Le vendredi 25 octobre 2013 18:53:59 UTC+1, McFarlane, David a écrit :
>
> One way to do this, maybe some others will come up with alternatives...
>
> Suppose your stimulus is named StimText, and you use an attribute
> reference, "[FollowupImageFile]", for the image file in the following
> stimulus. Then in inline code after StimText and before your
> followup stimulus, do something like the following:
>
> If (StimText.ACC And (PRNG.GetNext() < 0.8)) Then
> c.SetAttrib "FollowupImageFile", "CorrectFollowupImageFile"
> Else
> c.SetAttrib "FollowupImageFile", "OtherFollowupImageFile"
> End If
>
> See the PRNG and related topics in the E-Basic Help facility.
>
> BTW, the comparison "< 0.8" will work for all practical purposes, but
> you might consider whether "<= 0.8" would be more canonically correct
> -- I leave that as an exercise to the reader.
>
> -----
> David McFarlane
> E-Prime training
> online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
> Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster )
>
> /----
> Stock reminder: 1) I do not work for PST. 2) PST's trained staff
> take any and all questions at https://support.pstnet.com , and they
> strive to respond to all requests in 24-48 hours, so make full use of
> it. 3) In addition, PST offers several instructional videos on their
> YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do
> get an answer from PST staff, please extend the courtesy of posting
> their reply back here for the sake of others.
> \----
>
>
> At 10/23/2013 12:55 PM Wednesday, Pauline FAVRE wrote:
> >Dear E-prime users,
> >I try to control the occurrence of the a stimulus, i.e., during the
> >experiment, each trial consist first of a presentation of a stimulus
> >and then I would like that another image appears for only 80% of
> >correct responses on the previous stimulus (and different images for
> >the remaining 20% and the incorrect responses).
> >
> >In summary, I just would like that a specific stimuli appears in 80
> >% of the cases.
> >
> >Is there an inline script that permit that a stimuli appears only in
> >a determined percentage of trials?
> >
> >Thank you very much for your help!
>
>
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/12681ac9-7018-416f-bde6-ca14c3a9fc62%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20131028/59f7397a/attachment.htm>
More information about the Eprime
mailing list