Randomize app sequence

288 views
Skip to first unread message

楊仲

unread,
Dec 21, 2021, 11:16:54 AM12/21/21
to oTree help & discussion
Hi,

I made several experiment tasks and I plan to create a Mturk session in which each participant plays them one by one. Each task consists of 30 rounds with each round having at least two pages.I hope that the app sequence can be randomized so that participants face different orders of tasks, but I failed to find the method. I know I can specify the app sequence in setting.py using

SESSION_CONFIGS = [
dict(
name='my_game',
app_sequence=['introduction', 'A', 'B', 'C', 'D', 'payment_info'],
num_demo_participants=2,
),
]

However, is there a way I can randomized the order of 'A', 'B', 'C', 'D' between subjects in the same session?
For example, participant 1 faces ['introduction', 'B', 'C', 'A', 'D', 'payment_info'],
while participant 2 faces ['introduction', 'C', 'A', 'D', 'B', 'payment_info'].

Thanks

Chung Yang

Chris @ oTree

unread,
Dec 21, 2021, 11:23:31 AM12/21/21
to 楊仲, oTree help & discussion
Can you describe the apps A B C D more? Are they related games with different treatment conditions etc?

Sent from my phone

On Dec 21, 2021, at 11:17 AM, 楊仲 <gustav...@gmail.com> wrote:

Hi,
--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/677fe482-8963-431a-a0d5-183fea8522a9n%40googlegroups.com.

楊仲

unread,
Dec 21, 2021, 11:33:26 AM12/21/21
to oTree help & discussion
Hi Chris,

These games are not alike. They are
1. Monty Hall problem (the three door problem)
2. Nim against rational algorithm
3. Race game (counting to 21) against rational algorithm
4. Two-player beauty contest (2/3 of average) against database


Chris @ oTree 在 2021年12月22日 星期三上午12:23:31 [UTC+8] 的信中寫道:

Chris @ oTree

unread,
Dec 21, 2021, 1:15:49 PM12/21/21
to 楊仲, oTree help & discussion
Ok, in that case you would need to create multiple session configs, each with a different order of app_sequence, and create multiple sessions.

Sent from my phone

On Dec 21, 2021, at 11:33 AM, 楊仲 <gustav...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages