Hi All. For my online study I will be running four trial loops each with a Pavlovia survey in it. Participants will be assigned to only one loop. Is it possible to counterbalance and assign participants to just one trial loop? If so how… Any advice would be much appreciated.
In the first routine, I have a code component that checks what group we are in and creates a branching variable to control which survey is shown (i.e. via the iterations of the loop around each survey:
if expInfo["group"] == "cat":
show_cat_survey = 1
show_dog_survey = 0
if expInfo["group"] == "dog":
show_cat_survey = 0
show_dog_survey = 1
Then in the loops themselves I use the corresponding variables to control loop presentation (and subsequently survey presentation).
When running online, you can use one project, but use the url to control which group is presented. For example the link below would send a participant to the cat group.
replacing “cat” in the url with “dog” would sent them to the dog group.
There are slightly more advanced methods of automatic counterbalancing, but as a reliable method at the moment i would suggest this approach. Send half your participants to one link and half to the other. If you are using a third party recruitment service (e.g. prolific) you can set a project up for each group link with a condition that states the participant cannot access this link if they have participated in another project of yours.