Generalized normal distribution

From HandWiki
Short description: Probability distribution

The generalized normal distribution or generalized Gaussian distribution (GGD) is either of two families of parametric continuous probability distributions on the real line. Both families add a shape parameter to the normal distribution. To distinguish the two families, they are referred to below as "symmetric" and "asymmetric"; however, this is not a standard nomenclature.

Symmetric version

Symmetric Generalized Normal
Probability density function
Probability density plots of generalized normal distributions
Cumulative distribution function
Cumulative distribution function plots of generalized normal distributions
Parameters [math]\displaystyle{ \mu \, }[/math] location (real)
[math]\displaystyle{ \alpha \, }[/math] scale (positive, real)
[math]\displaystyle{ \beta \, }[/math] shape (positive, real)
Support [math]\displaystyle{ x \in (-\infty; +\infty)\! }[/math]
PDF

[math]\displaystyle{ \frac{\beta}{2\alpha\Gamma(1/\beta)} \; e^{-(|x-\mu|/\alpha)^\beta} }[/math]

[math]\displaystyle{ \Gamma }[/math] denotes the gamma function
CDF

[math]\displaystyle{ \frac{1}{2} + \text{sign}(x - \mu) \frac{1}{2\Gamma( 1/\beta ) } \gamma \left(1/\beta, \left| \frac{x - \mu}{\alpha} \right|^\beta \right) }[/math]

where [math]\displaystyle{ \beta }[/math] is a shape parameter, [math]\displaystyle{ \alpha }[/math] is a scale parameter and [math]\displaystyle{ \gamma }[/math] is the unnormalized incomplete lower gamma function.
Quantile

[math]\displaystyle{ \text{sign}(p - 0.5) \left[ \alpha^\beta F^{-1} \left(2|p - 0.5|; \frac{1}{\beta}\right) \right]^{1/\beta} + \mu }[/math]

where [math]\displaystyle{ F^{-1} \left(p; a\right) }[/math] is the quantile function of Gamma distribution[1]
Mean [math]\displaystyle{ \mu \, }[/math]
Median [math]\displaystyle{ \mu \, }[/math]
Mode [math]\displaystyle{ \mu \, }[/math]
Variance [math]\displaystyle{ \frac{\alpha^2\Gamma(3/\beta)}{\Gamma(1/\beta)} }[/math]
Skewness 0
Kurtosis [math]\displaystyle{ \frac{\Gamma(5/\beta)\Gamma(1/\beta)}{\Gamma(3/\beta)^2}-3 }[/math]
Entropy [math]\displaystyle{ \frac{1}{\beta}-\log\left[\frac{\beta}{2\alpha\Gamma(1/\beta)}\right] }[/math][2]

The symmetric generalized normal distribution, also known as the exponential power distribution or the generalized error distribution, is a parametric family of symmetric distributions. It includes all normal and Laplace distributions, and as limiting cases it includes all continuous uniform distributions on bounded intervals of the real line.

This family includes the normal distribution when [math]\displaystyle{ \textstyle\beta=2 }[/math] (with mean [math]\displaystyle{ \textstyle\mu }[/math] and variance [math]\displaystyle{ \textstyle \frac{\alpha^2}{2} }[/math]) and it includes the Laplace distribution when [math]\displaystyle{ \textstyle\beta=1 }[/math]. As [math]\displaystyle{ \textstyle\beta\rightarrow\infty }[/math], the density converges pointwise to a uniform density on [math]\displaystyle{ \textstyle (\mu-\alpha,\mu+\alpha) }[/math].

This family allows for tails that are either heavier than normal (when [math]\displaystyle{ \beta\lt 2 }[/math]) or lighter than normal (when [math]\displaystyle{ \beta\gt 2 }[/math]). It is a useful way to parametrize a continuum of symmetric, platykurtic densities spanning from the normal ([math]\displaystyle{ \textstyle\beta=2 }[/math]) to the uniform density ([math]\displaystyle{ \textstyle\beta=\infty }[/math]), and a continuum of symmetric, leptokurtic densities spanning from the Laplace ([math]\displaystyle{ \textstyle\beta=1 }[/math]) to the normal density ([math]\displaystyle{ \textstyle\beta=2 }[/math]). The shape parameter [math]\displaystyle{ \beta }[/math] also controls the peakedness in addition to the tails.

