Group: Awaiting Activation
Posts: 3,
Visits: 22
|
Hi,
I'm editing a transitive inference task and right now it's programmed to randomly select from 8 trials:
<list trialselection_phase1> /items = (1, 2, 3, 4, 5, 6, 7, 8) /poolsize = parameters.trialnumber_learning </list>
/ontrialbegin = [ values.counttrials_phase1 += 1; values.nexttrial = list.trialselection_phase1.nextvalue; ]
/branch = [ if (values.nexttrial == 1) trial.ab else if (values.nexttrial == 2) trial.ba else if (values.nexttrial == 3) trial.bc else if (values.nexttrial == 4) trial.cb else if (values.nexttrial == 5) trial.cd else if (values.nexttrial == 6) trial.dc else if (values.nexttrial == 7) trial.de else if (values.nexttrial == 8) trial.ed
]
I need to edit it so that trials bc and cb never follow trials ab or ba, for trials cd and dc to never follow trials bc and bc, and for trials de and ed to never follow trials cd and dc. Does anyone have any suggestions for how to do this?
Thank you!
|