Batch File Set up for - Multi-Study Design with Different Conditions


Author
Message
Paige Kemp
Paige Kemp
Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)
Group: Forum Members
Posts: 19, Visits: 68
Hello everyone,
I have an experiment which takes place over two separate days, where participants are randomly assigned to one of three conditions (treatment1, treatment2, and control). There are two experiment files for each condition for each day (6 in total). How do I make sure that if a subject was assigned to the treatment1 condition on the first day, they will also receive the follow-up experiment file for that specific condition on the second day? From my understanding, I will have to manipulate code in the batch script and include code related to group number. However, I am unsure, and would greatly appreciate the help as I am planning to run this on prolific.

Here is the batch script for Day 1 so far: 

<batch>
/ subjects = (1 of 3)
/ groupassignment = subjectnumber
/ file = "Treatment_1.iqx"
</batch>

<batch>
/ subjects = (2 of 3)
/ groupassignment = subjectnumber
/ file = "Treatment_2.iqx"
</batch>

<batch>
/ subjects = (3 of 3)
/ groupassignment = subjectnumber
/ file = "Control_3.iqx"
</batch>

Thank you for your time,
Kemp

Dave
Dave
Supreme Being (951K reputation)Supreme Being (951K reputation)Supreme Being (951K reputation)Supreme Being (951K reputation)Supreme Being (951K reputation)Supreme Being (951K reputation)Supreme Being (951K reputation)Supreme Being (951K reputation)Supreme Being (951K reputation)
Group: Administrators
Posts: 11K, Visits: 71K
Paige Kemp - 5/11/2021
Hello everyone,
I have an experiment which takes place over two separate days, where participants are randomly assigned to one of three conditions (treatment1, treatment2, and control). There are two experiment files for each condition for each day (6 in total). How do I make sure that if a subject was assigned to the treatment1 condition on the first day, they will also receive the follow-up experiment file for that specific condition on the second day? From my understanding, I will have to manipulate code in the batch script and include code related to group number. However, I am unsure, and would greatly appreciate the help as I am planning to run this on prolific.

Here is the batch script for Day 1 so far: 

<batch>
/ subjects = (1 of 3)
/ groupassignment = subjectnumber
/ file = "Treatment_1.iqx"
</batch>

<batch>
/ subjects = (2 of 3)
/ groupassignment = subjectnumber
/ file = "Treatment_2.iqx"
</batch>

<batch>
/ subjects = (3 of 3)
/ groupassignment = subjectnumber
/ file = "Control_3.iqx"
</batch>

Thank you for your time,
Kemp

There is no random assignment in your code; your batch is assigning conditions based on subject number. The same subject number will always be assigned to the same condition, so if you have participants enter their assigned subject number on each day, they will always get their assigned condtion

Paige Kemp
Paige Kemp
Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)Associate Member (78 reputation)
Group: Forum Members
Posts: 19, Visits: 68
Dave - 5/11/2021
Paige Kemp - 5/11/2021
Hello everyone,
I have an experiment which takes place over two separate days, where participants are randomly assigned to one of three conditions (treatment1, treatment2, and control). There are two experiment files for each condition for each day (6 in total). How do I make sure that if a subject was assigned to the treatment1 condition on the first day, they will also receive the follow-up experiment file for that specific condition on the second day? From my understanding, I will have to manipulate code in the batch script and include code related to group number. However, I am unsure, and would greatly appreciate the help as I am planning to run this on prolific.

Here is the batch script for Day 1 so far: 

<batch>
/ subjects = (1 of 3)
/ groupassignment = subjectnumber
/ file = "Treatment_1.iqx"
</batch>

<batch>
/ subjects = (2 of 3)
/ groupassignment = subjectnumber
/ file = "Treatment_2.iqx"
</batch>

<batch>
/ subjects = (3 of 3)
/ groupassignment = subjectnumber
/ file = "Control_3.iqx"
</batch>

Thank you for your time,
Kemp

There is no random assignment in your code; your batch is assigning conditions based on subject number. The same subject number will always be assigned to the same condition, so if you have participants enter their assigned subject number on each day, they will always get their assigned condtion

Thank you for the response and clarification!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search