Code Monkey home page Code Monkey logo

iat's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iat's Issues

ST-IAT

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.

Undefined random string and can't submit Subject ID in Internet Explorer (9)

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.

Finding Output & adding demographics questions

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

Getting the extra demographic survey to work.

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!

Save button (still) doesn't work

The save button in experimenter.php still isn't working. I cloned the most recent version on the master branch. Is this fixed yet?

Make IAT Database-Driven

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.

Step 4 and 5 for IAT

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

Output data not saving to output folder

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

How to download the IAT

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

some questions

Hi,

thanks a lot for providing this iat! Before i am going to use it, i have some questions:

  1. how would you rate the timing? i guess, since it is written in javascript, all the calculations take place at the users computer and there is not really a delay or something, distorting the reaction times? Am i right?
  2. what are the options for "showResult" and "IATtype" in the input.txt?
  3. is it possible to alterate the critical phases, e.g. having male/science + female/arts at first and male/arts+ female/science afterwards (or vice versa)?
  4. can i set the number of items presented per condition?

again, thanks a lot, felix

Possible to add license file?

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

embedding in surveys

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

Scoring algorithm

Hi,

does this use the original IAT scoring algorithm or the improved version described in Greenwald, Nosek & Banaji (2003)?

Thank you.

IATanalysis.R, running errors

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 found

setwd(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.

Unresponsive Script-Error

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?

data analysis with output

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!

order compatible-incompatible blocks

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

Setting a different test to active

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?

output timing but not summary

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

Modify IAT?

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

Running perfectly on explorer, but nothing else

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.