Parameter estimation

Parameter estimation via maximum likelihood and the method of moments has been studied.[3] The estimates do not have a closed form and must be obtained numerically. Estimators that do not require numerical calculation have also been proposed.[4]

The generalized normal log-likelihood function has infinitely many continuous derivates (i.e. it belongs to the class C of smooth functions) only if [math]\displaystyle{ \textstyle\beta }[/math] is a positive, even integer. Otherwise, the function has [math]\displaystyle{ \textstyle\lfloor \beta \rfloor }[/math] continuous derivatives. As a result, the standard results for consistency and asymptotic normality of maximum likelihood estimates of [math]\displaystyle{ \beta }[/math] only apply when [math]\displaystyle{ \textstyle\beta\ge 2 }[/math].

Maximum likelihood estimator

It is possible to fit the generalized normal distribution adopting an approximate maximum likelihood method.[5][6] With [math]\displaystyle{ \mu }[/math] initially set to the sample first moment [math]\displaystyle{ m_1 }[/math], [math]\displaystyle{ \textstyle\beta }[/math] is estimated by using a Newton–Raphson iterative procedure, starting from an initial guess of [math]\displaystyle{ \textstyle\beta=\textstyle\beta_0 }[/math],

[math]\displaystyle{ \beta _0 = \frac{m_1}{\sqrt{m_2}}, }[/math]

where

[math]\displaystyle{ m_1={1 \over N} \sum_{i=1}^N |x_i|, }[/math]

is the first statistical moment of the absolute values and [math]\displaystyle{ m_2 }[/math] is the second statistical moment. The iteration is

[math]\displaystyle{ \beta_{i+1} = \beta_{i} - \frac{g(\beta _{i})}{g'(\beta_{i})} , }[/math]

where

[math]\displaystyle{ g(\beta)= 1 + \frac{\psi(1/\beta)}{\beta} - \frac{\sum_{i=1}^{N} |x_i-\mu|^\beta \log|x_i-\mu| }{\sum_{i=1}^{N} |x_i-\mu|^\beta} + \frac{\log( \frac{\beta}{N} \sum_{i=1}^{N} |x_i-\mu|^\beta)}{\beta} , }[/math]

and

[math]\displaystyle{ \begin{align} g'(\beta) = {} & -\frac{\psi(1/\beta)}{\beta^2} - \frac{\psi'(1/\beta)}{\beta^3} + \frac{1}{\beta^2} - \frac{\sum_{i=1}^N |x_i-\mu|^\beta (\log|x_i-\mu|)^2}{\sum_{i=1}^N |x_i-\mu|^\beta} \\[6pt] & {} + \frac{\left(\sum_{i=1}^N |x_i-\mu|^\beta \log|x_i-\mu|\right)^2}{\left(\sum_{i=1}^N |x_i-\mu|^\beta \right)^2} + \frac{\sum_{i=1}^N |x_i-\mu|^\beta \log|x_i-\mu|}{\beta \sum_{i=1}^N |x_i-\mu|^\beta} \\[6pt] & {} - \frac{\log\left(\frac{\beta}{N} \sum_{i=1}^N |x_i-\mu|^\beta \right)}{\beta^2}, \end{align} }[/math]

and where [math]\displaystyle{ \psi }[/math] and [math]\displaystyle{ \psi' }[/math] are the digamma function and trigamma function.

Given a value for [math]\displaystyle{ \textstyle\beta }[/math], it is possible to estimate [math]\displaystyle{ \mu }[/math] by finding the minimum of:

[math]\displaystyle{ \min_\mu = \sum_{i=1}^{N} |x_i-\mu|^\beta }[/math]

Finally [math]\displaystyle{ \textstyle\alpha }[/math] is evaluated as

[math]\displaystyle{ \alpha = \left( \frac{\beta}{N} \sum_{i=1}^N|x_i-\mu|^\beta\right)^{1/\beta} . }[/math]

For [math]\displaystyle{ \beta \leq 1 }[/math], median is a more appropriate estimator of [math]\displaystyle{ \mu }[/math] . Once [math]\displaystyle{ \mu }[/math] is estimated, [math]\displaystyle{ \beta }[/math] and [math]\displaystyle{ \alpha }[/math] can be estimated as described above. [7]

Applications

The symmetric generalized normal distribution has been used in modeling when the concentration of values around the mean and the tail behavior are of particular interest.[8][9] Other families of distributions can be used if the focus is on other deviations from normality. If the symmetry of the distribution is the main interest, the skew normal family or asymmetric version of the generalized normal family discussed below can be used. If the tail behavior is the main interest, the student t family can be used, which approximates the normal distribution as the degrees of freedom grows to infinity. The t distribution, unlike this generalized normal distribution, obtains heavier than normal tails without acquiring a cusp at the origin.

Properties

Moments

Let [math]\displaystyle{ X_\beta }[/math] be zero mean generalized Gaussian distribution of shape [math]\displaystyle{ \beta }[/math] and scaling parameter [math]\displaystyle{ \alpha }[/math] . The moments of [math]\displaystyle{ X_\beta }[/math] exist and are finite for any k greater than −1. For any non-negative integer k, the plain central moments are[2]

[math]\displaystyle{ \operatorname{E}\left[X^k_\beta\right] = \begin{cases} 0 & \text{if }k\text{ is odd,} \\ \alpha^{k} \Gamma \left( \frac{k+1}{\beta} \right) \Big/ \, \Gamma \left( \frac{1}{\beta} \right) & \text{if }k\text{ is even.} \end{cases} }[/math]


Connection to Stable Count Distribution

From the viewpoint of the Stable count distribution, [math]\displaystyle{ \beta }[/math] can be regarded as Lévy's stability parameter. This distribution can be decomposed to an integral of kernel density where the kernel is either a Laplace distribution or a Gaussian distribution:

[math]\displaystyle{ \frac{1}{2} \frac{1}{\Gamma(\frac{1}{\beta}+1)} e^{-z^\beta} = \begin{cases} \displaystyle\int_0^\infty \frac{1}{\nu} \left( \frac{1}{2} e^{-|z|/\nu} \right) \mathfrak{N}_\beta(\nu) \, d\nu , & 1 \geq \beta \gt 0; \text{or } \\ \displaystyle\int_0^\infty \frac{1}{s} \left( \frac{1}{\sqrt{2 \pi}} e^{-\frac{1}{2} (z/s)^2} \right) V_{\beta}(s) \, ds , & 2 \geq \beta \gt 0; \end{cases} }[/math]

where [math]\displaystyle{ \mathfrak{N}_\beta(\nu) }[/math] is the Stable count distribution and [math]\displaystyle{ V_{\beta}(s) }[/math] is the Stable vol distribution.

Connection to Positive-Definite Functions

The probability density function of the symmetric generalized normal distribution is a positive-definite function for [math]\displaystyle{ \beta \in (0,2] }[/math].[10][11]

Infinite divisibility

The symmetric generalized Gaussian distribution is an infinitely divisible distribution if and only if [math]\displaystyle{ \beta \in (0,1] \cup \{ 2\} }[/math].[12]

Generalizations

The multivariate generalized normal distribution, i.e. the product of [math]\displaystyle{ n }[/math] exponential power distributions with the same [math]\displaystyle{ \beta }[/math] and [math]\displaystyle{ \alpha }[/math] parameters, is the only probability density that can be written in the form [math]\displaystyle{ p(\mathbf x)=g(\|\mathbf x\|_\beta) }[/math] and has independent marginals.[13] The results for the special case of the Multivariate normal distribution is originally attributed to Maxwell.[14]

Asymmetric version

Asymmetric Generalized Normal
Probability density function
Probability density plots of generalized normal distributions
Cumulative distribution function
Cumulative distribution function plots of generalized normal distributions
Parameters [math]\displaystyle{ \xi \, }[/math] location (real)
[math]\displaystyle{ \alpha \, }[/math] scale (positive, real)
[math]\displaystyle{ \kappa \, }[/math] shape (real)
Support [math]\displaystyle{ x \in (-\infty,\xi+\alpha/\kappa) \text{ if } \kappa\gt 0 }[/math]
[math]\displaystyle{ x \in (-\infty,\infty) \text{ if } \kappa=0 }[/math]
[math]\displaystyle{ x \in (\xi+\alpha/\kappa, +\infty) \text{ if } \kappa\lt 0 }[/math]
PDF [math]\displaystyle{ \frac{\phi(y)}{\alpha-\kappa(x-\xi)} }[/math], where
[math]\displaystyle{ y = \begin{cases} - \frac{1}{\kappa} \log \left[ 1- \frac{\kappa(x-\xi)}{\alpha} \right] & \text{if } \kappa \neq 0 \\ \frac{x-\xi}{\alpha} & \text{if } \kappa=0 \end{cases} }[/math]
[math]\displaystyle{ \phi }[/math] is the standard normal pdf
CDF [math]\displaystyle{ \Phi(y) }[/math], where
[math]\displaystyle{ y = \begin{cases} - \frac{1}{\kappa} \log \left[ 1- \frac{\kappa(x-\xi)}{\alpha} \right] & \text{if } \kappa \neq 0 \\ \frac{x-\xi}{\alpha} & \text{if } \kappa=0 \end{cases} }[/math]
[math]\displaystyle{ \Phi }[/math] is the standard normal CDF
Mean [math]\displaystyle{ \xi - \frac{\alpha}{\kappa} \left( e^{\kappa^2/2} - 1 \right) }[/math]
Median [math]\displaystyle{ \xi \, }[/math]
Variance [math]\displaystyle{ \frac{\alpha^2}{\kappa^2} e^{\kappa^2} \left( e^{\kappa^2} - 1 \right) }[/math]
Skewness [math]\displaystyle{ \frac{3 e^{\kappa^2} - e^{3 \kappa^2} - 2}{(e^{\kappa^2} - 1)^{3/2}} \text{ sign}(\kappa) }[/math]
Kurtosis [math]\displaystyle{ e^{4 \kappa^2} + 2 e^{3 \kappa^2} + 3 e^{2 \kappa^2} - 6 }[/math]

The asymmetric generalized normal distribution is a family of continuous probability distributions in which the shape parameter can be used to introduce asymmetry or skewness.[15][16] When the shape parameter is zero, the normal distribution results. Positive values of the shape parameter yield left-skewed distributions bounded to the right, and negative values of the shape parameter yield right-skewed distributions bounded to the left. Only when the shape parameter is zero is the density function for this distribution positive over the whole real line: in this case the distribution is a normal distribution, otherwise the distributions are shifted and possibly reversed log-normal distributions.

Parameter estimation

Parameters can be estimated via maximum likelihood estimation or the method of moments. The parameter estimates do not have a closed form, so numerical calculations must be used to compute the estimates. Since the sample space (the set of real numbers where the density is non-zero) depends on the true value of the parameter, some standard results about the performance of parameter estimates will not automatically apply when working with this family.

Applications

The asymmetric generalized normal distribution can be used to model values that may be normally distributed, or that may be either right-skewed or left-skewed relative to the normal distribution. The skew normal distribution is another distribution that is useful for modeling deviations from normality due to skew. Other distributions used to model skewed data include the gamma, lognormal, and Weibull distributions, but these do not include the normal distributions as special cases.

Other distributions related to the normal

The two generalized normal families described here, like the skew normal family, are parametric families that extends the normal distribution by adding a shape parameter. Due to the central role of the normal distribution in probability and statistics, many distributions can be characterized in terms of their relationship to the normal distribution. For example, the log-normal, folded normal, and inverse normal distributions are defined as transformations of a normally-distributed value, but unlike the generalized normal and skew-normal families, these do not include the normal distributions as special cases.

Actually all distributions with finite variance are in the limit highly related to the normal distribution. The Student-t distribution, the Irwin–Hall distribution and the Bates distribution also extend the normal distribution, and include in the limit the normal distribution. So there is no strong reason to prefer the "generalized" normal distribution of type 1, e.g. over a combination of Student-t and a normalized extended Irwin–Hall – this would include e.g. the triangular distribution (which cannot be modeled by the generalized Gaussian type 1).

A symmetric distribution which can model both tail (long and short) and center behavior (like flat, triangular or Gaussian) completely independently could be derived e.g. by using X = IH/chi.

See also

References

  1. Griffin, Maryclare. "Working with the Exponential Power Distribution Using gnorm". https://cran.r-project.org/web/packages/gnorm/vignettes/gnormUse.html. 
  2. 2.0 2.1 Nadarajah, Saralees (September 2005). "A generalized normal distribution". Journal of Applied Statistics 32 (7): 685–694. doi:10.1080/02664760500079464. Bibcode2005JApSt..32..685N. 
  3. Varanasi, M.K.; Aazhang, B. (October 1989). "Parametric generalized Gaussian density estimation". Journal of the Acoustical Society of America 86 (4): 1404–1415. doi:10.1121/1.398700. Bibcode1989ASAJ...86.1404V. 
  4. Domínguez-Molina, J. Armando; González-Farías, Graciela; Rodríguez-Dagnino, Ramón M.. A practical procedure to estimate the shape parameter in the generalized Gaussian distribution. http://www.cimat.mx/reportes/enlinea/I-01-18_eng.pdf. Retrieved 2009-03-03. 
  5. Varanasi, M.K.; Aazhang B. (1989). "Parametric generalized Gaussian density estimation". J. Acoust. Soc. Am. 86 (4): 1404–1415. doi:10.1121/1.398700. Bibcode1989ASAJ...86.1404V. 
  6. Do, M.N.; Vetterli, M. (February 2002). "Wavelet-based Texture Retrieval Using Generalised Gaussian Density and Kullback-Leibler Distance". IEEE Transactions on Image Processing 11 (2): 146–158. doi:10.1109/83.982822. PMID 18244620. Bibcode2002ITIP...11..146D. http://infoscience.epfl.ch/record/33839. 
  7. Varanasi, Mahesh K.; Aazhang, Behnaam (1989-10-01). "Parametric generalized Gaussian density estimation". The Journal of the Acoustical Society of America 86 (4): 1404–1415. doi:10.1121/1.398700. ISSN 0001-4966. Bibcode1989ASAJ...86.1404V. 
  8. Liang, Faming; Liu, Chuanhai (April 2007). "A robust sequential Bayesian method for identification of differentially expressed genes". Statistica Sinica 17 (2): 571–597. http://www3.stat.sinica.edu.tw/statistica/password.asp?vol=17&num=2&art=8. Retrieved 2009-03-03. 
  9. Box, George E. P.; Tiao, George C. (1992). Bayesian Inference in Statistical Analysis. New York: Wiley. ISBN 978-0-471-57428-6. 
  10. Dytso, Alex; Bustin, Ronit; Poor, H. Vincent; Shamai, Shlomo (2018). "Analytical properties of generalized Gaussian distributions". Journal of Statistical Distributions and Applications 5 (1): 6. doi:10.1186/s40488-018-0088-5. 
  11. Bochner, Salomon (1937). "Stable laws of probability and completely monotone functions". Duke Mathematical Journal 3 (4): 726–728. doi:10.1215/s0012-7094-37-00360-0. https://jsdajournal.springeropen.com/articles/10.1186/s40488-018-0088-5. 
  12. Dytso, Alex; Bustin, Ronit; Poor, H. Vincent; Shamai, Shlomo (2018). "Analytical properties of generalized Gaussian distributions". Journal of Statistical Distributions and Applications 5 (1): 6. doi:10.1186/s40488-018-0088-5. 
  13. Sinz, Fabian; Gerwinn, Sebastian; Bethge, Matthias (May 2009). "Characterization of the p-Generalized Normal Distribution.". Journal of Multivariate Analysis 100 (5): 817–820. doi:10.1016/j.jmva.2008.07.006. 
  14. Kac, M. (1939). "On a characterization of the normal distribution". American Journal of Mathematics 61 (3): 726–728. doi:10.2307/2371328. 
  15. Hosking, J.R.M., Wallis, J.R. (1997) Regional frequency analysis: an approach based on L-moments, Cambridge University Press. ISBN:0-521-43045-3. Section A.8
  16. Documentation for the lmomco R package