If then response likert scale


Author
Message
Elmar
Elmar
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: 7, Visits: 15
Dear moderator,

I'm working on my masterthesis and I have a slight problem. If a participants is a female she needs to hold a yellow stretchband. If the participants is male he needs to hold a red stretchband. So I need to program IF female THEN yellow and IF male THEN red. How do I program this? (I already have the likert question below)

<likert gender>
/ numpoints = 2
/ anchors = [1="Male"; 2="Female"]
/ stimulustimes = [1=questiongender]
</likert>

<text questiongender>
/ items = ("What is your gender?")
/ position = (50,30)
</text>

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: 95K
<block someblock>
/ trials = [1=sequence(gender,colormessage)]
</block>

<likert gender>
/ numpoints = 2
/ anchors = [1="Male"; 2="Female"]
/ stimulustimes = [1=questiongender]
</likert>

<text questiongender>
/ items = ("What is your gender?")
/ position = (50,30)
</text>

<trial colormessage>
/ stimulusframes = [1=messagetxt]
/ validresponse = (57)
</trial>

<text messagetxt>
/ items = ("Please hold the RED stretchband.", "please hold the YELLOW stretchband.")
/ select = likert.gender.response
</text>


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: 95K
<values>
/ coloritem = 1
</values>

<block someblock>
/ trials = [1=sequence(gender,colormessage)]
</block>

<likert gender>
/ ontrialend = [if (likert.gender.response==1) values.coloritem = replace(1,2)]
/ ontrialend = [if (likert.gender.response==2) values.coloritem = replace(3,4)]
/ numpoints = 2
/ anchors = [1="Male"; 2="Female"]
/ stimulustimes = [1=questiongender]
</likert>

<text questiongender>
/ items = ("What is your gender?")
/ position = (50,30)
</text>

<trial colormessage>
/ stimulusframes = [1=messagetxt]
/ validresponse = (57)
</trial>

<text messagetxt>
/ items = ("Please hold the RED stretchband.", "Please hold the PURPLE stretchband."
"Please hold the YELLOW stretchband.", "Please hold the GREEN stretchband.")
/ select = values.coloritem
</text>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search