# CauchyDistribution

CauchyDistribution[a,b]

represents a Cauchy distribution with location parameter a and scale parameter b.

represents a Cauchy distribution with location parameter 0 and scale parameter 1.

# Details • CauchyDistribution is also known as a Lorentz or BreitWigner distribution.
• The probability density for value in a Cauchy distribution is proportional to . »
• CauchyDistribution allows a to be any real number and b to be any positive real number.
• CauchyDistribution allows a and b to be any quantities of the same unit dimensions. »
• CauchyDistribution can be used with such functions as Mean, CDF, and RandomVariate. »

# Background & Context

• CauchyDistribution[a,b] represents a continuous statistical distribution defined over the set of real numbers and parametrized by two values a and b, where a is a real-valued "location parameter" and b is a positive "scale parameter". The probability density function (PDF) of a Cauchy distribution is continuous, unimodal, and symmetric about the point . The height and width of the PDF vary according to the parameter b, with values of b nearer to zero corresponding to PDFs that are taller and steeper. In addition, the tails of the PDF are "fat" in the sense that the PDF decreases algebraically rather than decreasing exponentially for large values . (This behavior can be made quantitatively precise by analyzing the SurvivalFunction of the distribution.) The Cauchy distribution is sometimes called the Lorentz distribution or the BreitWigner distribution.
• Study of what is now called the Cauchy distribution dates back to the work of Pierre de Fermat in the seventeenth century. It had already provided a rich, colorful contribution to existing probability theory by the time it became associated with Augustin-Louis Cauchy in the 1850ssome century and a half after its genesis. Originally, the Cauchy distribution was studied as a novelty that served as a counterexample to a number of generally accepted results and concepts of the day. Today, it is an established distribution in its own right and one with a number of applications across a variety of fields of study. For example, the Cauchy distribution shares a natural link with Brownian motion of certain molecules and is the distribution that describes the energy profile of a resonance in nonrelativistic contexts. The Cauchy distribution can also be used to model a number of phenomena in areas such as risk analysis, mechanical and electrical theory, and physical anthropology.
• RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a Cauchy distribution. Distributed[x,CauchyDistribution[a,b]], written more concisely as xCauchyDistribution[a,b], can be used to assert that a random variable x is distributed according to a Cauchy distribution. Such an assertion can then be used in functions such as Probability, NProbability, Expectation, and NExpectation.
• The probability density and cumulative distribution functions may be given using PDF[CauchyDistribution[a,b],x] and CDF[CauchyDistribution[a,b],x]. The mean, median, variance, raw moments, and central moments may be computed using Mean, Median, Variance, Moment, and CentralMoment, respectively. Note that because of the fat tails of the Cauchy distribution, some of these quantities may fail to exist.
• DistributionFitTest can be used to test if a given dataset is consistent with a Cauchy distribution, EstimatedDistribution to estimate a Cauchy parametric distribution from given data, and FindDistributionParameters to fit data to a Cauchy distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic Cauchy distribution and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic Cauchy distribution.
• TransformedDistribution can be used to represent a transformed Cauchy distribution, CensoredDistribution to represent the distribution of values censored between upper and lower values, and TruncatedDistribution to represent the distribution of values truncated between upper and lower values. CopulaDistribution can be used to build higher-dimensional distributions that contain a Cauchy distribution, and ProductDistribution can be used to compute a joint distribution with independent component distributions involving Cauchy distributions.
• The Cauchy distribution is related to a number of other distributions. For example, CauchyDistribution[0,1] has precisely the same PDF as . CauchyDistribution can also be viewed as a transformation of both NormalDistribution and UniformDistribution by way of TransformedDistribution, and is a limiting case of both PearsonDistribution and HyperbolicDistribution in the sense that the PDFs of PearsonDistribution[4,1,-a,(1+ϵ)/2,-a,(a2+b2)/2] as ϵ tends to zero (for ) and of HyperbolicDistribution[-1/2, α, 0, δ, μ] as α tends to zero are precisely the same as the PDFs of CauchyDistribution[a, b] and CauchyDistribution[μ, δ], respectively. CauchyDistribution is also related to PearsonDistribution, ParetoDistribution, and StableDistribution.

# Examples

open all close all

## Basic Examples(4)

Probability density function:

 In:= Out= In:= Out= Cumulative distribution function:

 In:= Out= In:= Out= Mean and variance of a Cauchy distribution are indeterminate:

 In:= Out= In:= Out= Median:

 In:= Out= ## Neat Examples(1)

Introduced in 2007
(6.0)
|
Updated in 2016
(10.4)