What is the Rayleigh distribution used for in engineering?+
The Rayleigh distribution models the amplitude of a signal or physical quantity that results from two independent, equal-variance Gaussian components. It is used in wireless channel modeling (Rayleigh fading), wind energy assessment (wind speed histograms), radar signal processing, ocean wave height statistics, and bearing lifetime analysis under combined radial and axial loads.
What is the scale parameter sigma and how do I estimate it?+
Sigma is the scale parameter that controls the spread of the distribution and also equals the mode (most likely value). Given a dataset, the maximum likelihood estimator is sigma = sqrt(sum of x_i^2 divided by 2n), where n is the sample size. Alternatively, sigma equals the mean of the sample divided by sqrt(pi/2), approximately 0.7979 times the sample mean.
How is the Rayleigh distribution related to the Weibull distribution?+
The Rayleigh distribution is a special case of the Weibull distribution with shape parameter k = 2 and scale parameter lambda = sigma times sqrt(2). Because the Weibull family includes both exponential (k=1) and Rayleigh (k=2) as special cases, Weibull regression tools can directly model Rayleigh data by fixing or estimating the shape parameter near 2.
What is the skewness of the Rayleigh distribution?+
The skewness is 2*sqrt(pi)*(pi - 3) divided by (4 - pi)^(3/2), approximately 0.6311 for any sigma. This positive skewness means the tail extends to the right and the mean exceeds the median, which exceeds the mode. The skewness is a fixed constant independent of the scale, making it a quick identifier of Rayleigh-distributed data.
How do I compute the Rayleigh CDF by hand?+
The CDF is P(X at most x) = 1 minus exp(-x^2 / (2*sigma^2)). Compute the ratio x^2 / (2*sigma^2), evaluate the negative exponential, then subtract from 1. For example, with sigma = 2 and x = 3: ratio = 9/8 = 1.125, exp(-1.125) = 0.3247, CDF = 1 - 0.3247 = 0.6753, or 67.53%.
What is the probability that a Rayleigh variable exceeds its mean?+
The mean is mu = sigma*sqrt(pi/2). Substituting into the survival function: P(X greater than mu) = exp(-mu^2 / (2*sigma^2)) = exp(-(sigma^2*pi/2) / (2*sigma^2)) = exp(-pi/4) approximately equals exp(-0.7854) approximately equals 0.4559, or about 45.6%. This is independent of sigma, so slightly less than half of all observations exceed the mean.
How does the Rayleigh distribution differ from the exponential distribution?+
Both are right-skewed continuous distributions on [0, infinity), but the exponential has a monotonically decreasing PDF that peaks at x = 0, while the Rayleigh PDF starts at 0, rises to a peak at x = sigma, then decreases. If Y is Rayleigh(sigma), then Y^2 is exponentially distributed with rate 1/(2*sigma^2). The exponential has the memoryless property; the Rayleigh does not.
What is the IQR of the Rayleigh distribution?+
The IQR is Q3 minus Q1 where Q(p) = sigma*sqrt(-2*ln(1-p)). For sigma = 1: Q1 = sqrt(-2*ln(0.75)) = 0.7585, Q3 = sqrt(-2*ln(0.25)) = 1.6651, IQR = 0.9066. For any sigma, IQR = 0.9066*sigma. This scales linearly with sigma.
Can the Rayleigh distribution have negative values?+
No. The Rayleigh distribution is defined only for x at least 0. Its PDF equals zero for all negative x. This makes it appropriate for modeling non-negative physical quantities like distances, speeds, signal amplitudes, and wave heights where negative values have no physical meaning.
How do I fit a Rayleigh distribution to real data?+
The maximum likelihood estimate (MLE) of sigma is: sigma_hat = sqrt(sum of x_i^2 divided by 2n). Compute the sum of squares of all n observations, divide by 2n, then take the square root. This estimator is unbiased and efficient. For wind speed data in m/s, typical fitted sigma values range from 2 to 6 depending on location and season.
What is the excess kurtosis of the Rayleigh distribution?+
The excess kurtosis is -(6*pi^2 - 24*pi + 16) / (4-pi)^2, approximately 0.2451. This is positive (leptokurtic), meaning the Rayleigh distribution has heavier tails than a normal distribution with the same variance. The value is a fixed constant independent of sigma, like the skewness.
What is the survival function of the Rayleigh distribution and why is it useful?+
The survival function (reliability function) is S(x) = P(X greater than x) = exp(-x^2 / (2*sigma^2)). It gives the probability that the variable exceeds threshold x. In reliability engineering, S(t) is the probability that a component survives past time t. In wireless communications, S(r) is the probability that the received signal amplitude exceeds a minimum detection threshold r.