running different experiments from the same file


Author
Message
ineke
ineke
Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)
Group: Forum Members
Posts: 20, Visits: 62
Dear Dave,

I'm working on an experiment in which half of the participants will perform a training and the other half will perform a control task. The two experiments are now programmed separately and ready to use, but we need to get them into one file so that participants can access them online from home (our system only allows us to have one task online). Based on the experiment number, we thought that the even numbers could receive the training and the uneven the placebo, which consist of different trials and thus also out of different blocks. I have tried the 'variables' and 'group assignment' command (see an example below), but all it does is present the two tasks in an other sequence. However, the control group may not receive the block presented in the training group and vice verse. I feel like I'm on the wrong track with these commands, so any tips would be welcome!
Thanks!

<variables>
\groep = (1 of 2) [block1 = intro; block2 = practicetraining; block3= testtraining; block4 = vas]
\groep = (2 of 2) [block1 = intro; block2 = practicecontrol; block3= testcontrol; block4 = vas]
<\variables>
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: 12K, Visits: 98K
You don't need to merge the experiments into a single script. You can set up a file containing <batch> elements to assing your participants to one of the two tasks. This also works with Inquisit Web (a single license). The script containing the <batch> elements is the one you register as your active web script.

<batch>
/ file = "task_a.iqx"
/ subjects = (1 of 2)
/ groupassignment = groupnumber
</batch>


<batch>
/ file = "task_b.iqx"
/ subjects = (2 of 2)
/ groupassignment = groupnumber
</batch>
ineke
ineke
Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)
Group: Forum Members
Posts: 20, Visits: 62
Thanks for the quick reply! Meanwhile, I have tried this, but the only thing that happens is a blank screen. Do you have an idea  what could have gone wrong?
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: 12K, Visits: 98K
Impossible to answer without the code / launch page.

ineke
ineke
Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)
Group: Forum Members
Posts: 20, Visits: 62
Well I tried the same as you proposed, but with the correct file names: (I just noticed i posted this wrong, i am working on inquisit 3, could that explain the problem?)

<batch>
/ file = "training.exp"
/ subjects = (1 of 2)
/ groupassignment = groupnumber
</batch>


<batch>
/ file = "control.exp"
/ subjects = (2 of 2)
/ groupassignment = groupnumber
</batch>
Tags
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: 12K, Visits: 98K
groupnumbers don't exist in Inquisit 3, so yes, that's an issue.

With

<batch>
/ file = "training.exp"
/ subjects = (1 of 2)
/ groupassignment = subjectnumber
</batch>

<batch>
/ file = "control.exp"
/ subjects = (2 of 2)
/ groupassignment = subjectnumber
</batch>                               

what you're doing is assigning *odd* subjecnumbers to "training.exp" and *even* subjectnumbers to "control.exp". You must thus make sure that "training.exp" can deal with *odd* numbers -- as per its <expt> etc. element(s) -- and "control.exp" has things set up to deal with *even* ids. If you have no applicable condition defined, you'll get a blank screen / nothing.

Edited 10 Years Ago by Dave
ineke
ineke
Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)
Group: Forum Members
Posts: 20, Visits: 62
Hi Dave,

Sorry to bother you again, but I have tried different things and I still have had no luck in getting the experiment to run.

When trying to run the batch file, I get the following comment: "File not found. Please verify that the file name path is correct."
However, the file path is correct, the only thing I am not sure of is the <exp> elements that you mentioned in your last post. I could not find it in the tutorials, but how should that look like?

Thanks again!!!


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: 12K, Visits: 98K
If Inquisit tells you it can't find the file(s), you can be 99.9999% certain that there is an error somewhere in your syntax (a subtle typo, etc.). Check those thoroughly.

ineke
ineke
Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)Distinguished Member (3.7K reputation)
Group: Forum Members
Posts: 20, Visits: 62
That was my first thought too, but the file names are quite simple and are correct. However, currently  I am not referring to the batch in the scripts of the separate experiments as I am not clear how to write the <exp> elements, so i assume that is the problem?

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: 12K, Visits: 98K
No, those are unrelated problems. One step at a time: Attach the files and I can tell you what's wrong.

As for the <expt> elements: You write them as always. The question you need to ask yourself: How many between-subjects conditions are there in your "training" and your "control" script respectively? Then think about which numbers you feed into each via the <batch>. As discussed earlier, "training.exp" only gets odd ids (1,3,5,...), "control.exp" only gets even ids (2,4,6,...). The <expt> elements in those scripts need to account for that.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search