﻿<?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  » coding trials for data</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 23 Sep 2026 06:00:48 GMT</lastBuildDate><ttl>20</ttl><item><title>coding trials for data</title><link>https://forums.millisecond.com/Topic19330.aspx</link><description>Hello!&lt;br/&gt;How can I give half of my trials a certain marker (such as "same category") and the other half a different marker (such as "different category") and then have that information available in my data file--so I can sort the trials according to these two different markers?&amp;nbsp;&lt;br/&gt;Does this make sense?&lt;br/&gt;Thanks!&lt;br/&gt;Katlyn</description><pubDate>Wed, 29 Jun 2016 13:07:38 GMT</pubDate><dc:creator>Katlyn.Frey@ColoradoCollege.edu</dc:creator></item><item><title>RE: coding trials for data</title><link>https://forums.millisecond.com/Topic19333.aspx</link><description>Suppose you have two "same category" &amp;lt;trial&amp;gt; elements , and two "different category" &amp;lt;trial&amp;gt; elements. &lt;br/&gt;&lt;br/&gt;Set up a &amp;lt;values&amp;gt; entry:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ category = ""&lt;br/&gt;...&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;and set that value to the appropriate label in your trials:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial same_a&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.category = "same category"]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial same_b&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.category = "same category"]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial different_a&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.category = "different category"]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial different_b&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.category = "different category"]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Specify the &amp;lt;data&amp;gt; element in the script to log the respective value:&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [date time subject group blocknum blockcode trialnum trialcode response latency correct ... values.category]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;You can then sort by values.category as needed.&lt;br/&gt;</description><pubDate>Wed, 29 Jun 2016 13:07:38 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>