Wikipedia / Rayleigh distribution
Wikipedia / Rayleigh distribution
In probability theory and statistics, the Rayleigh distribution is a continuous probability distribution for nonnegative-valued random variables. Up to rescaling, it coincides with the chi distribution with two degrees of freedom. The distribution is named after Lord Rayleigh ().
A Rayleigh distribution is observed when the overall magnitude of a vector in the plane is related to its directional components. One example where the Rayleigh distribution naturally arises is when wind velocity is analyzed in two dimensions. Assuming that each component is uncorrelated, normally distributed with equal variance, and zero mean, then the overall wind speed (vector magnitude) will be characterized by a Rayleigh distribution. (In reality these assumptions are rarely even approximately satisfied, however, so the Weibull distribution is more frequently used in practice.) A second example of the distribution arises in the case of random complex numbers whose real and imaginary components are independently and identically distributed Gaussian with equal variance and zero mean. In that case, the absolute value of the complex number is Rayleigh-distributed.
Definition
The probability density function of the Rayleigh distribution is
is the scale parameter of the distribution. The cumulative distribution function is
Relation to random vector length
which has components that are bivariate normally distributed have density functions
has cumulative distribution function
is the disk
Writing the double integral in polar coordinates, it becomes
is the derivative of its cumulative distribution function, which by the fundamental theorem of calculus is
which is the Rayleigh distribution. It is straightforward to generalize to vectors of dimension other than 2. There are also generalizations when the components have unequal variance or correlations (Hoyt distribution), or when the vector Y follows a bivariate Student t-distribution (see also: Hotelling's T-squared distribution).
that follows a multivariate t-distribution. If the components both have mean zero, equal variance and are independent, the bivariate Student's-t distribution takes the form:
. Then the cumulative distribution function (CDF) of the magnitude is:
is the disk defined by:
Converting to polar coordinates leads to the CDF becoming:
Finally, the probability density function (PDF) of the magnitude may be derived:
, the Rayleigh distribution is recovered because:
Properties
The raw moments are given by:
is the gamma function.
The mean of a Rayleigh random variable is thus :
The standard deviation of a Rayleigh random variable is:
The variance of a Rayleigh random variable is :
The mode and the maximum pdf is
The skewness is given by:
The excess kurtosis is given by:
The characteristic function is given by:
is the imaginary error function. The moment generating function is given by
is the error function.
Differential entropy
The differential entropy is given by
is the Euler–Mascheroni constant.
Parameter estimation
Given a sample of N independent and identically distributed,
is the maximum likelihood estimate and also is unbiased.
is a biased estimator that can be corrected via the formula
Confidence intervals
To find the (1α where:
then the scale parameter will fall within the bounds
Generating random variates
Given a random variate U drawn from the uniform distribution, then the variate
. This is obtained by applying the inverse transform sampling-method.
Related distributions
are independent normal random variables. in the above parametrization of the Rayleigh density.
of a standard complex normally distributed variable z is Rayleigh distributed.
The chi distribution with v=2 is equivalent to the Rayleigh Distribution with=
has a chi-squared distribution
has a gamma distribution
with integer shape parameter N
with integer shape parameter N
The Rice distribution is a noncentral generalization.
The Weibull distribution with the shape parameter k=
has an exponential distribution
The half-normal distribution is the one-dimensional equivalent of the Rayleigh distribution.
The Maxwell–Boltzmann distribution is the three-dimensional equivalent of the Rayleigh distribution.
Applications
An application of the estimation of σ can be found in magnetic resonance imaging (MRI). As MRI images are recorded as complex images but most often viewed as magnitude images, the background data is Rayleigh distributed. Hence, the above formula can be used to estimate the noise variance in an MRI image from background data.
The Rayleigh distribution was also employed in the field of nutrition for linking dietary nutrient levels and human and animal responses. In this way, the parameter σ may be used to calculate nutrient response relationship.
In the field of ballistics, the Rayleigh distribution is used for calculating the circular error probable—a measure of a gun's precision.
In physical oceanography, the distribution of significant wave height approximately follows a Rayleigh distribution.
See also
References