random selection of different sequences of primes within one block


Author
Message
juliane_d
juliane_d
Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)
Group: Forum Members
Posts: 12, Visits: 39
Hi there,

I am programming an experiment in which two different sequences of trials are presented within one block in random order (and different frequencies).
Instead of this:
/trials = [1-16 = sequence(fixtrial1, primetrial); 17-24 = sequence(fixtrial2, detection)
which presents the first sequence of 2 trials 16 times and the second 8 times afterwards, I would like to actually do something like this:
/trials = [1-24 = random(sequence(fixtrial1, primetrial), sequence(fixtrial1, primetrial), sequence(fixtrial2, detection); which obviously does not work. Meaning that 2/3 of trial sequences within the block should be sequence(fixtrial1, primetrial); randomly interspersed by 1/3 of the sequence (fixtrial2, detection). Is there an easy way to do this?

As always, any help would be much appreciated!
thanks,

Juliane



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search