RayleighDistribution

RayleighDistribution[σ]
represents the Rayleigh distribution with scale parameter σ.

DetailsDetails

Background & Context
Background & Context

  • RayleighDistribution[σ] represents a continuous statistical distribution supported on the interval and parametrized by the positive real number σ (called a "scale parameter") that determines the overall behavior of its probability density function (PDF). In general, the PDF of a Rayleigh distribution is unimodal with a single "peak" (i.e. a global maximum), though its overall shape (its height, its spread, and the horizontal location of its maximum) is determined by the value of σ. In addition, the tails of the PDF are "thin" in the sense that the PDF decreases exponentially rather than algebraically for large values of . (This behavior can be made quantitatively precise by analyzing the SurvivalFunction of the distribution.)
  • The Rayleigh distribution was first derived by its namesake, Lord Rayleigh, in the early 1880s as a tool for solving a particular problem in acoustics. In mathematics, the Rayleigh distribution is the probability distribution of the distance from the origin to a point in whenever the variables are all independent and identically distributed normal variates. Moreover, the Rayleigh distribution has been proven to model a large variety of phenomena, including two-dimensional random walks and manufacturing defects in electrovacuum devices, and is the distribution of the distance between an individual and its nearest neighbor in spatial configurations generated by Poisson processes.
  • RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a Rayleigh distribution. Distributed[x,RayleighDistribution[σ]], written more concisely as xRayleighDistribution[σ], can be used to assert that a random variable x is distributed according to a Rayleigh distribution. Such an assertion can then be used in functions such as Probability, NProbability, Expectation, and NExpectation.
  • The probability density and cumulative distribution functions for Rayleigh distributions may be given using PDF[RayleighDistribution[σ],x] and CDF[RayleighDistribution[σ],x]. The mean, median, variance, raw moments, and central moments may be computed using Mean, Median, Variance, Moment, and CentralMoment, respectively.
  • DistributionFitTest can be used to test if a given dataset is consistent with a Rayleigh distribution, EstimatedDistribution to estimate a Rayleigh parametric distribution from given data, and FindDistributionParameters to fit data to a Rayleigh distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic Rayleigh distribution, and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic Rayleigh distribution.
  • TransformedDistribution can be used to represent a transformed Rayleigh 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 Rayleigh distribution, and ProductDistribution can be used to compute a joint distribution with independent component distributions involving Rayleigh distributions.
  • RayleighDistribution is related to a number of other distributions. RayleighDistribution is related to ChiDistribution and ChiSquareDistribution in the sense that the PDF and CDF of RayleighDistribution[1] are identical to the PDF of ChiDistribution[2] and the CDF of ChiSquareDistribution[2], respectively. RayleighDistribution can be realized as a special case of RiceDistribution, GammaDistribution, and WeibullDistribution, as the PDF of RayleighDistribution[σ] is equivalent to that of RiceDistribution[0,σ], GammaDistribution[1,σ , 2, 0], and WeibullDistribution[2,σ ], and moreover as a transformation (TransformedDistribution) of both ExponentialDistribution and BeniniDistribution. RayleighDistribution is also related to NormalDistribution, BinormalDistribution, LaplaceDistribution, SuzukiDistribution, LogNormalDistribution, and KDistribution.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Probability density function:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Cumulative distribution function:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Mean and variance:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Median:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2007
(6.0)
| Updated in 2016
(10.4)