New counterbalance standalone

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win11
PsychoPy version (e.g. 1.84.x): 2024.1.5
Standard Standalone? (y/n) If not then what?: Y
What are you trying to achieve?:

I am trying to use the new standalone counterbalance component. I have set up a simple experiment in which I just want to display the group just chosen by the counterbalance routine. See below for the flow of the experiment.

How do I specify, for instance, three groups, with different probabilities and a cap of 10?

What specifically went wrong when you tried that?:

I tried different notations for the group parameter, e.g.: 3; a,b;c; [a,b,c] but none worked as intended. The value of counterbalance.group equalled the cell content.

Is there more documentation on this feature for using an Excel-file in counterbalancing than here Counterbalance Standalone Routine — PsychoPy v2024.2.1?

Best wishes Jens

Hello

You have to specify the groups similar as you specify conditions. So for instance, you need three rows for three groups.

grafik

specifies the groups 1, 2, and 3. Group 1 has a cap of 2, group 2 has a cap of 4 and group 3 a cap of 1. I still do not know what to do with the probability column.

Best wishes Jens

I haven’t tested this extensively but I assume that if you want 10 participants and the smaller groups to be distributed equally across the set then the probability will be cap/capTotal. On the other hand you could have the latter trials weighted towards the larger groups if the probability column was 1/nGroups

1 Like