Group: Forum Members
Posts: 45,
Visits: 249
|
Hey,
I'm having trouble randomizing my stimulus set.
Imagine you have three levels of reward (e.g. +£1, +£2, +£3) which are given according to different stimuli (e.g. square, circle, triangle) but you want to randomize this by participant so that e.g. participant 1 always has £1 for a square, but this is different for each participant. How would you go about this? Is there a type of selection that would work, or is there much more code involved that creates specific lists for each participant at the beginning of the experiment?
<picture shapes> /erase = false /items = ("square.png", "circle.png", "triangle.png") /position = (50, 50) /select = ??? </picture>
<trial reward1> /stimulustimes = [0 = pointstotal, shape] /trialduration = 3000 /correctresponse = (lbuttondown) /validresponse = (noresponse) /validresponse = (lbuttondown) /ontrialend = [if (trial.reward.correct) values.pointstotal +=1;] </trial>
|