Millisecond Forums

skip a survey based on response in a previous survey

https://forums.millisecond.com/Topic22890.aspx

By siczek - 11/18/2017

Hi, 

I'm trying to set up an experiment which includes a pretreatment survey, a manipulation, and an implicit (using IAT) and an explicit identity measures (using survey items) as outcome variables. the implicit and explicit measures are randomly ordered. 

depending on how the subject answers the pretreatment survey, she is later assigned to one of four possible surveys (explicit, explicit2, explicit3, or explicit4)


**************************
***In the pretreatment survey there is a question on citizenship***
*** the response options are "Türkei", "Deutschland", "Türkei & Deutschland", "anderes Land"*****
***radiobuttons.citizenship is part of a survey called pretreatment****

<radiobuttons citizenship>
/ caption = "Was ist Ihre Staatsangehörigkeit?"
/ options = ("Türkei", "Deutschland", "Türkei & Deutschland~t", "anderes Land")
/ optionvalues = ("1", "2", "3", "4")
/ orientation = horizontal
/ fontstyle = ("Arial", 2%)


*****Conditional upon the response in "citizenship", the subject is assigned to one for four possible surveys: either explicit, explicit2, explicit3, or explicit4****
*****between the pretreatment survey and the explicit survey there is a number of other blocks and other surveys.""""

****the idea here is that only the subject who opts for the response option 3 in the radiobuttons.citizenship question receives the survey explicit****** 
<survey explicit>
/ pages = [1-2=noreplace(germanid, tid)]
/ showpagenumbers = false
/ showbackbutton = false
/ nextlabel = "Weiter"
/ skip = [if (radiobuttons.citizenship.response!="3")]

****the idea here is that only the subject who opts for the response option 1 in the radiobuttons.citizenship question receives the survey explicit2****** 
<survey explicit2>
/ pages = [1-2=noreplace(germanidb, tid)]
/ showpagenumbers = false
/ showbackbutton = false
/ nextlabel = "Weiter"
/ skip = [if (radiobuttons.citizenship.response!="1")]

*****expt looks like follows*****
<expt>
/ subjects = (1 of 8)
/ groupassignment = groupnumber
/ blocks = [1=pretreatment; 2=evalpractice; 3=treatment; 4=explicit; 5=explicit2; 6=explicit3; 7=explicit4;........

My Question: 
Despite the skip condition in the surveys explicit-explicit4, I receive all four surveys when I run the experiment. I guess this is because with / skip = [if (radiobuttons.citizenship.response!="1")] it is not clear what survey I'm referring to. the citizenship question is part of another survey. How should I specify the skip condition if it refers to a response given in another survey? 

best, 
 















By Dave - 11/20/2017

siczek - Sunday, November 19, 2017
Hi, 

I'm trying to set up an experiment which includes a pretreatment survey, a manipulation, and an implicit (using IAT) and an explicit identity measures (using survey items) as outcome variables. the implicit and explicit measures are randomly ordered. 

depending on how the subject answers the pretreatment survey, she is later assigned to one of four possible surveys (explicit, explicit2, explicit3, or explicit4)


**************************
***In the pretreatment survey there is a question on citizenship***
*** the response options are "Türkei", "Deutschland", "Türkei & Deutschland", "anderes Land"*****
***radiobuttons.citizenship is part of a survey called pretreatment****

<radiobuttons citizenship>
/ caption = "Was ist Ihre Staatsangehörigkeit?"
/ options = ("Türkei", "Deutschland", "Türkei & Deutschland~t", "anderes Land")
/ optionvalues = ("1", "2", "3", "4")
/ orientation = horizontal
/ fontstyle = ("Arial", 2%)


*****Conditional upon the response in "citizenship", the subject is assigned to one for four possible surveys: either explicit, explicit2, explicit3, or explicit4****
*****between the pretreatment survey and the explicit survey there is a number of other blocks and other surveys.""""

****the idea here is that only the subject who opts for the response option 3 in the radiobuttons.citizenship question receives the survey explicit****** 
<survey explicit>
/ pages = [1-2=noreplace(germanid, tid)]
/ showpagenumbers = false
/ showbackbutton = false
/ nextlabel = "Weiter"
/ skip = [if (radiobuttons.citizenship.response!="3")]

****the idea here is that only the subject who opts for the response option 1 in the radiobuttons.citizenship question receives the survey explicit2****** 
<survey explicit2>
/ pages = [1-2=noreplace(germanidb, tid)]
/ showpagenumbers = false
/ showbackbutton = false
/ nextlabel = "Weiter"
/ skip = [if (radiobuttons.citizenship.response!="1")]

*****expt looks like follows*****
<expt>
/ subjects = (1 of 8)
/ groupassignment = groupnumber
/ blocks = [1=pretreatment; 2=evalpractice; 3=treatment; 4=explicit; 5=explicit2; 6=explicit3; 7=explicit4;........

My Question: 
Despite the skip condition in the surveys explicit-explicit4, I receive all four surveys when I run the experiment. I guess this is because with / skip = [if (radiobuttons.citizenship.response!="1")] it is not clear what survey I'm referring to. the citizenship question is part of another survey. How should I specify the skip condition if it refers to a response given in another survey? 

best, 
 
















As far as I can see, the /skip syntax is slightly off and should read

/ skip = [radiobuttons.citizenship.response != "3"]

i.e. without the "if" and any braces.