Longitudinal study deployment

109 views
Skip to first unread message

Renee

unread,
Feb 10, 2022, 10:33:07 PM2/10/22
to oTree help & discussion

Hi all, 

I want to run an experiment in which participants need to return to the experiment the next day for several times to do some tasks. Each participants has different numbers of return.


I want to fix the time schedules for participants. That is, all of them need to return at one or more of the following times: 9am, 10am...


Q1: I checked the longitudinal study example on otreehub. I wonder how do time zones work in this example? For example, it shows that you need to return at 9am. Is this 9am following the experimenter's or the participant's time zone? Is it possible for me to set it up to follow each participant's time zone?


Q2: Can participants use the same link over the entire experiment? That is, implement the longitudinal feature multiple times within an experiment. If anyone has experience on this matter please feel free to let me know!


Q3: I do not want participants to arrive too late, so I want to allow them a 30 min window. That is, if they do not complete within 30 min of the hour (each appointment takes about 10 min), they will not be able to continue. I wonder if the timeout function can do this (that is, timeout at half pass every o'clock)?


Thank you so much!


Best,

Renee

Chris @ oTree

unread,
Feb 10, 2022, 10:40:14 PM2/10/22
to Renee, oTree help & discussion


Sent from my phone

On Feb 11, 2022, at 11:33 AM, Renee <yan.s...@gmail.com> wrote:



Hi all, 

I want to run an experiment in which participants need to return to the experiment the next day for several times to do some tasks. Each participants has different numbers of return.


I want to fix the time schedules for participants. That is, all of them need to return at one or more of the following times: 9am, 10am...




Q1: I checked the longitudinal study example on otreehub. I wonder how do time zones work in this example? For example, it shows that you need to return at 9am. Is this 9am following the experimenter's or the participant's time zone? Is it possible for me to set it up to follow each participant's time zone?

Q2: Can participants use the same link over the entire experiment? That is, implement the longitudinal feature multiple times within an experiment. If anyone has experience on this matter please feel free to let me know!


Q3: I do not want participants to arrive too late, so I want to allow them a 30 min window. That is, if they do not complete within 30 min of the hour (each appointment takes about 10 min), they will not be able to continue. I wonder if the timeout function can do this (that is, timeout at half pass every o'clock)?


Thank you so much!


Best,

Renee

--
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/66d88b6a-0c5c-419c-a4a4-5f12239953fcn%40googlegroups.com.

Chris @ oTree

unread,
Feb 10, 2022, 10:45:16 PM2/10/22
to Renee, oTree help & discussion


Sent from my phone

On Feb 11, 2022, at 11:33 AM, Renee <yan.s...@gmail.com> wrote:



Hi all, 

I want to run an experiment in which participants need to return to the experiment the next day for several times to do some tasks. Each participants has different numbers of return.


I want to fix the time schedules for participants. That is, all of them need to return at one or more of the following times: 9am, 10am...


Q1: I checked the longitudinal study example on otreehub. I wonder how do time zones work in this example? For example, it shows that you need to return at 9am. Is this 9am following the experimenter's or the participant's time zone? Is it possible for me to set it up to follow each participant's time zone?



It uses the time in the server’s time zone. To display the time in the user’s time zone, you can pass part2_start_time through js_vars and use JavaScript to display the local time.

Q2: Can participants use the same link over the entire experiment?

Yes

That is, implement the longitudinal feature multiple times within an experiment. If anyone has experience on this matter please feel free to let me know!


Q3: I do not want participants to arrive too late, so I want to allow them a 30 min window. That is, if they do not complete within 30 min of the hour (each appointment takes about 10 min), they will not be able to continue. I wonder if the timeout function can do this (that is, timeout at half pass every o'clock)?


You can use get_timeout_seconds to program your custom timeout, using Python’s date time library, etc. 

Thank you so much!


Best,

Renee

--

Renee

unread,
Feb 10, 2022, 11:01:46 PM2/10/22
to oTree help & discussion
Thank you Chris!

I will definitely take a look and update my progress here if needed!

Best,
Renee

Renee

unread,
Feb 10, 2022, 11:27:06 PM2/10/22
to oTree help & discussion
Hi Chris,

A quick follow up question: say if I use the same link for all appointments, if participants close the link in between appointments, will they be able to keep their progress if they click the same link again later? Or should I ask for their participant ID before every appointment to keep track?

Many thanks!

Best,
Renee

Chris @ oTree

unread,
Feb 10, 2022, 11:47:50 PM2/10/22
to Renee, oTree help & discussion
See my in-line replies from my previous email. 

Sent from my phone

On Feb 11, 2022, at 12:27 PM, Renee <yan.s...@gmail.com> wrote:

Hi Chris,

Renee

unread,
Feb 11, 2022, 12:31:14 AM2/11/22
to oTree help & discussion
Thank you Chris,

I see you replied "Yes" to the question of using the same link for the experiment. I take that as participants can use the same link through out without worrying about loss of progress.

Please let me know if I take it wrong!

Best,
Renee

Reply all
Reply to author
Forward
0 new messages