The latencydistribution attribute controls the response latencies of Inquisit's test monkey.
<monkey>
or
/ latencydistribution = normal(mean, sd)or
/ latencydistribution = uniform(min, max)mean | The expected average in milliseconds of the monkey's response latencies. |
sd | The expected standard deviation in milliseconds of the monkey's response latencies. |
min | The minimum possible latency in milliseconds for the monkey's response. |
max | The maximum possible latency in milliseconds for the monkey's response. |
By default, the monkey uses a normal distribution, the mean and standard deviation of which vary depending upon whether a response deadline or window is used.
The following specifies that the monkey's latencies are randomly selected from a normal distibution, with a mean of 200 milliseconds and standard deviation of 10. Each response is 95% likely to be correct.
<monkey>
/ latencydistribution = normal(200, 10)
/ percentcorrect = 95
</monkey>
The following specifies that the monkey's latencies are randomly selected from a uniform distribution ranging from 0 to 1000 milliseconds. Each response is 50% likely to be correct.
<monkey>
/ latencydistribution = uniform(0, 1000)
/ percentcorrect = 50
</monkey>