I’m creating an experiment with a training phase in which participants have to guess if an image stimulus belongs to a particular category or not ((y)es/(n)o keyboard responses). After each response, a feedback is provided (correct/incorrect) in order for them to learn the rule that is behind such categorization. I’ve created this within a loop and it works fine. What I want to introduce now has to do with the ending of this loop: I want it to end once the participant has correctly answered 5 times for each stimulus (i.e., once he has learned the categorization rule).
I’ve been reading a lot of related topics but all I’ve found has to do with %s of correct answers, and I don’t know how to “translate” this information into my specific case.
Thank you very much!