Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

How assign participants to different role using JATOS when conducting group study?

Hi, I have a question about how assign participants to different role using JATOS when conducting group study. Similar with the JATOS example study Prisoner’s Dilemma, I want to assign participants to different roles, and then present them with different html content. Is it possible to do that by JATOS? Where can I find a similar example study to follow?

Thank you in advance for your help!

Bo

Comments

  • Hi Bo,

    there aren't any other group study examples as the ones in https://www.jatos.org/Example-Studies.html. Writing and conducting group studies can be a bit tricky due to participants acting in parallel (but nothing impossible). Can you describe more in detail what you are trying to achieve with 'assign participants to different roles' and 'present them with different html content'?

    Best,

    Kristian

    Buy Me A Coffee

  • Hi Bo,

    On which basis would you like to assign participants in the group different roles? If you wanted to assign them by order of appearance, it's easy:

    You could have a first component in your study (or use the waiting room in our examples) where you have an if statement:

    if (jatos.groupMembers.length == 1){
        //assign role A
    } else if (jatos.groupMembers.length == 2){
        //assign role B
    }
    
    

    Something like this.

    But Kristian is right: Writing group studies is always a bit complicated. Not difficult, just a lot to keep in mind. So this might not answer your question entirely, just ask again if you need any more help.

    Best

    Elisa

  • Hi Kristian and Elisa,

    Thank you so much for your response! Basically I want to randomly assign participants to different role (e.g., employee or employer in the inspect game) and present them with different matrix payoff and button choice. I found a pair of participants' GroupMemberId are two numbers adjacent to each other in the group study, so I have tried a solution that assign participants to different role according whether their GroupMemberId is even. It did worked, however, I am not sure whether my solution is robust because I want randomly match a pair of participants every round (see below). Or Elisa's solution is better?

    A related issues is that I want let a group of participants (e.g, Max total members is 8) repeatedly play the game with a certain number of round, but a pair of participants (e.g, Max active members is 2) were randomly matched before very round. Is it possible to do that by JATOS, how to achieve this?

    Thank you very much!

    Best,

    Bo

  • Hi Bo,

    Your solution to randomily assign roles is as valid as mine, as far as I can tell. As long as you don't have any systematic differences in sign-up order (e.g. women start always first, younger people start always first, etc) then it should work.

    I really didn't understand your second question tough. Could you explain it again? Do you want the same two people to always be paired, and also restrict the maximum number of workers? If this is the case, you'll probably need to use the batch session, but to tell you how exactly to do this it would be good to know how you're recriuting participants (i.e. I need to know if they each have a unique, permanent ID)

    Best

    Elisa

  • krikri
    edited August 24

    Hi Bo!

    If I understand you correctly you want to use jatos.groupMemberId to assign a participant to a role based on it being odd or even. That's not a good idea - it will only work on your local JATOS but not on a JATOS server where there are potentially many group studies running in parallel. The jatos.groupMemberId is just increased by one for each new participant but this participant is not necessarily one of your study. So I think Elisa's approach is better.

    And I also couldn't understand your second question :/

    Best,

    Kristian

    Buy Me A Coffee

  • Ah, good point, I missed the odd/even idea.

  • Hi Kristian and Elisa, about the first question, I am also care about there is possible that a pair of participants' GroupMemberId ( jatos.groupMemberId) are both even (or odd) when I collect data on my JATOS server. So, maybe Elisa's approach is better.

    With regard to the second question, image that I want to conduct the Prisoner’s Dilemma study where eight individuals (Max total members is 8) are recruited as one group to play a game. Each individual play the game 20 rounds, however, each individual is randomly matched with another one from the group in each round. That is, in each round, each individual's partner was not fixed, but was randomly matched from seven other group member. So, may in round 1, A and C were matched and play the game, but in round 2, A and E were matched. Of course, A and C is likely to match again in the subsequent rounds. How to achieve this by JATOS? I plan to recruit participant though distribute the General Single Worker link to participants or let them to the lab together and play the game.

    I don't know if you understand what I mean, if not you can let me explain it again. Thank you very much!

    Best,

    Bo


  • Hi Bo,

    What you describe is possible. Like you suggested I'd start with the Prisoners Dilemma example and change it to your needs. The rough study flow could look like:

    • You need a waiting room component for 8 people
    • When all 8 participants joined assign them randomly into subgroups of 2. Store the subgroups in the group channel.
    • Start the game (second component) and let them play
    • In the end of the round send the result data of this round to JATOS
    • Jump back to the waiting room until all rounds are done

    How far are you already with your study? I can help you with the group study part.

    Best,

    Kristian

    Buy Me A Coffee

  • Thank you so much, Kristian. I have already finished the main part of the study. Could I send it to you via message of the forum? Or sent it to your email?

    Best,

    Bo

  • Either is fine

    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games