Group: Forum Members
Posts: 25,
Visits: 104
|
G'day, I'm programming an experiment that is like a lottery task, with two different lotteries, a red one and a blue one. You simply click on a lottery to play. The chances of 'winning' on each lottery need to change across the task, as well as the probability of getting a big versus small win. I thought about changing the probability of winning on each of the lotteries and the probabilities of getting a big versus small win by making a list for each lottery where a value is drawn, and based on that value trigger a win or loss, and through another list, trigger a big win or small win. Then I can set the itemprobabilities for those list items through values, and change those values at the start of each block. While the task runs however, the itemprobabilities are not changing. When I debug, I can see that the values that I plug into the itemprobabilities have changed in block2, but the data shows the probability of a win or loss being triggered actually hasn't changed. I've attached a simplified version of the script that has the same issue. Even though at the start of block2 I try to set the probability of a red win at .1 , and the probability of a blue win at .9, the data (monkey file also attached) shows that the chances of winning for red are .75, and for blue .25, which are the probabilities set at the start of the experiment. Similarly, the probabilities of a big versus small win are not being updated.
Any idea where I might be going wrong?
|