Skip to content

cauchy

Syntax

cauchy(a, b)

Parameters

a
A numeric expression representing the location parameter for the distribution.
b
A numeric expression representing the scale parameter for the distribution.

Returns

Returns a number consistent with the Cauchy distribution.

Description

This action returns a random variate of a Cauchy distribution, also known as a Lorenz distribution. It produces random numbers as the result of dividing two independent standard normal random variables (normal with \(μ=0.0\) and \(σ=1.0\)), like a Student-t distribution with one degree of freedom.

The action returns a single value for the current agent that is consistent with the distribution. Over a large number of agents, the returned values will collectively represent the specified distribution.

See Also