Inquisit counts right answer as error


Author
Message
Ulrike Nestler
Ulrike Nestler
Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)
Group: Forum Members
Posts: 17, Visits: 41
You are amazing Dave!
Thank you soo much! All the trouble because I was missing 3 of these " || ".... You are great! :-)

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 103K
The logic in your <trial>s' /iscorrectresponse attributes is broken. It is missing the logical OR ( || ) in the statements preceding the mentioned item numbers (5, 9 and 13). Hence those statements are never checked / always return false (i.e. an error).

/iscorrectresponse = [
                        (values.categorizationtask == "Size" && values.selectstim == 1 && trial.mixed_shift_easy.response == values.responsekey_groß) ||
                        (values.categorizationtask == "Life" && values.selectstim == 1 && trial.mixed_shift_easy.response == values.responsekey_leblos) ||
                        (values.categorizationtask == "Size" && values.selectstim == 2 && trial.mixed_shift_easy.response == values.responsekey_groß) ||
                        (values.categorizationtask == "Life" && values.selectstim == 2 && trial.mixed_shift_easy.response == values.responsekey_leblos) ||
                        (values.categorizationtask == "Size" && values.selectstim == 3 && trial.mixed_shift_easy.response == values.responsekey_groß) ||
                        (values.categorizationtask == "Life" && values.selectstim == 3 && trial.mixed_shift_easy.response == values.responsekey_leblos) ||
                        (values.categorizationtask == "Size" && values.selectstim == 4 && trial.mixed_shift_easy.response == values.responsekey_groß) || <- THIS IS FINE
                        (values.categorizationtask == "Life" && values.selectstim == 4 && trial.mixed_shift_easy.response == values.responsekey_leblos) <- MISSING OR
                        (values.categorizationtask == "Size" && values.selectstim == 5 && trial.mixed_shift_easy.response == values.responsekey_klein) || <- THIS IS FINE
                        (values.categorizationtask == "Life" && values.selectstim == 5 && trial.mixed_shift_easy.response == values.responsekey_leblos) ||
                        (values.categorizationtask == "Size" && values.selectstim == 6 && trial.mixed_shift_easy.response == values.responsekey_klein) ||
                        (values.categorizationtask == "Life" && values.selectstim == 6 && trial.mixed_shift_easy.response == values.responsekey_leblos) ||
                        (values.categorizationtask == "Size" && values.selectstim == 7 && trial.mixed_shift_easy.response == values.responsekey_klein) ||
                        (values.categorizationtask == "Life" && values.selectstim == 7 && trial.mixed_shift_easy.response == values.responsekey_leblos) ||
                        (values.categorizationtask == "Size" && values.selectstim == 8 && trial.mixed_shift_easy.response == values.responsekey_klein) || <- THIS IS FINE
                        (values.categorizationtask == "Life" && values.selectstim == 8 && trial.mixed_shift_easy.response == values.responsekey_leblos) <- MISSING OR
                        (values.categorizationtask == "Size" && values.selectstim == 9 && trial.mixed_shift_easy.response == values.responsekey_groß) || <- THIS IS FINE
                        (values.categorizationtask == "Life" && values.selectstim == 9 && trial.mixed_shift_easy.response == values.responsekey_lebendig) ||
                        (values.categorizationtask == "Size" && values.selectstim == 10 && trial.mixed_shift_easy.response == values.responsekey_groß) ||
                        (values.categorizationtask == "Life" && values.selectstim == 10 && trial.mixed_shift_easy.response == values.responsekey_lebendig) ||
                        (values.categorizationtask == "Size" && values.selectstim == 11 && trial.mixed_shift_easy.response == values.responsekey_groß) ||
                        (values.categorizationtask == "Life" && values.selectstim == 11 && trial.mixed_shift_easy.response == values.responsekey_lebendig) ||
                        (values.categorizationtask == "Size" && values.selectstim == 12 && trial.mixed_shift_easy.response == values.responsekey_groß) ||<- THIS IS FINE
                        (values.categorizationtask == "Life" && values.selectstim == 12 && trial.mixed_shift_easy.response == values.responsekey_lebendig) <- MISSING OR
                        (values.categorizationtask == "Size" && values.selectstim == 13 && trial.mixed_shift_easy.response == values.responsekey_klein) || <- THIS IS FINE
                        (values.categorizationtask == "Life" && values.selectstim == 13 && trial.mixed_shift_easy.response == values.responsekey_lebendig) ||
                        (values.categorizationtask == "Size" && values.selectstim == 14 && trial.mixed_shift_easy.response == values.responsekey_klein) ||
                        (values.categorizationtask == "Life" && values.selectstim == 14 && trial.mixed_shift_easy.response == values.responsekey_lebendig) ||
                        (values.categorizationtask == "Size" && values.selectstim == 15 && trial.mixed_shift_easy.response == values.responsekey_klein) ||
                        (values.categorizationtask == "Life" && values.selectstim == 15 && trial.mixed_shift_easy.response == values.responsekey_lebendig) ||
                        (values.categorizationtask == "Size" && values.selectstim == 16 && trial.mixed_shift_easy.response == values.responsekey_klein) ||
                        (values.categorizationtask == "Life" && values.selectstim == 16 && trial.mixed_shift_easy.response == values.responsekey_lebendig)
]

