Howdy, Stranger!

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

Supported by

JATOS longitudinal study, second session

Hi,

I am trying to understand how to organize my Batch Data for a longitudinal study. I will have a first session one day, and participants will need to perform the second session on the following day. I understood how to get the data from the first session (i.e., the condition randomly assigned to the participant), but I am struggling to understand how I can organize the Batch in a way that the second session does not start straight away as the first session is completed. How can I ensure that the second session is performed on the consecutive day?

Many thanks for your help!

Comments

  • Hi,

    It depends on how you wrote your study. It sounds like you have two components in your study, with the first session in component 1 and the second session on component 2?

    Either way, you need an if statement. On the batch session, assign to your participant's ID not only the randomly assigned condition, but a flag saying whether session 1 was completed. depending on how your study is set up, you can then either run specific parts of your javascript (if you have both sessions 1 and 2 coded in a single component/HTML), or add a first component at the very beginning of your study that directs participants to the corresponding component based on whether the session was completed or not.

    You can then update the value of the flag variable at the end of your first session.

    It shouldn't be too hard, but because it depends on how you've programmed it so far, it's hard to explain this clearly. Feel free to include more details and I'll try to suggest something more concrete.

    Best

    Elisa

  • Dear @elisa ,

    many thanks for your prompt reply. Yes, the flag idea sounds good, and indeed I was thinking about something similar.

    I am coding the experiment in OpenSesame, so I have two files (two "experiments"). The first session consists in a training phase that will be performed one day, and the second consists in the actual experimental task, which will be performed on the following day.

    From the first session, I will get the participant ID, the condition the participant was randomly assigned to, and whether the task was finished or not.

    I am planning to use Prolifics to distribute the link. I apologies in advance for the question, if that sounds silly, but is it possible to generate two separate links for two components of the same batch? I was thinking that it would be nice if the second session had its own link, but at the same time it were able to access the results from the first session. I am very new to JATOS, and from the documentation online I could not understand exactly how this may work.

    Many thanks for your support!

  • Hi,

    You can't have two separate links for two separate components. Instead, what I would do is have three components (as I described in an the answer to your other question

    • Component 1 is called "Assign Conditions". All workers will always land here, and get sorted to the next two components, depending on whether they are a new participant or not.
    • Component 2 is (say) Task on Day 1.
    • Component 3 is Task on Day 2

    Components 2 and 3 can be created by OSWeb. I included an admittedly messy example JavaScript that does what you need (and quite a lot more, hence the mess) in my other answer, so let me know if there's anything unclear.

    it would be nice if the second session had its own link, but at the same time it were able to access the results from the first session.

    I don't think you can do that in JATOS currently. Each study has a link, and the batch session data cannot be shared between studies.

    Best

    Elisa

Sign In or Register to comment.