[solved] No-go trials and feedback
I got a problem concerning the feedback in my experiment. One of the conditions is a no-go condition. That is participants are asked to not respond if a target does not appear.
As I always want to present an error notification to the participant I change the value of the correct variable in the run phase:
if location_target == "none": resp = exp.get("response_keyboard_response") if resp == "timeout": # response timed out = no response exp.set("correct",1) else: exp.set("correct",0) exp.error_notification.text("WRONG",True,cx,cy) exp.error_notification.show() exp.sleep(1500)
Note that the actual stimuli are presented via another inline script which is run before this inline script. In the first inline script I do not define a correct_response for a no-go trial (location_target == "none").
The problem that now occurs is that in the feedback not only the response time average rises to a very high value as OpenSesame also averages over trials in which the participant was asked to not respond. How can I just leave those trials out of the averaging procedure.
Another issue is also the percentage correct. It now falsely refers to the no-go trials as wrong trials and therefore calculates a wrong percentage. I guess this occurs because it is initially defined as wrong in the first inline script. How can I work around this problem?
Is there some way to define the correct_response in the first inline script as no response?