MMN Experiment, No repeating deviants

David McFarlane mcfarla9 at msu.edu
Fri Feb 7 16:35:58 UTC 2014


Heather,

For complex randomization designs, the easiest fix is just to create 
one or more suitable sequences outside of E-Prime (e.g., Excel), and 
then use any of those sequences in an E-Prime List set to run in 
Sequential order.

If you really want E-Prime to do this "on the fly", then things get a 
lot trickier.  You could start with the "No Repeats on Consecutive 
Trials" examples on the PST website (those use an inefficient and 
nondeterministic "bogosort" method, see 
http://en.wikipedia.org/wiki/Bogosort ).  I have explored more 
efficient & deterministic methods for this sort of thing, but as I 
say it gets tricky to do it right, and I have never implemented these 
in E-Prime.

For more discussion about these types of problems, please search this 
Google Group, and the PST Forum (http://www.pstnet.com/forum/ ), with 
terms such as "random", "pseudorandom", "pseudo-random", "constrain", 
and "constraint".

-----
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 2/5/2014 10:30 AM Wednesday, Heather Green wrote:
>I am trying to program an Eprime experiment that presents a standard 
>sound 80% of the time and a deviant sound 20% of the time.  The 
>presentation of the sounds has to be random but I want to insure 
>that at least two standards occur before every deviant and that no 
>deviants are presented consecutively.  I know that it can be done 
>because I have seen articles in which the authors report doing just 
>that using Eprime only I haven't been able to figure it out.  Any 
>advice would be appreciated.
>
>Thanks!
>Heather

-- 
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/52f50b72.210c320a.7cd0.2e15SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/groups/opt_out.



More information about the Eprime mailing list