Compute separate D measures for two IATs that work with "include" file


Author
Message
Sonja
Sonja
Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)
Group: Forum Members
Posts: 12, Visits: 1

Dear all,


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 <values> and <expressions> 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 <values> and <expressions> 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! 



Thanks and regards


Sonja


Dave
Dave
Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)
Group: Administrators
Posts: 10K, Visits: 51K

Add


/ onblockend = [values.sum1a=0; values.sum2a=0;  values.sum1b=0; values.sum2b=0;
    values.n1a=0; values.n2a=0; values.n1b=0; values.n2b=0;
    values.ss1a=0; values.ss2a=0; values.ss1b=0; values.ss2b=0;
    values.magnitude="unknown"]


to <block summary> and you should be all set.


~Dave


Sonja
Sonja
Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)
Group: Forum Members
Posts: 12, Visits: 1

Hi Dave,


thanks so much, it works! [:D]


Regards,


Sonja


inquisitor
inquisitor
Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)
Group: Forum Members
Posts: 2, Visits: 1

Hey,


I have encountered a similar problem, that's why I don't want to create a new topic.


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.


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) c) the item-labels and d) the variables


I changed nothing in the values- or expressions-elements.


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.



Thanks in advance and regards



Arne


Dave
Dave
Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)
Group: Administrators
Posts: 10K, Visits: 51K


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) c) the item-labels and d) the variables


I changed nothing in the values- or expressions-elements.


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.



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.


Regards,


~Dave



inquisitor
inquisitor
Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)Partner Member (560 reputation)
Group: Forum Members
Posts: 2, Visits: 1

Thanks a lot!


I followed your advice and created a Block "clear":


<block clear>
/ onblockend = [values.sum1a=0; values.sum2a=0;  values.sum1b=0; values.sum2b=0;
    values.n1a=0; values.n2a=0; values.n1b=0; values.n2b=0;
    values.ss1a=0; values.ss2a=0; values.ss1b=0; values.ss2b=0;
    values.magnitude="unknown"]
</block>


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.


Does a tutorial or anything exist how to program the d-score algorythm in inquisit? I would like to understand a little bit better what I use :-)


Thanks again!


Arne


Dave
Dave
Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)
Group: Administrators
Posts: 10K, Visits: 51K

Does a tutorial or anything exist how to program the d-score algorythm in inquisit? I would like to understand a little bit better what I use :-)


Read Greenwald et al. (2003) for all the details on the D scoring algorithm. Then look at the respective <values> and <expressions> 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.


Jimmy Page
Jimmy Page
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 13, Visits: 1

Hi Dave,


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?


Question 2: I did follow the instructions found here to combine multiple scripts using the include method. Should I change "values.magnitude" to "values.iat1magnitude"? I did change, but I got an error.


Thanks a lot for your help.


J.Page


Attachments
Dave
Dave
Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)Supreme Being (783K reputation)
Group: Administrators
Posts: 10K, Visits: 51K

So, my question is this: Should I add the onblocked element anyways?


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.


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?


Check if the relevant expressions recorded in the data file start at 0 at the for the 2nd IAT.


Should I change "values.magnitude" to "values.iat1magnitude"? I did change, but I got an error.


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).


Regards,


~Dave


Jimmy Page
Jimmy Page
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 13, Visits: 1

Dave,


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.


Launch page: http://research.millisecond.com/bwalker/college.web


Files: https://www.dropbox.com/sh/te39y7aw9mdkx4m/vhhJxaM3Q7



Tags
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search