One to One Matching using Participant ID in Smartriqs Dictator Game with 3 conditions | XM Community
Skip to main content

In Smartriqs I have seen and tried the Dictator Game with 3 conditions and corresponding 3 stakes. There the matching is based on Participant ID and participants are matched in pair randomly. Now I am designing a survey where I want to incorporate this Dictator Game with 3 condition. But the change will be in participant matching. Suppose we have 12 people in our experiment. All these are husbands and wives that is 6 married couples. I want to make sure when the matching is happening in the Dictator game, each husband is matched with his wife only and make the pair. Not with any other’s wife. For example, Husband 1 (A1) should be matched with Wife 1(B1) and Husband 2 (A2) should be matched with Wife 2 (B2). We can not allow cases where Husband 1 (A1) is matched with Wife 2 (B2) or Husband 2 (A2) is matched with Wife 1 (B1) or match between two husbands or match between two wives.

I want to know if it is possible to create such condition by editing Java Script or is there any procedure that can help me create this kind of restrictive condition on matching? If yes kindly provide the source or direction where I can learn from and execute this.

@Saptatshi_das Hi, I did some Googling but I don’t think many users on Community did use Smartriqs or did research on DictatorGame. So if you can just breakdown the problem into something more simple and general I think all of us can jump in to help.


Yeah sure, let me break the problem into parts.

  1. Suppose we have 6 pairs of married couple (though we will be having much more) participating in an experiment. This experiment has 3 possible treatments. So first I want to assign each pair (that is husband and wife) to any one of the treatments randomly. But they will complete the experiment individually and not in pair. That is where I need the matching and matched pair gets to see the same treatment.
  2. While they are completing their experiment, for some questions, I want to show Husband’s responses to Wife and vice versa. This will happen simultaneously and not sequentially.
  3. Due to the matching done at the starting of the experiment, only husband can see wife’s response and vice versa.

Note - We can not match Husband 1 with Wife 2 or any such combination. I am using Smartriqs and Embedded Data to implement this as it comes with coded java scripts. But its application is limited to random matching and not specific matching (As far as I understood). Hence I need to understand how can I complete this task.


Leave a Reply