Reply To: Conditional Randomization

PennController for IBEX Forums Support Conditional Randomization Reply To: Conditional Randomization


My “use it like this” code is just a standard PennController example, with dummy one-button trials. I just use ‘i’ and ‘ii’ so you can identify the trial from the buttons’ text when you take the experiment.

Using a template shouldn’t make a difference: just label your template-generated trials consistently with your definition of the sequence of trials (see the other post on how to label template-generated trials—the simplest solution is to have a Label column in your table).

The command PennController.Sequence is just the standard PennController way of defining the sequence of trials, it replaces and standardizes the more obscure var shuffleSequence = native-Ibex method. You cannot use .label on it since it’s not used to create trials, but just order the ones defined elsewhere in your script, based on their labels.