fbpx
Wikipedia

Irwin–Hall distribution

In probability and statistics, the Irwin–Hall distribution, named after Joseph Oscar Irwin and Philip Hall, is a probability distribution for a random variable defined as the sum of a number of independent random variables, each having a uniform distribution.[1] For this reason it is also known as the uniform sum distribution.

Irwin–Hall distribution
Probability density function
Cumulative distribution function
Parameters nN0
Support
PDF
CDF
Mean
Median
Mode
Variance
Skewness 0
Ex. kurtosis
MGF
CF

The generation of pseudo-random numbers having an approximately normal distribution is sometimes accomplished by computing the sum of a number of pseudo-random numbers having a uniform distribution; usually for the sake of simplicity of programming. Rescaling the Irwin–Hall distribution provides the exact distribution of the random variates being generated.

This distribution is sometimes confused with the Bates distribution, which is the mean (not sum) of n independent random variables uniformly distributed from 0 to 1.

Definition edit

The Irwin–Hall distribution is the continuous probability distribution for the sum of n independent and identically distributed U(0, 1) random variables:

 

The probability density function (pdf) for   is given by

 

where   denotes the positive part of the expression:

 

Thus the pdf is a spline (piecewise polynomial function) of degree n − 1 over the knots 0, 1, ..., n. In fact, for x between the knots located at k and k + 1, the pdf is equal to

 

where the coefficients aj(k,n) may be found from a recurrence relation over k

 

The coefficients are also A188816 in OEIS. The coefficients for the cumulative distribution is A188668.

The mean and variance are n/2 and n/12, respectively.

Special cases edit

 
 
  • For n = 3,
 
  • For n = 4,
 
  • For n = 5,
 

Approximating a Normal distribution edit

By the Central Limit Theorem, as n increases, the Irwin–Hall distribution more and more strongly approximates a Normal distribution with mean   and variance  . To approximate the standard Normal distribution  , the Irwin–Hall distribution can be centered by shifting it by its mean of n/2, and scaling the result by the square root of its variance:

 

This derivation leads to a computationally simple heuristic that removes the square root, whereby a standard Normal distribution can be approximated with the sum of 12 uniform U(0,1) draws like so:

 

Similar and related distributions edit

The Irwin–Hall distribution is similar to the Bates distribution, but still featuring only integers as parameter. An extension to real-valued parameters is possible by adding also a random uniform variable with N − trunc(N) as width.

Extensions to the Irwin–Hall distribution edit

When using the Irwin–Hall for data fitting purposes one problem is that the IH is not very flexible because the parameter n needs to be an integer. However, instead of summing n equal uniform distributions, we could also add e.g. U + 0.5U to address also the case n = 1.5 (giving a trapezoidal distribution).

The Irwin–Hall distribution has an application to beamforming and pattern synthesis in Figure 1 of reference [2][3]

See also edit

Notes edit

  1. ^ Johnson, N.L.; Kotz, S.; Balakrishnan, N. (1995) Continuous Univariate Distributions, Volume 2, 2nd Edition, Wiley ISBN 0-471-58494-0(Section 26.9)
  2. ^ "Sidelobe behavior and bandwidth characteristics of distributed antenna arrays". January 2018. pp. 1–2.
  3. ^ https://www.usnc-ursi-archive.org/nrsm/2018/papers/B15-9.pdf[bare URL PDF]

References edit

  • Hall, Philip. (1927) "The Distribution of Means for Samples of Size N Drawn from a Population in which the Variate Takes Values Between 0 and 1, All Such Values Being Equally Probable". Biometrika, Vol. 19, No. 3/4., pp. 240–245. doi:10.1093/biomet/19.3-4.240 JSTOR 2331961
  • Irwin, J.O. (1927) "On the Frequency Distribution of the Means of Samples from a Population Having any Law of Frequency with Finite Moments, with Special Reference to Pearson's Type II". Biometrika, Vol. 19, No. 3/4., pp. 225–239. doi:10.1093/biomet/19.3-4.225 JSTOR 2331960

