rwrpcauchy: Random Generation from the Wrapped Cauchy Distribution

Description Usage Arguments Details Value References See Also

Description

Generates pseudo-random numbers from a wrapped Cauchy distribution.

Usage

1
rwrpcauchy(n, location=0, rho=exp(-1))

Arguments

n

number of random variables to generate.

location

modal angle in radians of the wrapped Cauchy distribution.

rho

concentration parameter. rho must be between 0 and 1.

Details

n random variables are generated from a Cauchy distribution with location parameter location, and concentration parameter -log(rho). The function returns these values modulo 2*pi.

Value

Returns a vector of n independent random variables generated from a wrapped Cauchy distribution.

References

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 2.2.6, World Scientific Press, Singapore.

See Also

dwrpcauchy


CircStats documentation built on May 2, 2019, 2:24 a.m.