[solved] Undefined in r.t variable
Hi, any clue why open sesame gave an "undefined" r.t for few of the correct (1) responses?
I read the following about correct response variable: "Is set to ‘1’ if the last response matches the variable correct_response, ‘0’ if not, and ‘undefined’ if the variable correct_response has not been set". Of course all r.ts for the mistakes are undefined.

Comments
Hi,
Could you perhaps provide us with some more information, for example by sharing the experimental script or making a screenshot of your experimental overview? And by making a screenshot of your output table?
To upload your experiment you could do the following:
Best,
Lotje
Did you like my answer? Feel free to

http://pastebin.com/HLWwB4NH
Hi,
If you're looking for the response times per trial, you should use the variable 'response_time', which is never undefined.
The variable 'avg_rt' contains the average response time of all previous responses (until you reset the variable) and could be used for providing feedback, for example at the end of a block.
The reason that in your experiment this variable gets the value 'undefined' after an incorrect response is because you reset the average by the feedback item, which is only ran when 'correct = 0'.
Thus, I would advise you to use the variabe 'response_time' for your analyses.
Does that help?
Best,
Lotje
Did you like my answer? Feel free to

Yes. Thanks.