﻿<?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 5  » Multiple Randomization for Risk Tasking Task</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 05 May 2026 03:46:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Multiple Randomization for Risk Tasking Task</title><link>https://forums.millisecond.com/Topic20013.aspx</link><description>New to programming an entire task on inquisit. Not sure where to begin. I need participants to select an one of two images, one being a 'risky' choice and one being a 'safe' choice. I also want to randomize which of the two images end up being risky and safe.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;If they chose the safe option they have a 10% chance of getting an image that represents a lose of 20 points, a 10% of getting an image that represents a gain of 20 points, and the other two images are a 40% of gaining 10 points or 40% of losing 10 points.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;The risky option has the ratios flipped, so 40% of gaining/losing 20 points, 10% of losing/gaining 10 points.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;We also DO NOT want total points to show anywhere on the screen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;They have a learning phase that I have already programmed where they will be learning the values of the images so they will already know how many points they will have as a result&amp;nbsp;</description><pubDate>Tue, 01 Nov 2016 12:14:22 GMT</pubDate><dc:creator>liznik</dc:creator></item><item><title>RE: Multiple Randomization for Risk Tasking Task</title><link>https://forums.millisecond.com/Topic20016.aspx</link><description>The basic mechanics go like this (using &amp;lt;text&amp;gt; elements for the sake of example; it works the same with &amp;lt;picture&amp;gt; elements):&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-10 = choicetrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial choicetrial&amp;gt;&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=safe, risky]&lt;br/&gt;/ validresponse = (safe, risky)&lt;br/&gt;/ branch = [if (trial.choicetrial.response == "safe") list.safechoice.nextvalue]&lt;br/&gt;/ branch = [if (trial.choicetrial.response == "risky") list.riskychoice.nextvalue]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text safe&amp;gt;&lt;br/&gt;/ items = ("SAFE")&lt;br/&gt;/ position = (40%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text risky&amp;gt;&lt;br/&gt;/ items = ("RISKY")&lt;br/&gt;/ position = (60%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list safechoice&amp;gt;&lt;br/&gt;/ items = (trial.20loss, trial.20gain, trial.10loss, trial.10gain)&lt;br/&gt;/ itemprobabilities = (.10, .10, .40, .40)&lt;br/&gt;/ poolsize = 10&lt;br/&gt;/ replace = true&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list riskychoice&amp;gt;&lt;br/&gt;/ items = (trial.20loss, trial.20gain, trial.10loss, trial.10gain)&lt;br/&gt;/ itemprobabilities = (.40, .40, .10, .10)&lt;br/&gt;/ poolsize = 10&lt;br/&gt;/ replace = true&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial 20loss&amp;gt;&lt;br/&gt;/ stimulusframes = [1=20losstxt]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial 20gain&amp;gt;&lt;br/&gt;/ stimulusframes = [1=20gaintxt]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial 10loss&amp;gt;&lt;br/&gt;/ stimulusframes = [1=10losstxt]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial 10gain&amp;gt;&lt;br/&gt;/ stimulusframes = [1=10gaintxt]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text 20losstxt&amp;gt;&lt;br/&gt;/ items = ("-20 points")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text 20gaintxt&amp;gt;&lt;br/&gt;/ items = ("+20 points")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text 10losstxt&amp;gt;&lt;br/&gt;/ items = ("-10 points")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text 10gaintxt&amp;gt;&lt;br/&gt;/ items = ("+10 points")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The two &amp;lt;list&amp;gt; elements are responsible for the varying probabilistic outcomes based on "safe" vs. "risyk" choice.&lt;br/&gt;&lt;br/&gt;The 20gain, 20loss, etc. &amp;lt;trial&amp;gt; elements would be used to present the respective images instead of &amp;lt;text&amp;gt; elements; you would hanclle any scoring (if so desired) via /ontrialbegin or -end logic in those &amp;lt;trial&amp;gt; elements.&lt;br/&gt;</description><pubDate>Tue, 01 Nov 2016 12:14:22 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>