Hey everyone - so I need some help doing the following:

We are looking to create a trier stress task with math equations as the stressor. What this basically means is we will present participants with math equations, they have to enter the answer, and a feedback page tells them if they were right or wrong - often telling them they are wrong to add stress.

But of course some people are better at maths than others, so to create an ideal stress task the person should be answering math questions that stress them, basically.

So what I want is 4 different ‘streams’, each with its own level of toughness, each one containing say 20 questions. The participant does a practice run, from that the program calculates their rough level (say 4 out of 10 right, therefore they start in the 2nd stream). Then every 3-5 questions (a trial I presume - so each stream could be made up of 4-5 trials) the program calculates how many they got right, and moves them to another stream if needed - if not, it continues on the current difficulty level.

I can create the trials and all the basic stuff, I just have no idea how to get the program to dynamically change which trial it goes to next based on a calculation of how the participant did in the previous trial.

Any and all help would be immensely appreciated!

Thanks in advance