How to add a colum for accuracy in response sheet
Hi all,
I am trying to design the Flanker task with three conditions- congruent, incongruent and neutral. I want to mention whether the participant made errors in a particular task in the RESULT FILE. I don't want to provide feedback after each trial. How can I do that?
This is the experiment's structure. I tried adding an inline_script, but I don't know what code to put there.
This is the result file. Is it possible to say "correct" and "incorrect" in this column? If it is 0 & 1, that is also fine. How can I do that?
Thanks a lot!
Comments
Hi @christi88,
You don't need to create a "correct" variable in your loop table. It already exists by default. The
correctvariable automatically scores each response (as long as you defined thecorrect_responsevariable correctly in your loop table. If the response produced by the participant is identical to the value contained in that variable, thencorrect= 1, otherisecorrect= 0.So, the score (1 or 0) is already contained in your output file.
Incidentally, looking at your screen capture, I notice that you're creating a lot of redundant objects (especially important, don't create multiple copies of the logger, as it's likely yo mess things up. there is no reaon to use several loggers, used a linked copy). If your trial structure is the same in several blocks, use linked copies of objects instead of new copies every time. If you're running several blocks of the same task, prefer nested loops to a series on consecutive loops.
Hope this helps,
Fabrice.
Okay, thank you so much for clarifying my doubts.