﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Assigning participants to condition based on sexual orientation</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 20 Sep 2026 17:24:47 GMT</lastBuildDate><ttl>20</ttl><item><title>Assigning participants to condition based on sexual orientation</title><link>https://forums.millisecond.com/Topic18702.aspx</link><description>Hi there,&lt;br/&gt;&lt;br/&gt;I'm relatively new to Inquisit and I'm trying to simulate a Tinder-like environment in which participants can indicate whether they like a person or not based on picture stimuli. To that end, I need to match the stimuli with participants' sexual orientation (i.e., a heterosexual female participant or a homosexual male participant should only be presented with pictures of men).&amp;nbsp;I guess this means that I need to assign participants to one of two conditions (pictures of men versus pictures of women), which is why I've sorted pictures of men and women into separate &amp;lt;item&amp;gt; elements. &lt;br/&gt;However, I would rather avoid asking participants directly/face-to-face in our lab what their sexual orientation is&amp;nbsp;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 24px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"&gt;because of the sensitive nature of such a question, and so I can't use the '/groupassignment' attribute and enter a group number manually. Instead, I'd like to add a question at the start of the experiment that asks them about their sexual orientation, and then automatically redirect them to the right condition. And so, my question is the following:&lt;br/&gt;&lt;br/&gt;Can I present participants with the stimuli that corresponds to their sexual preference (which is indicated by the answer to a question at the start of the experiment)? Perhaps something with the &amp;lt;include&amp;gt; element, using the '/precondition' attribute?&lt;br/&gt;&lt;br/&gt;Thank you so much for your time!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;P.S. - I currently have Inquisit 4, but I could upgrade to Inquisit 5 if necessary.&lt;br/&gt;&lt;/span&gt;&lt;br/&gt;</description><pubDate>Fri, 25 Mar 2016 07:21:48 GMT</pubDate><dc:creator>TEVH</dc:creator></item><item><title>RE: Assigning participants to condition based on sexual orientation</title><link>https://forums.millisecond.com/Topic18703.aspx</link><description>Neither &amp;lt;include&amp;gt; nor /groupassignment are the way to go here.&lt;br/&gt;&lt;br/&gt;Your options are to either &lt;br/&gt;&lt;br/&gt;(1) set up separate &amp;lt;block&amp;gt;s for male vs. female and use /skip to only run the applicable ones, or&lt;br/&gt;&lt;br/&gt;(2) Use &amp;lt;list&amp;gt; representing the different item numbers for male vs. female stimuli and sample from the appropriate list based on the indicated sexual orientation.&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ itemnumber = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=orientationpage; 2-5=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage orientationpage&amp;gt;&lt;br/&gt;/ questions = [1=iam; 2=lookingfor]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown iam&amp;gt;&lt;br/&gt;/ caption = "I am a"&lt;br/&gt;/ options = ("man", "woman")&lt;br/&gt;&amp;lt;/dropdown&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown lookingfor&amp;gt;&lt;br/&gt;/ caption = "looking for"&lt;br/&gt;/ options = ("men", "women")&lt;br/&gt;&amp;lt;/dropdown&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [if (dropdown.lookingfor.response == "men") values.itemnumber = list.maleitems.nextvalue else&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.itemnumber = list.femaleitems.nextvalue; ]&lt;br/&gt;/ stimulusframes = [1=stimulus]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list maleitems&amp;gt;&lt;br/&gt;/ items = (1,2,3,4)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list femaleitems&amp;gt;&lt;br/&gt;/ items = (5,6,7,8)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text stimulus&amp;gt;&lt;br/&gt;/ items = myitems&lt;br/&gt;/ select = values.itemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item myitems&amp;gt;&lt;br/&gt;/ 1 = "Male_A.jpg"&lt;br/&gt;/ 2 = "Male_B.jpg"&lt;br/&gt;/ 3 = "Male_C.jpg"&lt;br/&gt;/ 4 = "Male_D.jpg"&lt;br/&gt;&lt;br/&gt;/ 5 = "Female_A.jpg"&lt;br/&gt;/ 6 = "Female_B.jpg"&lt;br/&gt;/ 7 = "Female_C.jpg"&lt;br/&gt;/ 8 = "Female_D.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;</description><pubDate>Fri, 25 Mar 2016 07:21:48 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>