Welcome! Log In Create A New Profile

Advanced

conditions played multiple times with "random without replacement"

Posted by haoran 
conditions played multiple times with "random without replacement"
February 12, 2020 07:43PM
Hi!

I have 165 conditions and 1 block in my condition file. I selected repeat delayed on error, and random without replacement on conditions. But I found in the log that when the monkey did 165 correct trials, there are several conditions played multiple times (range 2-5), while several conditions 0 times.

My questions are:
How can I set the ml to make it play the conditions only once unless it's error and repeated later?
Is there a way I can know if the monkey has finished all conditions.
Is it because the total # of blocks/trials to run is set to be very high?

Thanks!
Re: conditions played multiple times with "random without replacement"
February 12, 2020 10:21PM
Update your NIMH ML if your build number is earlier than 201.
https://monkeylogic.nimh.nih.gov/board/read.php?1,245,245#msg-245

TrialRecord has many fields that keep trial history information. You can do some calculations from them.
https://monkeylogic.nimh.nih.gov/docs_TrialRecordStructure.html

If those numbers are large, the whole conditions will be just repeated after 165 trials.
Re: conditions played multiple times with "random without replacement"
February 13, 2020 10:35AM
Thanks! changing to 206 solved it.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.