The probability density function of the Rayleigh distribution is2
where σ {\displaystyle \sigma } is the scale parameter of the distribution. The cumulative distribution function is3
for x ∈ [ 0 , ∞ ) . {\displaystyle x\in [0,\infty ).}
Consider the two-dimensional vector Y = ( U , V ) {\displaystyle Y=(U,V)} which has components that are bivariate normally distributed, centered at zero, with equal variances σ 2 {\displaystyle \sigma ^{2}} , and independent. Then U {\displaystyle U} and V {\displaystyle V} have density functions
Let X {\displaystyle X} be the length of Y {\displaystyle Y} . That is, X = U 2 + V 2 . {\displaystyle X={\sqrt {U^{2}+V^{2}}}.} Then X {\displaystyle X} has cumulative distribution function
where D x {\displaystyle D_{x}} is the disk
Writing the double integral in polar coordinates, it becomes
Finally, the probability density function for X {\displaystyle X} 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).4
Suppose Y {\displaystyle Y} is a random vector with components u , v {\displaystyle u,v} 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:
Let R = U 2 + V 2 {\displaystyle R={\sqrt {U^{2}+V^{2}}}} be the magnitude of Y {\displaystyle Y} . Then the cumulative distribution function (CDF) of the magnitude is:
where D r {\displaystyle D_{r}} 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:
In the limit as ν → ∞ {\displaystyle \nu \rightarrow \infty } , the Rayleigh distribution is recovered because:
The raw moments are given by:
where Γ ( z ) {\displaystyle \Gamma (z)} 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 is σ , {\displaystyle \sigma ,} and the maximum pdf is
The skewness is given by:
The excess kurtosis is given by:
The characteristic function is given by:
where erfi ( z ) {\displaystyle \operatorname {erfi} (z)} is the imaginary error function. The moment generating function is given by
where erf ( z ) {\displaystyle \operatorname {erf} (z)} is the error function.
The differential entropy is given by
where γ {\displaystyle \gamma } is the Euler–Mascheroni constant.
Given a sample of N independent and identically distributed Rayleigh random variables x i {\displaystyle x_{i}} with parameter σ {\displaystyle \sigma } ,
To find the (1 − α) confidence interval, first find the bounds [ a , b ] {\displaystyle [a,b]} where:
then the scale parameter will fall within the bounds
Given a random variate U drawn from the uniform distribution in the interval (0, 1), then the variate
has a Rayleigh distribution with parameter σ {\displaystyle \sigma } . This is obtained by applying the inverse transform sampling-method.
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.8 9
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.10
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.11
"The Wave Theory of Light", Encyclopedic Britannica 1888; "The Problem of the Random Walk", Nature 1905 vol.72 p.318 ↩
Papoulis, Athanasios; Pillai, S. (2001) Probability, Random Variables and Stochastic Processes. ISBN 0073660116, ISBN 9780073660110 [page needed] /wiki/ISBN_(identifier) ↩
Röver, C. (2011). "Student-t based filter for robust signal detection". Physical Review D. 84 (12): 122004. arXiv:1109.0442. Bibcode:2011PhRvD..84l2004R. doi:10.1103/physrevd.84.122004. /wiki/ArXiv_(identifier) ↩
Siddiqui, M. M. (1964) "Statistical inference for Rayleigh distributions", The Journal of Research of the National Bureau of Standards, Sec. D: Radio Science, Vol. 68D, No. 9, p. 1007 https://archive.org/details/jresv68Dn9p1005 ↩
Siddiqui, M. M. (1961) "Some Problems Connected With Rayleigh Distributions", The Journal of Research of the National Bureau of Standards; Sec. D: Radio Propagation, Vol. 66D, No. 2, p. 169 http://nvlpubs.nist.gov/nistpubs/jres/66D/jresv66Dn2p167_A1b.pdf ↩
Hogema, Jeroen (2005) "Shot group statistics" https://web.archive.org/web/20131105232146/http://home.kpn.nl/jhhogema1966/skeetn/ballist/sgs/sgs.htm#_Toc96439743 ↩
Sijbers, J.; den Dekker, A. J.; Raman, E.; Van Dyck, D. (1999). "Parameter estimation from magnitude MR images". International Journal of Imaging Systems and Technology. 10 (2): 109–114. CiteSeerX 10.1.1.18.1228. doi:10.1002/(sici)1098-1098(1999)10:2<109::aid-ima2>3.0.co;2-r. /wiki/CiteSeerX_(identifier) ↩
den Dekker, A. J.; Sijbers, J. (2014). "Data distributions in magnetic resonance images: a review". Physica Medica. 30 (7): 725–741. doi:10.1016/j.ejmp.2014.05.002. PMID 25059432. /wiki/Doi_(identifier) ↩
Ahmadi, Hamed (2017-11-21). "A mathematical function for the description of nutrient-response curve". PLOS ONE. 12 (11): e0187292. Bibcode:2017PLoSO..1287292A. doi:10.1371/journal.pone.0187292. ISSN 1932-6203. PMC 5697816. PMID 29161271. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5697816 ↩
"Rayleigh Probability Distribution Applied to Random Wave Heights" (PDF). United States Naval Academy. https://www.usna.edu/NAOE/_files/documents/Courses/EN330/Rayleigh-Probability-Distribution-Applied-to-Random-Wave-Heights.pdf ↩