up Inquisit Language Reference

latencydistribution attribute

The latencydistribution attribute controls the response latencies of Inquisit's test monkey.

Member of

<monkey>

Syntax

/ latencydistribution = constant(mean)

or

/ latencydistribution = normal(mean, sd)

or

/ latencydistribution = uniform(min, max)

Parameters

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.

Remarks

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.

Examples

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>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.