prolific with otree hr

1,244 views
Skip to first unread message

Kim Sarnoff

unread,
Dec 15, 2021, 11:36:31 AM12/15/21
to oTree help & discussion
Hi,

I am planning to deploy a survey on Prolific. It's an individual level survey.

I am unsure how to do this with otree HR. I tried to create a session on my otree site and enter it into otree HR (as prompted) to see what happens, but I get the message "The oTree server reported an error: Could not reach your oTree site". My otree site is still in demo mode — I don't know if that's the source of the error.

Assuming it had worked, what does otree HR do with the session information? If I want X workers to take my survey, do I have to create X sessions and enter each one separately into otree HR?

Thanks,
Kim

Kim Sarnoff

unread,
Dec 15, 2021, 4:44:33 PM12/15/21
to oTree help & discussion
Hi,

I have since figured out how to connect to otree HR. Now that I see what's there, I still have some questions:

1) Suppose I'd like N people to take the survey. What is the best way to set this up? Should I make a session with >> N participants? For example, if someone clicks the link and then doesn't consent, I wouldn't want that to eat up one of the possible uses of the link.
2) On the payment page, is the listed bonus payment equal to participant.payoff?
3) Is there a way to delete sessions from the existing sessions page. I have deleted the session from my otree site, but it still shows up on otree hr.

Thanks,
Kim

Anubrata Deka

unread,
Feb 12, 2022, 10:19:32 PM2/12/22
to oTree help & discussion
Hi,

Can you please tell me how you deployed your study on Prolific?

Thank you,
Anubrata Deka.

Kim Sarnoff

unread,
Feb 14, 2022, 10:00:40 AM2/14/22
to oTree help & discussion
Hi,

Here's what I did. Note this was an individual decision-making experiment.

Step 1: Create a new session on your Heroku site for the study you wish to run. 
If you want N people in total to take the study, you should create a session with M >> N participants. This is to give room for people who time out, do not consent, or return the study.

Step 2: Set up session on otree HR. 
Go to https://otree-hr.herokuapp.com/. If you've not used it before, you'll need to log in and link it to your Heroku site (this is self-explanatory in the interface). Once your Heroku site is linked, click "Prolific", enter the code of the session you just created, and click "add". Once the session is added, click "Configure" and follow the instructions on the page. These are self-explanatory and will guide you on what study link to enter into Prolific so that you can collect Prolific IDs and completion codes.

Step 3: Deploy study on Prolific. 
You will be able to view the incoming data on your Heroku site. The first person to start the study will populate participant id 1 in the session, the second person who starts it will be participant id 2 in the session, and so on. If a person starts the study and doesn't finish (e.g. returns it), they still eat up an available use of the link. This is why you should make your session for more than your target number.

Step 4: Payments
Once you're done collecting data, go back to otree HR and click "Payments" in the row of the session you just ran. This will give the Prolific ID and value of participant.payoff for all participants for whom participant.payoff > 0. This is formatted to be copied and pasted into Prolific's bulk bonus payment option. If you plan to use this, just make sure that your participant.payoff variable is generated in a way such that it only equals the bonus payment you want to give participants.

I hope this helps!

Best,
Kim

Anubrata Deka

unread,
Feb 15, 2022, 11:36:54 PM2/15/22
to oTree help & discussion
Hi,

Thank you very much.

Thank you,
Anubrata Deka.
Reply all
Reply to author
Forward
0 new messages