[open] Action-outcome partial contingency
Hi
I would like to know whether it is possible to create a response contingent outcome to 50% of trials and in the remaining 50%, outcome would appear non-contingent with a response?
For example, in my experiment there are 180 trials in which participants respond with one of four optional response keys to a red circle (a sketchpad) which immediately changes to white (another sketchpad) after their response .
I would like to have 90 random trials in which the red circle will be changing to white after random interval during the trial- independent of the response on the specific trial.
I would be grateful for any help
Noam
Comments
Hi Noam,
Sure, what you could do is add a variable to the block_loop called
contingentand give this variable the values 'yes' and 'no', to indicate whether you want the duration of the red circle to be contingent on the response or not. Then you add akeyboard_responseoradvanced_delayafter the red circle, and execute only one of those depending on the value of the variablecontingent. So your trial sequence would look something like this:[contingent] = yes)[contingent] = no)The result will be that the white sketchpad follows the red circle after a random delay on trials where
contingentis 'no', and after a key press on trials wherecontingentis 'yes'.Does this help?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!