no more than 4 times in a row


no more than 4 times in a row

Author
Message
Ulrike Nestler
Ulrike Nestler
Esteemed Member
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)

Group: Forum Members
Posts: 17, Visits: 41
Hello,
i am currently programming shifting paradigm such as the color-shape task which basically consist of switch and no switch trials. And I need to know an expression that allows the order of trials to be randomized with the constraint that no more than 4 switch trials can occur in a row. Can you please help me with that? Because the usual noreplacenorepeat doesn't do it here.

Thanks!
UIrike

Dave
Dave
Supreme Being
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K
You need to use a <list> for trial selection, with its /maxrunsize set to 4.

<block myblock>
/ trials = [1-100=list.triallist]
</block>

<list triallist>
/ items = (trial.a, trial.b)
/ poolsize = 100
/ maxrunsize = 4
</list>

<trial a>
/ trialduration = 10
</trial>

<trial b>
/ trialduration = 10
</trial>


Ulrike Nestler
Ulrike Nestler
Esteemed Member
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)

Group: Forum Members
Posts: 17, Visits: 41
Thanks so much for this fast reply! :-D

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search