How to randomly assign group numbers to participants?


Author
Message
uni-student92084
uni-student92084
Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)
Group: Forum Members
Posts: 57, Visits: 172
Hello, 
I am currently working on a script that has four subject groups in the experiment function. I am aware that if these groups are to run one must insert the group number before the script is run.  However, I wanted to know if there is a way to randomize which groups each participants is placed in and to avoid the pop up option where one must insert a group number. For clarification, this is a picture of the pop up option: 

For example if a participants were to run the script,  they wouldn't have to put in their subject group and instead be randomly assigned to groups 1, 2 3, or 4.  Is there a way to do this? I'll also insert my script below for context. 

Thank you for your help in advance! Its is greatly appreciated!


Attachments
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search