## Dividing subjects into 2 separate sets of experiments

##### Dividing subjects into 2 separate sets of experiments
 Author Message Adrien posted 8 Years Ago ANSWER Group: Awaiting Activation Posts: 1, Visits: 10 Hey,So I'm trying to create a study that involves 2 sets of experiments where the participants are divided into separate groups. In the first one (experiment 2) there are 5 groups and I was able to set that up no problem. The issue comes up with experiment 3. In that one, the participants who go through experiment 2B need to do experiment 3B, whereas everyone else does experiment 3A (which I've copied onto 3C-3E to fit the /subjects line). But when I try coding it for that it just shuts down after experiment 2 is over, regardless of which group I try running, without giving me any error codes. I'm pretty sure it's an issue with the /subjects line, because if I take that out of experiments 3A and 3B it just runs both one after the other for all groups. Can someone help me figure this out? I've included the code if that makes things any easier. /subjects = (1 of 5)/blocks = [1 = targetblock]/postinstructions = (intro3)/groupassignment = groupnumber/subjects = (2 of 5)/blocks = [1 = targetblock2]/postinstructions = (intro3)/groupassignment = groupnumber/subjects = (3 of 5)/blocks = [1 = targetblock3]/postinstructions = (intro3)/groupassignment = groupnumber/subjects = (4 of 5)/blocks = [1 = targetblock4]/postinstructions = (intro3)/groupassignment = groupnumber/subjects = (5 of 5)/blocks = [1 = targetblock5]/postinstructions = (intro3)/groupassignment = groupnumber/subjects = (1 of 5)/preinstructions = (intro4)/blocks = [1= EmotionSurvey]/postinstructions = (end)/subjects = (3 of 5)/preinstructions = (intro4)/blocks = [1= EmotionSurvey]/postinstructions = (end)/subjects = (4 of 5)/preinstructions = (intro4)/blocks = [1= EmotionSurvey]/postinstructions = (end)/subjects = (5 of 5)/preinstructions = (intro4)/blocks = [1= EmotionSurvey]/postinstructions = (end)/subjects = (2 of 5)/preinstructions = (intro4)/blocks = [1= EmotionSurvey2]/postinstructions = (end) Dave posted 8 Years Ago ANSWER Group: Administrators Posts: 12K, Visits: 100K /subjects = (2 of 5)/blocks = [1 = targetblock2]/postinstructions = (intro3)/groupassignment = groupnumber#1: You assign your to "2"-series of s based on *groupnumber*. You do not do so with your "3"-series of s./subjects = (3 of 5)/preinstructions = (intro4)/blocks = [1= EmotionSurvey]/postinstructions = (end)If you don't explicitly specify /groupassignment, Inquisit will use /groupassignment = subjectnumber by default. Specify /groupassignment = groupnumber in your "3" elements just like in your "2" s.#2: > participants who go through experiment 2B need to do experiment 3BIs not what the code suggests. Had you specified /groupassignment, the corresponding to 2B would be 3E:/subjects = (2 of 5)/preinstructions = (intro4)/blocks = [1= EmotionSurvey2]/postinstructions = (end)                                Basic, working example:/ blocks = [1=myblock]/ subjects = (1 of 2)/ groupassignment = groupnumber/ blocks = [1=myblock]/ subjects = (2 of 2)/ groupassignment = groupnumber/ blocks = [1=myblock]/ subjects = (1 of 2)/ groupassignment = groupnumber/ blocks = [1=myblock]/ subjects = (2 of 2)/ groupassignment = groupnumber/ trials = [1=mytrial]/ stimulusframes = [1=mytext]/ validresponse = (57)/ items = ("This is expt <%script.currentexpt%>")

#### Merge Selected

Merge into selected topic...

Merge into merge target...

Merge into a specific topic ID...