monkey latency and repeated trials?


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
ai293 - 7/10/2025
Dave - 7/10/2025
ai293 - 7/10/2025
Hi, I wanted to ask if we could set the monkey to respond at a certain time (something like monkey latency =320), and whether I can set the monkey responses to be different for a repeated trial? For example, I have 40 trials in the block. 10 of them are repetitions of trial B. Can I set the monkey response = 5 for the first time trial B appears, response = 2 for the second time trial B appears? Thanks!

> I wanted to ask if we could set the monkey to respond at a certain time (something like monkey latency =320)

https://www.millisecond.com/support/docs/v6/html/language/elements/monkey.htm
https://www.millisecond.com/support/docs/v6/html/language/attributes/latencydistribution.htm

> Can I set the monkey response = 5 for the first time trial B appears, response = 2 for the second time trial B appears?

If you sample the monkey responses from a list set to sequential selection, sure.

<block myBlock>
/ trials = [1-5 = myTrial]
</block>

<trial myTrial>
/ validresponse = (1,2,3,4,5)
/ monkeyresponse = (list.monkeyResponses.nextValue)
</trial>

<list monkeyResponses>
/ items = (5,2,4,1,3)
/ selectionmode = sequence
</list>

Thank you Dave!! For the "latencydistribution," does this only work as a constant vs distribution? Can I also have a similar list? For example, you set monkeyResponses = 5, 2, 4, 1, 3. Can I set the latency of response 5 to 230, latency of response 2 to 140, etc? So multiple fixed values instead of a distribution or a single constant? 

> Can I set the latency of response 5 to 230, latency of response 2 to 140, etc? So multiple fixed values instead of a distribution or a single constant?

No.
Edited 2 days ago @ 12:04 PM by Dave
ai293
ai293
Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)
Group: Forum Members
Posts: 11, Visits: 111
Dave - 7/10/2025
ai293 - 7/10/2025
Hi, I wanted to ask if we could set the monkey to respond at a certain time (something like monkey latency =320), and whether I can set the monkey responses to be different for a repeated trial? For example, I have 40 trials in the block. 10 of them are repetitions of trial B. Can I set the monkey response = 5 for the first time trial B appears, response = 2 for the second time trial B appears? Thanks!

> I wanted to ask if we could set the monkey to respond at a certain time (something like monkey latency =320)

https://www.millisecond.com/support/docs/v6/html/language/elements/monkey.htm
https://www.millisecond.com/support/docs/v6/html/language/attributes/latencydistribution.htm

> Can I set the monkey response = 5 for the first time trial B appears, response = 2 for the second time trial B appears?

If you sample the monkey responses from a list set to sequential selection, sure.

<block myBlock>
/ trials = [1-5 = myTrial]
</block>

<trial myTrial>
/ validresponse = (1,2,3,4,5)
/ monkeyresponse = (list.monkeyResponses.nextValue)
</trial>

<list monkeyResponses>
/ items = (5,2,4,1,3)
/ selectionmode = sequence
</list>

Thank you Dave!! For the "latencydistribution," does this only work as a constant vs distribution? Can I also have a similar list? For example, you set monkeyResponses = 5, 2, 4, 1, 3. Can I set the latency of response 5 to 230, latency of response 2 to 140, etc? So multiple fixed values instead of a distribution or a single constant? 
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
ai293 - 7/10/2025
Hi, I wanted to ask if we could set the monkey to respond at a certain time (something like monkey latency =320), and whether I can set the monkey responses to be different for a repeated trial? For example, I have 40 trials in the block. 10 of them are repetitions of trial B. Can I set the monkey response = 5 for the first time trial B appears, response = 2 for the second time trial B appears? Thanks!

> I wanted to ask if we could set the monkey to respond at a certain time (something like monkey latency =320)

https://www.millisecond.com/support/docs/v6/html/language/elements/monkey.htm
https://www.millisecond.com/support/docs/v6/html/language/attributes/latencydistribution.htm

> Can I set the monkey response = 5 for the first time trial B appears, response = 2 for the second time trial B appears?

If you sample the monkey responses from a list set to sequential selection, sure.

<block myBlock>
/ trials = [1-5 = myTrial]
</block>

<trial myTrial>
/ validresponse = (1,2,3,4,5)
/ monkeyresponse = (list.monkeyResponses.nextValue)
</trial>

<list monkeyResponses>
/ items = (5,2,4,1,3)
/ selectionmode = sequence
</list>

Edited 2 days ago @ 11:36 AM by Dave
ai293
ai293
Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)Associate Member (97 reputation)
Group: Forum Members
Posts: 11, Visits: 111
Hi, I wanted to ask if we could set the monkey to respond at a certain time (something like monkey latency =320), and whether I can set the monkey responses to be different for a repeated trial? For example, I have 40 trials in the block. 10 of them are repetitions of trial B. Can I set the monkey response = 5 for the first time trial B appears, response = 2 for the second time trial B appears? Thanks!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search