winteram / iat Goto Github PK
View Code? Open in Web Editor NEWOnline IAT
License: MIT License
Online IAT
License: MIT License
Hello, how to use ST-IAT on this tools?
Somehow when I rename the folder, the option of ST-IAT or standar IAT appear, but when it appears, I cannot save it.
Hi Winter,
Thanks for writing this, really useful stuff.
I've created the IAT and it works great on Firefox and Chrome, but I'm still having problems with Internet Explorer, even with a fresh download of files.
Using IE 8 or 9 (haven't tried other versions) on the first page (i.e. instruct0.html) the Subject ID box autofills with the word "undefined" 10 times (presumably an issue with the randomString(10) function). Then when trying to click on "Submit Subject ID", the button animates but no new page is loaded - with the 10xundefined value, or a new value given.
If you have any recomendations or advice on how to get this functioning in Internet Explorer, it'd be greatly appreciated.
Many thanks,
Greg.
Hi! I am not extremely well-aware of Github environment. I have copied the IAT folder to my url: http://104.131.71.163/IAT/. However, I am not getting output (active IAT - Race).
Also, I want to add few demographics and other questions before respondents take the test. Is it possible to do so? Probably, I can add a link and then direct users to IAT? Please help.
Thanks so much in advance,
A
I am trying to use the extra demographic survey which seems to exist already, how would I go about actually having my IAT run that survey? Is this already set up in the code or would I need to make changes? (PHP/HTML semi-noob here). Anything you can tell me would be very useful!
Thanks!
The save button in experimenter.php still isn't working. I cloned the most recent version on the master branch. Is this fixed yet?
Something that would be great to see for this IAT would be to have both the data and the configuration in a MySQL/PostgreSQL database, so that the files that make up the IAT wouldn't have to be changed or written to. This would allow easy deployment on something like Heroku, even their free tier with a 10,000 row Postgres database.
I know I saw it mentioned in the SPSP slides to have the data saved to a database, but this would be a bit of a shift for the project. There are of course pros and cons to maintaining a filesystem-only application, as well as making this database-driven.
Hi,
I am not very familiar with PHP for step 4) Modify "writeFile.php": set the variable $base_dir to the directory where you would like to keep the output
How do I set the variable $base_dir? Do I edit the following:
$base_dir = realpath(dirname(FILE));
$folder_dir = "../output/";
for example if my base directory is "Users/Kayla/Desktop/IAT-master/templates/Science/output" where do I put this in the "writeFile.php" ?
Also for directing participants to the browser. Two questions: Do I get participants to click "index.php" to complete the test?
And clicking on "index.php" works when I use "Opera" but when I try to use safari or google chrome it gives me an error message to enable javascript
However, I have javascript enabled. How do I fix this?
Thanks,
Kluhlynn
Hi,
First off, the experimenter.php window would not save so I went ahead and edited the input.txt file and active.txt file manually and I have a working IAT now
My problem now is that I am getting no output data. Even when I test the default active (science) IAT that the IAT-master folder contains, no output saves to the output folder.
Do I have to change permissions somewhere? Also, since I've edited the files manually to create my IAT, do I need to create an output folder with a blank.txt page in it?
Is the output data supposed to save in my filezilla once someone completes the task?
Please help.
Thanks,
Kayla
Template name: input.txt
The Save option doesn't always work
Hi,
I can't figure out how to download the IAT onto my computer so I can analyse the data in R. Can someone help please?
Thanks :)
Hi,
thanks a lot for providing this iat! Before i am going to use it, i have some questions:
again, thanks a lot, felix
Hi,
Thanks for the useful tool! I wanted to see if it would be possible to add license information, such as GNU General Public License, to clarify intended and allowed usage of this tool.
Thanks!
Kai
I love this idea but I can't use words I need. When I use word with characters like č or š, it won't save in experimenter tool. Can you please help me?
Hi there,
how have you been embedding this into larger surveys? I work with somebody who wants to embed this into a larger qualtrics survey. I imagine the best way would be to link out from qualtrics, open a new window, and load the iat in it. Then, the question would be how to link the datasets automatically. I looked into the code - the random number comes from initialize() in IAT.js. So perhaps one could change the code there so that it takes the number from the URL, e.g. something like www.server.com/IAT/index.php?id=1111 - and then submit this form automatically? have you done something like this in the past?
thanks,
thomas
Hi,
could you add the calculation of internal reliability (alpha) for the IAT to the IATanalysis.R script?
Regards,
Jan
Hi,
does this use the original IAT scoring algorithm or the improved version described in Greenwald, Nosek & Banaji (2003)?
Thank you.
Hello,
Everything has been working wonderfully thus far, but I've run into one problem. When I run the IATanalysis.R file in R studio, I receive the following lines of errors in return:
**
Error in is.data.frame(x) :
(list) object cannot be coerced to type 'double'
In addition: Warning messages:
1: In mean.default(subset(data.list[[i]], V1 == 3 & V6 > 300 & V6 < :
argument is not numeric or logical: returning NA
2: In mean.default(subset(data.list[[i]], V1 == 6 & V6 > 300 & V6 < :
argument is not numeric or logical: returning NA
rm(block4.m,block4.sd,block7.m,block7.sd,d,data.list,diff,filename,full.sd,i,iat.date,id,output.files)
Warning messages:
1: In rm(block4.m, block4.sd, block7.m, block7.sd, d, data.list, diff, :
object 'block4.sd' not found
2: In rm(block4.m, block4.sd, block7.m, block7.sd, d, data.list, diff, :
object 'block7.sd' not found
3: In rm(block4.m, block4.sd, block7.m, block7.sd, d, data.list, diff, :
object 'd' not found
4: In rm(block4.m, block4.sd, block7.m, block7.sd, d, data.list, diff, :
object 'diff' not found
5: In rm(block4.m, block4.sd, block7.m, block7.sd, d, data.list, diff, :
object 'full.sd' not foundsetwd(paste(base.dir,"templates",fd,template.name,sep=""))
write.csv(summarized, "summarized.csv")
**
To be sure, the summarized.csv file is being generated, and updated properly with each new output. However, as the above error reads, there is no data in the resulting summarized.csv file: only returned NAs.
I have not altered the IATanalysis.R file at all, so I suppose I must be running it incorrectly (a distinct possibility, since I am quite new to R!).
Any help is greatly appreciated.
Thank you.
I really love your idea of providing an open source iat, but sadly, the iat doesn't work for me. I tried it in different browsers (IE, Firefox, Opera) on two different platforms (Linux, Windows) and I always get an unresponsive script-error because of ...core/js/IAT.js:238.
Has anybody the same problem? What can I do?
hi there!
thank you for creating an open-source version of the IAT. we have used the older version of the program that was located on sourceforge and have transformed the output into an excel file and an spss file, with one participant per line. we know what each of the variables is (block, round, etc.) but we're not sure how to use this data to obtain anything other than a simple IAT score comparing reaction times.
for commercial programs, we typically use SPSS syntax that comes with the program in order to analyze the data. is there a similar algorithm available for this program?
thank you!
hi guys,
It looks to us like the order of compatible vs. incompatible blocks is not counterbalanced? We tried our test several times, compatible always comes first. And in the output, all codes are for the current trial only, there doesn't seem to be a condition variable (or what is round#?)
Is that correct? Do you plan to change this?
Related, I think in the old days of the IAT, we also counterbalanced assignment of categories to left and right across participants. That is also not done here, right?
I realize that we can influence whether compatible or incompatible comes first by exchanging the categories in the input.txt, but it's of course always the same order, no randomization
best, thomas
I have the application set up on my server but when I try to change the test from the default (Science) the "Set Active" button doesn't seem to work. Any idea why this might be happening for me?
Hi,
Thanks for this great service! I've got it up and running really well except for one thing. I can't get anything written to the summarized.csv file. It writes to reaction times of each participant in the template folder, but not the summaries and d scores. I'd like to use that file to analyze the results in R, but if I can't write to it, I'm stuck! I've made sure the permission are appropriately set, but no dice. I've also tried, when setting up a database to use T (text) and D. So I'm kind of stuck at this point. Any advice? Should I move the file to the template's folder perhaps?
Thank you!
Michael
Hi,
So all the templates for the IAT are 2x2 but I was wondering if I could change that to a 3x2 (e.g. 3 different races)? Is there any way to modify this?
Thanks,
Ava
Greetings folks!
I love this code for the IAT, but I am stuck on how to get it to work on all browsers. As of right now, I can only get it to work on explorer on my laboratory computer, but we plan to collect data over a listserv. As such, we have little control over browsers- we need this to work in most (or at least a majority) of browsers, but right now it only works in explorer. Otherwise, it simply gives the message "Javascript must be enabled for the application to run. Please enable javascript to continue."
I am reasonably new to Javascript, so I apologize if this is obvious- I've been messing with this for a week and can't seem to figure out the issue. We have modified program files slightly with more appropriate instructions for our task. The URL for the program is as follows (it will be embedded into another survey)
cas.illinoisstate.edu/edwesse/research/iat/index.php
Any help as soon as possible would be greatly appreciated!
Thanks!
Diana
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.