Ulrike Nestler
Ulrike Nestler
Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)
Group: Forum Members
Posts: 17, Visits: 41
Hello,

my problem is that Inquisit counts rights answers given via keyboard as errors on only three particular targets in dimension asked. To make things a bit more understandable:
In my alternated Category Swith Task (introduced by Mayr and Kliegl (2000)), participants are presented words that can be categorized as both, living or nonliving things, or things which are smaller or larger than a soccer ball, e.g., table, cloud, snowflake, shark, lion. A cue, which is either a heart or crossed arrows, is presented before the word indicating the relevant dimension for the current trial.
So participants are asked to press the key "Y" (scancode 44 - German keyboard) for object that are smaller than a soccer ball or that are nonliving and press "M" (scancode 50) for things that are bigger than a soccer ball or alive. But with the targets HAI (shark), PILZ (mushroom), and KIESELSTEIN (pebble), when dimension SIZE is asked for, all answers given by the keyboard are counted as errors...the right and the wrong answer and I don't understand where the mistake is. I attached you the entire script. What i noticed is that in my script those three targets are each the first targets of their category. Target 5= KIESELSTEIN (klein / leblos) ; target 9 = HAI  (groß / lebendig); target 13 = PILZ (klein / lebendig)

/ontrialbegin = [if (values.selectstim == 1) {values.size = "groß"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 2) {values.size = "groß"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 3) {values.size = "groß"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 4) {values.size = "groß"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 5) {values.size = "klein"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 6) {values.size = "klein"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 7) {values.size = "klein"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 8) {values.size = "klein"; values.life = "leblos"}]
/ontrialbegin = [if (values.selectstim == 9) {values.size = "groß"; values.life = "lebendig"}]
/ontrialbegin = [if (values.selectstim == 10) {values.size = "groß"; values.life = "lebendig"}]
/ontrialbegin = [if (values.selectstim == 11) {values.size = "groß"; values.life = "lebendig"}]
/ontrialbegin = [if (values.selectstim == 12) {values.size = "groß"; values.life = "lebendig"}]
/ontrialbegin = [if (values.selectstim == 13) {values.size = "klein"; values.life = "lebendig"}]
/ontrialbegin = [if (values.selectstim == 14) {values.size = "klein"; values.life = "lebendig"}]
/ontrialbegin = [if (values.selectstim == 15) {values.size = "klein"; values.life = "lebendig"}]
/ontrialbegin = [if (values.selectstim == 16) {values.size = "klein"; values.life = "lebendig"}]

But i wouldn't know why Inquisit would have a problem with that. Just see for yourself. I attached some raw data as well. When you look for the cue "SIZE" and the targets " HAI, PILZ, KIESELSTEIN" you will see that both answers (44, 50) are counted as errors.
 
It would be great if you can have a look. Thanks.
Kind regards,
Ulrike Nestler

Attachments
Category Switch.zip (536 views, 2.00 MB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search