Creating random groups with very specific rules

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Posts: 1
Joined: Fri May 27, 2016 9:13 am

Creating random groups with very specific rules

Postby marlot » Fri May 27, 2016 9:29 am

Hi, I have the following problem:
I have 120 participants, all randomly assigned to one of three conditions leaving 40 particpants in each condition.
Lets call the conditions seller A, seller Z and Buyer.
I need groups, preferably more than 40 (close to a couple of hundred), so it is fine for one person to be in several groups as long they do not end up with oneself.
However, how the groups are comprised is critical; first of all, all groups need exactly three participants. But most importantly; half of the groups needs to have two seller A's and one buyer, while the other half needs to have two seller Z's and one buyer.
For each group I need one value; the sum of all three values of all three members on the variable 'price'.

I have been thinking of some form of stratified random sampling, and later combining the price variables. Or making a new variable which assigns the scores of two other particpants (A or Z + buyer) to that participant.
None of the syntaxes I've tried worked however, and I've pressed all the buttons I could think of... The problem seems to be the fact that I need groups with very particular rules.
Can you help me or point me in the right direction?

Thanks to whoever takes the time to read/respond to this!
Kind regards,

Who is online

Users browsing this forum: No registered users and 1 guest