<div dir="ltr">Hi Maayan,<br><br>I recently started e-priming again, after a bit of a break, so I am a bit rusty on terminology and doing code top of my head, but... how about...: <br><br>have a triallist with two levels, and an attribute that codes for 'match' or 'no match' - set weights or loops to get to the number of trials that you need. Then on the session proc use inline code to generate random numbers to be used on the slide, and store the bottom number in a user defined variable. For a match trial, do not generate a random number for the upper nunber, but simply use the number that was used as the bottom in the previous trial (stored in your user defined variable). Thus only generate a new random number for the buttom and store that number in your user defined variable for use in the next trial. For a no-match trial, create a loop that first generates a random number for the top, then checks it against the previously used bottom number, and ends the loop if the two are not the same number. Create an additional random number for the bottom (and store it in the user defined variable for use in the next trial). <br><br>Hope this makes any sense, and that is enough to get you going again. What you need to do is puzzle together the code for user defined variables, random number generation, how to engage in one piece of code or another based on the match/nomatch variable (or use two different procedures for the two levels of the triallist) and how to create a loop. <br><br>best,<br><br>Anne-Wil <br><br>On Thursday, 15 May 2014 19:37:10 UTC+1, maayan kedar wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div style="direction:ltr">Hi there,</div><div style="direction:ltr"><br></div><div style="direction:ltr">I was asked to build a memory task in which the subject need to identify if the upper number between 2 numbers is match to the the number was at the buttom one screen berofe. for example:</div><div style="direction:ltr"><br></div><div style="direction:ltr">_0_ (beginning)</div><div style="direction:ltr"> 8</div><div style="direction:ltr"><br></div><div style="direction:ltr">_7_ (7 dosn't match to 8)</div><div style="direction:ltr"> 5</div><div style="direction:ltr"><br></div><div style="direction:ltr">_5_ (5 match to 5)</div><div style="direction:ltr"> 3</div><div style="direction:ltr"><br></div><div style="direction:ltr">_2_ (2 dosnt match to 3)</div><div style="direction:ltr"> 9</div><div style="direction:ltr"><br></div><div style="direction:ltr">the thing is that I need to create 50% matches, and I don't know how to link each text to the text from the slide before sense in each trial new random numbers are selected.</div><div style="direction:ltr"><br></div><div style="direction:ltr">any ideas for help?</div><div style="direction:ltr">with regards,</div><div style="direction:ltr">maayan</div></div></blockquote></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 <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/84927bb1-a54d-4214-ad5a-bf9e909163c0%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/84927bb1-a54d-4214-ad5a-bf9e909163c0%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />