<div dir="ltr">Thank you for your response. <div><div>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)!</div><div>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)? </div><div><br></div><div>Again, thank you very much for your help.</div><div>Sincerely,</div><div><br></div><div>PF</div><br>Le vendredi 25 octobre 2013 18:53:59 UTC+1, McFarlane, David a écrit :<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">One way to do this, maybe some others will come up with alternatives...
<br>
<br>Suppose your stimulus is named StimText, and you use an attribute
<br>reference, "[FollowupImageFile]", for the image file in the following
<br>stimulus. Then in inline code after StimText and before your
<br>followup stimulus, do something like the following:
<br>
<br> If (StimText.ACC And (PRNG.GetNext() < 0.8)) Then
<br> c.SetAttrib "FollowupImageFile", "CorrectFollowupImageFile"
<br> Else
<br> c.SetAttrib "FollowupImageFile", "OtherFollowupImageFile"
<br> End If
<br>
<br>See the PRNG and related topics in the E-Basic Help facility.
<br>
<br>BTW, the comparison "< 0.8" will work for all practical purposes, but
<br>you might consider whether "<= 0.8" would be more canonically correct
<br>-- I leave that as an exercise to the reader.
<br>
<br>-----
<br>David McFarlane
<br>E-Prime training
<br>online: <a href="http://psychology.msu.edu/Workshops_Courses/eprime.aspx" target="_blank">http://psychology.msu.edu/<wbr>Workshops_Courses/eprime.aspx</a>
<br>Twitter: @EPrimeMaster (<a href="https://twitter.com/EPrimeMaster" target="_blank">https://twitter.com/<wbr>EPrimeMaster</a> )
<br>
<br>/----
<br>Stock reminder: 1) I do not work for PST. 2) PST's trained staff
<br>take any and all questions at <a href="https://support.pstnet.com" target="_blank">https://support.pstnet.com</a> , and they
<br>strive to respond to all requests in 24-48 hours, so make full use of
<br>it. 3) In addition, PST offers several instructional videos on their
<br>YouTube channel (<a href="http://www.youtube.com/user/PSTNET" target="_blank">http://www.youtube.com/user/<wbr>PSTNET</a> ). 4) If you do
<br>get an answer from PST staff, please extend the courtesy of posting
<br>their reply back here for the sake of others.
<br>\----
<br>
<br>
<br>At 10/23/2013 12:55 PM Wednesday, Pauline FAVRE wrote:
<br>>Dear E-prime users,
<br>>I try to control the occurrence of the a stimulus, i.e., during the
<br>>experiment, each trial consist first of a presentation of a stimulus
<br>>and then I would like that another image appears for only 80% of
<br>>correct responses on the previous stimulus (and different images for
<br>>the remaining 20% and the incorrect responses).
<br>>
<br>>In summary, I just would like that a specific stimuli appears in 80
<br>>% of the cases.
<br>>
<br>>Is there an inline script that permit that a stimuli appears only in
<br>>a determined percentage of trials?
<br>>
<br>>Thank you very much for your help!
<br>
<br></blockquote></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/12681ac9-7018-416f-bde6-ca14c3a9fc62%40googlegroups.com">https://groups.google.com/d/msgid/e-prime/12681ac9-7018-416f-bde6-ca14c3a9fc62%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />