Referring to a value on a separate task


Author
Message
Blazer
Blazer
Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)
Group: Forum Members
Posts: 11, Visits: 94
Hi all,

I was wondering if it was possible for the conditional branching/skipping of one experiment to refer to values on a separate experiment. There are two versions of a survey based on if the participant is above or below 18 years old, and that would be determined based on what they answered in the demographics questionnaire. If I used a batch element, would it be possible to skip one of the files based on an answer from a previous file?

I know I can write the logic into the questionnaires themselves and use the include element to make it all one experiment, but for the purpose of keeping data files organized, I would like it if each questionnaire had a separate summarydata file. I'm using summarydata so that I can add in the calculated scores of each questionnaire.

I could also just ask the participant's age again at the beginning of the second questionnaire, but I want to avoid the possibility of someone giving two different ages.

It's not a big deal if I have to use the include element, but I was just curious if there was a clever way to use batch to accomplish the same thing.

Thanks!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
No, when running separate scripts via <batch> , there currently is no way to share any data between them. <include> is the way to go in your case.

Blazer
Blazer
Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)
Group: Forum Members
Posts: 11, Visits: 94
Thanks for the quick reply!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search