irwin, hall, distribution, probability, statistics, named, after, joseph, oscar, irwin, philip, hall, probability, distribution, random, variable, defined, number, independent, random, variables, each, having, uniform, distribution, this, reason, also, known, . In probability and statistics the Irwin Hall distribution named after Joseph Oscar Irwin and Philip Hall is a probability distribution for a random variable defined as the sum of a number of independent random variables each having a uniform distribution 1 For this reason it is also known as the uniform sum distribution Irwin Hall distributionProbability density functionCumulative distribution functionParametersn N0Supportx 0 n displaystyle x in 0 n PDF1 n 1 k 0 x 1 k n k x k n 1 displaystyle frac 1 n 1 sum k 0 lfloor x rfloor 1 k binom n k x k n 1 CDF1 n k 0 x 1 k n k x k n displaystyle frac 1 n sum k 0 lfloor x rfloor 1 k binom n k x k n Meann 2 displaystyle frac n 2 Mediann 2 displaystyle frac n 2 Mode any value in 0 1 for n 1 n 2 otherwise displaystyle begin cases text any value in 0 1 amp text for n 1 frac n 2 amp text otherwise end cases Variancen 12 displaystyle frac n 12 Skewness0Ex kurtosis 6 5 n displaystyle tfrac 6 5n MGF e t 1 t n displaystyle left frac mathrm e t 1 t right n CF e i t 1 i t n displaystyle left frac mathrm e it 1 it right n The generation of pseudo random numbers having an approximately normal distribution is sometimes accomplished by computing the sum of a number of pseudo random numbers having a uniform distribution usually for the sake of simplicity of programming Rescaling the Irwin Hall distribution provides the exact distribution of the random variates being generated This distribution is sometimes confused with the Bates distribution which is the mean not sum of n independent random variables uniformly distributed from 0 to 1 Contents 1 Definition 2 Special cases 3 Approximating a Normal distribution 4 Similar and related distributions 5 Extensions to the Irwin Hall distribution 6 See also 7 Notes 8 ReferencesDefinition editThe Irwin Hall distribution is the continuous probability distribution for the sum of n independent and identically distributed U 0 1 random variables X k 1 n U k displaystyle X sum k 1 n U k nbsp The probability density function pdf for 0 x n displaystyle 0 leq x leq n nbsp is given by f X x n 1 n 1 k 0 n 1 k n k x k n 1 displaystyle f X x n frac 1 n 1 sum k 0 n 1 k n choose k x k n 1 nbsp where x k displaystyle x k nbsp denotes the positive part of the expression x k x k x k 0 0 x k lt 0 displaystyle x k begin cases x k amp x k geq 0 0 amp x k lt 0 end cases nbsp Thus the pdf is a spline piecewise polynomial function of degree n 1 over the knots 0 1 n In fact for x between the knots located at k and k 1 the pdf is equal to f X x n 1 n 1 j 0 n 1 a j k n x j displaystyle f X x n frac 1 n 1 sum j 0 n 1 a j k n x j nbsp where the coefficients aj k n may be found from a recurrence relation over k a j k n 1 k 0 j n 1 0 k 0 j lt n 1 a j k 1 n 1 n k j 1 n k n 1 j k n j 1 k gt 0 displaystyle a j k n begin cases 1 amp k 0 j n 1 0 amp k 0 j lt n 1 a j k 1 n 1 n k j 1 n choose k n 1 choose j k n j 1 amp k gt 0 end cases nbsp The coefficients are also A188816 in OEIS The coefficients for the cumulative distribution is A188668 The mean and variance are n 2 and n 12 respectively Special cases editFor n 1 X follows a uniform distribution f X x 1 0 x 1 0 otherwise displaystyle f X x begin cases 1 amp 0 leq x leq 1 0 amp text otherwise end cases nbsp dd For n 2 X follows a triangular distribution f X x x 0 x 1 2 x 1 x 2 displaystyle f X x begin cases x amp 0 leq x leq 1 2 x amp 1 leq x leq 2 end cases nbsp dd For n 3 f X x 1 2 x 2 0 x 1 1 2 2 x 2 6 x 3 1 x 2 1 2 3 x 2 2 x 3 displaystyle f X x begin cases frac 1 2 x 2 amp 0 leq x leq 1 frac 1 2 2x 2 6x 3 amp 1 leq x leq 2 frac 1 2 3 x 2 amp 2 leq x leq 3 end cases nbsp dd For n 4 f X x 1 6 x 3 0 x 1 1 6 3 x 3 12 x 2 12 x 4 1 x 2 1 6 3 x 3 24 x 2 60 x 44 2 x 3 1 6 4 x 3 3 x 4 displaystyle f X x begin cases frac 1 6 x 3 amp 0 leq x leq 1 frac 1 6 3x 3 12x 2 12x 4 amp 1 leq x leq 2 frac 1 6 3x 3 24x 2 60x 44 amp 2 leq x leq 3 frac 1 6 4 x 3 amp 3 leq x leq 4 end cases nbsp dd For n 5 f X x 1 24 x 4 0 x 1 1 24 4 x 4 20 x 3 30 x 2 20 x 5 1 x 2 1 24 6 x 4 60 x 3 210 x 2 300 x 155 2 x 3 1 24 4 x 4 60 x 3 330 x 2 780 x 655 3 x 4 1 24 5 x 4 4 x 5 displaystyle f X x begin cases frac 1 24 x 4 amp 0 leq x leq 1 frac 1 24 4x 4 20x 3 30x 2 20x 5 amp 1 leq x leq 2 frac 1 24 6x 4 60x 3 210x 2 300x 155 amp 2 leq x leq 3 frac 1 24 4x 4 60x 3 330x 2 780x 655 amp 3 leq x leq 4 frac 1 24 5 x 4 amp 4 leq x leq 5 end cases nbsp dd Approximating a Normal distribution editBy the Central Limit Theorem as n increases the Irwin Hall distribution more and more strongly approximates a Normal distribution with mean m n 2 displaystyle mu n 2 nbsp and variance s 2 n 12 displaystyle sigma 2 n 12 nbsp To approximate the standard Normal distribution ϕ x N m 0 s 2 1 displaystyle phi x mathcal N mu 0 sigma 2 1 nbsp the Irwin Hall distribution can be centered by shifting it by its mean of n 2 and scaling the result by the square root of its variance ϕ x n 0 n 12 f X x n 12 n 2 n displaystyle phi x overset n gg 0 approx sqrt frac n 12 f X left x sqrt frac n 12 frac n 2 n right nbsp This derivation leads to a computationally simple heuristic that removes the square root whereby a standard Normal distribution can be approximated with the sum of 12 uniform U 0 1 draws like so k 1 12 U k 6 f X x 6 12 ϕ x displaystyle sum k 1 12 U k 6 sim f X x 6 12 mathrel dot sim phi x nbsp Similar and related distributions editThe Irwin Hall distribution is similar to the Bates distribution but still featuring only integers as parameter An extension to real valued parameters is possible by adding also a random uniform variable with N trunc N as width Extensions to the Irwin Hall distribution editWhen using the Irwin Hall for data fitting purposes one problem is that the IH is not very flexible because the parameter n needs to be an integer However instead of summing n equal uniform distributions we could also add e g U 0 5U to address also the case n 1 5 giving a trapezoidal distribution The Irwin Hall distribution has an application to beamforming and pattern synthesis in Figure 1 of reference 2 3 See also editBates distribution Normal distribution Central limit theorem Uniform distribution continuous Triangular distributionNotes edit Johnson N L Kotz S Balakrishnan N 1995 Continuous Univariate Distributions Volume 2 2nd Edition Wiley ISBN 0 471 58494 0 Section 26 9 Sidelobe behavior and bandwidth characteristics of distributed antenna arrays January 2018 pp 1 2 https www usnc ursi archive org nrsm 2018 papers B15 9 pdf bare URL PDF References editHall Philip 1927 The Distribution of Means for Samples of Size N Drawn from a Population in which the Variate Takes Values Between 0 and 1 All Such Values Being Equally Probable Biometrika Vol 19 No 3 4 pp 240 245 doi 10 1093 biomet 19 3 4 240 JSTOR 2331961 Irwin J O 1927 On the Frequency Distribution of the Means of Samples from a Population Having any Law of Frequency with Finite Moments with Special Reference to Pearson s Type II Biometrika Vol 19 No 3 4 pp 225 239 doi 10 1093 biomet 19 3 4 225 JSTOR 2331960 Retrieved from https en wikipedia org w index php title Irwin Hall distribution amp oldid 1192713179, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.