﻿<?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 3  » Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 13 Sep 2026 17:23:46 GMT</lastBuildDate><ttl>20</ttl><item><title>Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic5223.aspx</link><description>&lt;p&gt;Dear all, &lt;/p&gt;
&lt;p&gt;I would like to run two IATs per person in sequence and thus wrote an "Include" data file which is working just fine. Except for one thing: I realized that since I kept all the &amp;lt;values&amp;gt; and &amp;lt;expressions&amp;gt; data in the "include" data file, Inquisit only computes one D measure for the two IATs. However, I need a D measure for each of the two IATs. I have tried to delete the &amp;lt;values&amp;gt; and &amp;lt;expressions&amp;gt; commands from the "Include" file and to write these commands preceded by "iat1" and "iat2", respectively (just like you need to do with many other commands), but Inquisit does not run this script properly. Can anyone help me on this? I would truly appreciate this!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks and regards&lt;/p&gt;
&lt;p&gt;Sonja&lt;/p&gt;</description><pubDate>Mon, 02 May 2016 14:35:09 GMT</pubDate><dc:creator>Sonja</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic18993.aspx</link><description>Yes. At the end of IAT #1 store the D-score in a separate &amp;lt;values&amp;gt; entry. Do the same at the end of IAT #2. Log both values to the summary data file.&lt;br/&gt;</description><pubDate>Mon, 02 May 2016 14:35:09 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic18992.aspx</link><description>Hi! &lt;br/&gt;&lt;br/&gt;I'm also combining two IATs in one experiment. I was wondering if it is possible to show an overall D-score of IAT1 and an overall D-score of IAT2 in the summarydata file?&lt;br/&gt;&lt;br/&gt;Thanks in advance.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Sanne&lt;br/&gt;</description><pubDate>Mon, 02 May 2016 13:19:50 GMT</pubDate><dc:creator>Sanneve</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic7853.aspx</link><description>&lt;p&gt;Working fine for me. I recommend removing and re-installing the web control as per https://www.millisecond.com/support/uninstalljava.aspx.&lt;/p&gt;</description><pubDate>Sat, 14 Apr 2012 11:16:34 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic7852.aspx</link><description>&lt;p&gt;Dave,&lt;/p&gt;
&lt;p&gt;Thanks for the clarification. I have finished the script. It works fine when I run on my desktop, but it crashes 98% of the time when I run on the web. I have tried to run on different computers and browsers, but it starts and then takes me to the script's last page. I have cleaned the cache, updated my browser, and done everything else you can think of. Any help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Launch page: &lt;a id="ctl00_MainContent_WebScriptsGrid_ctl02_LaunchUrlLink" href="http://research.millisecond.com/bwalker/college.web" target="_blank"&gt;http://research.millisecond.com/bwalker/college.web&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Files: &lt;a href="https://www.dropbox.com/sh/te39y7aw9mdkx4m/vhhJxaM3Q7"&gt;https://www.dropbox.com/sh/te39y7aw9mdkx4m/vhhJxaM3Q7&lt;/a&gt;&lt;/p&gt;
</description><pubDate>Sat, 14 Apr 2012 10:44:51 GMT</pubDate><dc:creator>Jimmy Page</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic7808.aspx</link><description>&lt;p&gt;[quote]So, my question is this: Should I add the onblocked element anyways?[/quote]&lt;/p&gt;
&lt;p&gt;If you want to have separate Ds for the two IATs, yes. See the first reply in this thread. The point is that you obviously must reset the various sums, etc. used to compute D to zero after the 1st IAT finishes and before the 2nd IAT starts.&lt;/p&gt;
&lt;p&gt;[quote]However, I cannot tell whether the two scores are independent from each other. Is there a way to find out just by looking at the data file?[/quote]&lt;/p&gt;
&lt;p&gt;Check if the relevant expressions recorded in the data file start at 0 at the for the 2nd IAT.&lt;/p&gt;
&lt;p&gt;[quote]Should I change "values.magnitude" to "values.iat1magnitude"? I did change, but I got an error.[/quote]&lt;/p&gt;
&lt;p&gt;Why would you want to do that? (The instructions in the respective documentation topic do not suggest to do so either, as far as I'm aware).&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Sun, 08 Apr 2012 11:10:36 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic7807.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;I have a similar script (please see files attached), but I did not delete the summary section. So, my question is this: Should I add the onblocked element anyways? I run my script and it seems that it did record two separate d scores. However, I cannot tell whether the two scores are independent from each other. Is there a way to find out just by looking at the data file?&lt;/p&gt;
&lt;p&gt;Question 2: I did follow the instructions found &lt;a target="_self" href="/support/docs/v3/html/howto/multiplescripts.htm"&gt;here&lt;/a&gt; to combine multiple scripts using the include method. Should I change "values.magnitude" to "values.iat1magnitude"? I did change, but I got an error.&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help.&lt;/p&gt;
&lt;p&gt;J.Page&lt;/p&gt;</description><pubDate>Sun, 08 Apr 2012 10:23:19 GMT</pubDate><dc:creator>Jimmy Page</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic6225.aspx</link><description>&lt;p&gt;[quote]Does a tutorial or anything exist how to program the d-score algorythm in inquisit? I would like to understand a little bit better&amp;nbsp;what I use&amp;nbsp;:-)[/quote]&lt;/p&gt;
&lt;p&gt;Read Greenwald et al. (2003) for all the details on the D scoring algorithm. Then look at the respective &amp;lt;values&amp;gt; and &amp;lt;expressions&amp;gt; in the Inquisit script. It's rather basic stuff, really. Also see https://www.millisecond.com/forums/Topic3444.aspx#3444 and https://www.millisecond.com/community/forums/p/928/3204.aspx#3204.&lt;/p&gt;</description><pubDate>Tue, 21 Jun 2011 05:07:15 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic6224.aspx</link><description>&lt;p&gt;Thanks a lot!&lt;/p&gt;
&lt;p&gt;I followed your advice and created a Block "clear":&lt;/p&gt;
&lt;p&gt;&amp;lt;block clear&amp;gt;&lt;br /&gt;/ onblockend = [values.sum1a=0; values.sum2a=0;&amp;nbsp; values.sum1b=0; values.sum2b=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.n1a=0; values.n2a=0; values.n1b=0; values.n2b=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.ss1a=0; values.ss2a=0; values.ss1b=0; values.ss2b=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.magnitude="unknown"]&lt;br /&gt;&amp;lt;/block&amp;gt;&lt;/p&gt;
&lt;p&gt;I think the data recording works as it should now, because there are a few clear lines in the data sheet between the first and the second iat (e.g. attributepractice and expressions.db). They were not without the clear-block. &lt;/p&gt;
&lt;p&gt;Does a tutorial or anything exist how to program the d-score algorythm in inquisit? I would like to understand a little bit better&amp;nbsp;what I use&amp;nbsp;:-)&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;Arne&lt;/p&gt;</description><pubDate>Tue, 21 Jun 2011 05:02:21 GMT</pubDate><dc:creator>inquisitor</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic6223.aspx</link><description>&lt;p&gt;[quote]&lt;/p&gt;
&lt;p&gt;I just deleted the summary-trials and -blocks, and left everything as it has been in the original script. For each ST-IAT I changed a) the trial-labels b) the block-labels (except the attributepractice-block)&amp;nbsp;c) the item-labels and d) the variables&lt;/p&gt;
&lt;p&gt;I changed nothing in the values- or expressions-elements. &lt;/p&gt;
&lt;p&gt;Did I do anything correctly? I want to start my main study next week and it would be terrible if the d-score-recording would not work.&lt;/p&gt;
&lt;p&gt;[/quote]&lt;/p&gt;
&lt;p&gt;You need to reset a bunch of values *between* the two IATs, i.e., after the 1st one finished and before the 2nd one starts. See my previous post in this thread. Since you deleted the summary block (which would have been suitable for this purpose, because it sits right between the two IATs), you need to introduce some kind of 'reset' block and/or trial element and run it between the two procs.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;
</description><pubDate>Tue, 21 Jun 2011 03:20:35 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic6222.aspx</link><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;I have encountered a similar problem, that's why I don't want to create a new topic. &lt;/p&gt;
&lt;p&gt;In my study, I'm also running two ST-IATs in one script and it seems that everything works fine. But since I don't present the d-scores as feedback to the participants of my study, I'm not able to test if the recorded d-scores are the right ones. &lt;/p&gt;
&lt;p&gt;I just deleted the summary-trials and -blocks, and left everything as it has been in the original script. For each ST-IAT I changed a) the trial-labels b) the block-labels (except the attributepractice-block)&amp;nbsp;c) the item-labels and d) the variables&lt;/p&gt;
&lt;p&gt;I changed nothing in the values- or expressions-elements. &lt;/p&gt;
&lt;p&gt;Did I do anything correctly? I want to start my main study next week and it would be terrible if the d-score-recording would not work.&lt;/p&gt;

&lt;p&gt;Thanks in advance and regards&lt;/p&gt;

&lt;p&gt;Arne&lt;/p&gt;</description><pubDate>Tue, 21 Jun 2011 02:40:48 GMT</pubDate><dc:creator>inquisitor</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic5228.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;thanks so much, it works! [:D]&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sonja&lt;/p&gt;</description><pubDate>Mon, 13 Dec 2010 22:12:34 GMT</pubDate><dc:creator>Sonja</dc:creator></item><item><title>RE: Compute separate D measures for two IATs that work with &amp;quot;include&amp;quot; file</title><link>https://forums.millisecond.com/Topic5224.aspx</link><description>&lt;p&gt;Add&lt;/p&gt;
&lt;p&gt;/ onblockend = [values.sum1a=0; values.sum2a=0;&amp;nbsp; values.sum1b=0; values.sum2b=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.n1a=0; values.n2a=0; values.n1b=0; values.n2b=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.ss1a=0; values.ss2a=0; values.ss1b=0; values.ss2b=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.magnitude="unknown"]&lt;/p&gt;
&lt;p&gt;to &amp;lt;block summary&amp;gt; and you should be all set.&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Mon, 13 Dec 2010 15:27:43 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>