noreplacenorepeat for unequal number of trials


Author
Message
writekristin
writekristin
Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)
Group: Forum Members
Posts: 17, Visits: 62
I am trying to write an experiment that has four trials but I want to run two of the trials twice as many times as two of the others.

i.e. run each trial this number of times:
trial1:12
trial2:24
trial3:24
trial4:12

In order to do this, I know I need to do noreplace(trial1, trial2, trial2, trial3, trial3, trial4), however I also don't want the same trial to run consecutively.  Unfortunately, noreplacenorepeat(trial1, trial2, trial2, trial3, trial3, trial4) does not seem to accomplish this!  Now it runs in the right proportions, but it will happen where I get for example: trial2, trial2, trial2.  

Any advice? :(
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search