Pearson distribution

From HandWiki
Revision as of 21:55, 6 February 2024 by QCDvac (talk | contribs) (correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Family of continuous probability distributions
Diagram of the Pearson system, showing distributions of types I, III, VI, V, and IV in terms of β1 (squared skewness) and β2 (traditional kurtosis)

The Pearson distribution is a family of continuous probability distributions. It was first published by Karl Pearson in 1895 and subsequently extended by him in 1901 and 1916 in a series of articles on biostatistics.

History

The Pearson system was originally devised in an effort to model visibly skewed observations. It was well known at the time how to adjust a theoretical model to fit the first two cumulants or moments of observed data: Any probability distribution can be extended straightforwardly to form a location-scale family. Except in pathological cases, a location-scale family can be made to fit the observed mean (first cumulant) and variance (second cumulant) arbitrarily well. However, it was not known how to construct probability distributions in which the skewness (standardized third cumulant) and kurtosis (standardized fourth cumulant) could be adjusted equally freely. This need became apparent when trying to fit known theoretical models to observed data that exhibited skewness. Pearson's examples include survival data, which are usually asymmetric.

In his original paper, Pearson (1895, p. 360) identified four types of distributions (numbered I through IV) in addition to the normal distribution (which was originally known as type V). The classification depended on whether the distributions were supported on a bounded interval, on a half-line, or on the whole real line; and whether they were potentially skewed or necessarily symmetric. A second paper (Pearson 1901) fixed two omissions: it redefined the type V distribution (originally just the normal distribution, but now the inverse-gamma distribution) and introduced the type VI distribution. Together the first two papers cover the five main types of the Pearson system (I, III, IV, V, and VI). In a third paper, Pearson (1916) introduced further special cases and subtypes (VII through XII).

Rhind (1909, pp. 430–432) devised a simple way of visualizing the parameter space of the Pearson system, which was subsequently adopted by Pearson (1916, plate 1 and pp. 430ff., 448ff.). The Pearson types are characterized by two quantities, commonly referred to as β1 and β2. The first is the square of the skewness: β1 = γ1 where γ1 is the skewness, or third standardized moment. The second is the traditional kurtosis, or fourth standardized moment: β2 = γ2 + 3. (Modern treatments define kurtosis γ2 in terms of cumulants instead of moments, so that for a normal distribution we have γ2 = 0 and β2 = 3. Here we follow the historical precedent and use β2.) The diagram on the right shows which Pearson type a given concrete distribution (identified by a point (β1, β2)) belongs to.

Many of the skewed and/or non-mesokurtic distributions familiar to us today were still unknown in the early 1890s. What is now known as the beta distribution had been used by Thomas Bayes as a posterior distribution of the parameter of a Bernoulli distribution in his 1763 work on inverse probability. The Beta distribution gained prominence due to its membership in Pearson's system and was known until the 1940s as the Pearson type I distribution.[1] (Pearson's type II distribution is a special case of type I, but is usually no longer singled out.) The gamma distribution originated from Pearson's work (Pearson 1893, p. 331; Pearson 1895, pp. 357, 360, 373–376) and was known as the Pearson type III distribution, before acquiring its modern name in the 1930s and 1940s.[2] Pearson's 1895 paper introduced the type IV distribution, which contains Student's t-distribution as a special case, predating William Sealy Gosset's subsequent use by several years. His 1901 paper introduced the inverse-gamma distribution (type V) and the beta prime distribution (type VI).

Definition

A Pearson density p is defined to be any valid solution to the differential equation (cf. Pearson 1895, p. 381)

[math]\displaystyle{ \frac{p'(x)}{p(x)} + \frac{a+(x-\mu)}{b_0+b_1(x-\mu)+b_2(x-\mu)^2} = 0. \qquad (1) }[/math]

with:

[math]\displaystyle{ \begin{align} b_0 &= \frac{4 \beta_2-3 \beta_1}{10 \beta_2 -12\beta_1 -18} \mu_2, \\[5pt] a = b_1 &= \sqrt{\mu_2} \sqrt{\beta_1}\frac{\beta_2+3}{10 \beta_2-12\beta_1 -18}, \\[5pt] b_2 &= \frac{2 \beta_2-3 \beta_1 -6}{10 \beta_2-12\beta_1 -18}. \end{align} }[/math]

According to Ord,[3] Pearson devised the underlying form of Equation (1) on the basis of, firstly, the formula for the derivative of the logarithm of the density function of the normal distribution (which gives a linear function) and, secondly, from a recurrence relation for values in the probability mass function of the hypergeometric distribution (which yields the linear-divided-by-quadratic structure).

In Equation (1), the parameter a determines a stationary point, and hence under some conditions a mode of the distribution, since

[math]\displaystyle{ p'(\mu-a) = 0 }[/math]

follows directly from the differential equation.

Since we are confronted with a first-order linear differential equation with variable coefficients, its solution is straightforward:

[math]\displaystyle{ p(x) \propto \exp\left( -\int\frac{x+a}{b_2 x^2 + b_1 x + b_0} \,dx \right). }[/math]

The integral in this solution simplifies considerably when certain special cases of the integrand are considered. Pearson (1895, p. 367) distinguished two main cases, determined by the sign of the discriminant (and hence the number of real roots) of the quadratic function

[math]\displaystyle{ f(x) = b_2x^2 + b_1x + b_0. \qquad (2) }[/math]

Particular types of distribution

Case 1, negative discriminant

The Pearson type IV distribution

If the discriminant of the quadratic function (2) is negative ([math]\displaystyle{ b_1^2 - 4 b_2 b_0 \lt 0 }[/math]), it has no real roots. Then define

[math]\displaystyle{ \begin{align} y &= x + \frac{b_1}{2b_2}, \\[5pt] \alpha &= \frac{\sqrt{4b_2b_0 - b_1^2}}{2b_2}. \end{align} }[/math]

Observe that α is a well-defined real number and α ≠ 0, because by assumption [math]\displaystyle{ 4 b_2 b_0 - b_1^2 \gt 0 }[/math] and therefore b2 ≠ 0. Applying these substitutions, the quadratic function (2) is transformed into

[math]\displaystyle{ f(x) = b_2(y^2 + \alpha^2). }[/math]

The absence of real roots is obvious from this formulation, because α2 is necessarily positive.

We now express the solution to the differential equation (1) as a function of y:

[math]\displaystyle{ p(y) \propto \exp\left(- \frac{1}{b_2} \int\frac{y - \frac{b_1}{2b_2} + a}{y^2 + \alpha^2} \,dy \right). }[/math]

Pearson (1895, p. 362) called this the "trigonometrical case", because the integral

[math]\displaystyle{ \int\frac{y-\frac{2b_2a - b_1}{2b_2}}{y^2 + \alpha^2} \,dy = \frac{1}{2} \ln(y^2 + \alpha^2) - \frac{2b_2a - b_1}{2b_2\alpha}\arctan\left(\frac{y}{\alpha}\right) + C_0 }[/math]

involves the inverse trigonometric arctan function. Then

[math]\displaystyle{ p(y) \propto \exp\left[ -\frac{1}{2b_2} \ln\left(1+\frac{y^2}{\alpha^2}\right) -\frac{\ln\alpha}{b_2} +\frac{2b_2a - b_1}{2b_2^2\alpha} \arctan\left(\frac{y}{\alpha}\right) + C_1 \right]. }[/math]

Finally, let

[math]\displaystyle{ \begin{align} m &= \frac{1}{2b_2}, \\[5pt] \nu &= -\frac{2b_2a - b_1}{2b_2^2\alpha}. \end{align} }[/math]

Applying these substitutions, we obtain the parametric function:

[math]\displaystyle{ p(y) \propto \left[1 + \frac{y^2}{\alpha^2}\right]^{-m} \exp\left[-\nu \arctan\left(\frac{y}{\alpha}\right) \right]. }[/math]

This unnormalized density has support on the entire real line. It depends on a scale parameter α > 0 and shape parameters m > 1/2 and ν. One parameter was lost when we chose to find the solution to the differential equation (1) as a function of y rather than x. We therefore reintroduce a fourth parameter, namely the location parameter λ. We have thus derived the density of the Pearson type IV distribution:

[math]\displaystyle{ p(x) = \frac{\left|\frac{\operatorname{\Gamma}\left(m+\frac{\nu}{2}i\right)}{\Gamma(m)}\right|^2}{\alpha\operatorname{\Beta}\left(m-\frac12, \frac12\right)} \left[1 + \left(\frac{x-\lambda}{\alpha}\right)^2 \right]^{-m} \exp\left[-\nu \arctan\left(\frac{x-\lambda} \alpha \right)\right]. }[/math]

The normalizing constant involves the complex Gamma function (Γ) and the Beta function (B). Notice that the location parameter λ here is not the same as the original location parameter introduced in the general formulation, but is related via

[math]\displaystyle{ \lambda = \lambda_{original} + \frac{\alpha \nu}{2(m-1)}. }[/math]

The Pearson type VII distribution

Plot of Pearson type VII densities with λ = 0, σ = 1, and: γ2 = ∞ (red); γ2 = 4 (blue); and γ2 = 0 (black)

The shape parameter ν of the Pearson type IV distribution controls its skewness. If we fix its value at zero, we obtain a symmetric three-parameter family. This special case is known as the Pearson type VII distribution (cf. Pearson 1916, p. 450). Its density is

[math]\displaystyle{ p(x) = \frac{1}{\alpha\operatorname{\Beta}\left(m-\frac12, \frac12\right)} \left[1 + \left(\frac{x-\lambda} \alpha \right)^2 \right]^{-m}, }[/math]

where B is the Beta function.

An alternative parameterization (and slight specialization) of the type VII distribution is obtained by letting

[math]\displaystyle{ \alpha = \sigma\sqrt{2m-3}, }[/math]

which requires m > 3/2. This entails a minor loss of generality but ensures that the variance of the distribution exists and is equal to σ2. Now the parameter m only controls the kurtosis of the distribution. If m approaches infinity as λ and σ are held constant, the normal distribution arises as a special case:

[math]\displaystyle{ \begin{align} &\lim_{m\to\infty}\frac{1}{\sigma\sqrt{2m-3}\,\operatorname{\Beta}\left(m-\frac12, \frac12\right)} \left[1 + \left(\frac{x-\lambda}{\sigma\sqrt{2m-3}}\right)^2 \right]^{-m} \\[5pt] = {} & \frac{1}{\sigma\sqrt{2}\,\operatorname{\Gamma}\left(\frac12\right)} \cdot \lim_{m\to\infty} \frac{\Gamma(m)}{\operatorname{\Gamma}\left(m-\frac12\right) \sqrt{m-\frac32}} \cdot \lim_{m\to\infty} \left[1 + \frac{\left(\frac{x-\lambda}{\sigma}\right)^2}{2m-3} \right]^{-m} \\[5pt] = {} & \frac{1}{\sigma\sqrt{2\pi}} \cdot 1 \cdot \exp\left[-\frac12 \left(\frac{x-\lambda}{\sigma}\right)^2 \right]. \end{align} }[/math]

This is the density of a normal distribution with mean λ and standard deviation σ.

It is convenient to require that m > 5/2 and to let

[math]\displaystyle{ m = \frac52 + \frac{3}{\gamma_2}. }[/math]

This is another specialization, and it guarantees that the first four moments of the distribution exist. More specifically, the Pearson type VII distribution parameterized in terms of (λ, σ, γ2) has a mean of λ, standard deviation of σ, skewness of zero, and positive excess kurtosis of γ2.

Student's t-distribution

The Pearson type VII distribution is equivalent to the non-standardized Student's t-distribution with parameters ν > 0, μ, σ2 by applying the following substitutions to its original parameterization:

[math]\displaystyle{ \begin{align} \lambda &= \mu, \\[5pt] \alpha &= \sqrt{\nu\sigma^2}, \\[5pt] m &= \frac{\nu+1}{2}, \end{align} }[/math]

Observe that the constraint m > 1/2 is satisfied.

The resulting density is

[math]\displaystyle{ p(x\mid\mu,\sigma^2,\nu) = \frac{1}{\sqrt{\nu\sigma^2}\,\operatorname{\Beta}\left(\frac{\nu}{2}, \frac12\right)} \left(1+\frac{1}{\nu}\frac{(x-\mu)^2}{\sigma^2}\right)^{-\frac{\nu+1}{2}}, }[/math]

which is easily recognized as the density of a Student's t-distribution.

This implies that the Pearson type VII distribution subsumes the standard Student's t-distribution and also the standard Cauchy distribution. In particular, the standard Student's t-distribution arises as a subcase, when μ = 0 and σ2 = 1, equivalent to the following substitutions:

[math]\displaystyle{ \begin{align} \lambda &= 0, \\[5pt] \alpha &= \sqrt{\nu}, \\[5pt] m &= \frac{\nu+1}{2}, \end{align} }[/math]

The density of this restricted one-parameter family is a standard Student's t:

[math]\displaystyle{ p(x) = \frac{1}{\sqrt{\nu}\,\operatorname{\Beta}\left(\frac{\nu}{2}, \frac12\right)} \left(1 + \frac{x^2}{\nu} \right)^{-\frac{\nu+1}{2}}, }[/math]

Case 2, non-negative discriminant

If the quadratic function (2) has a non-negative discriminant ([math]\displaystyle{ b_1^2 - 4 b_2 b_0 \geq 0 }[/math]), it has real roots a1 and a2 (not necessarily distinct):

[math]\displaystyle{ \begin{align} a_1 &= \frac{-b_1 - \sqrt{b_1^2 - 4 b_2 b_0}}{2 b_2}, \\[5pt] a_2 &= \frac{-b_1 + \sqrt{b_1^2 - 4 b_2 b_0}}{2 b_2}. \end{align} }[/math]

In the presence of real roots the quadratic function (2) can be written as

[math]\displaystyle{ f(x) = b_2(x-a_1)(x-a_2), }[/math]

and the solution to the differential equation is therefore

[math]\displaystyle{ p(x) \propto \exp\left( -\frac{1}{b_2} \int\frac{x-a}{(x - a_1) (x - a_2)} \,dx \right). }[/math]

Pearson (1895, p. 362) called this the "logarithmic case", because the integral

[math]\displaystyle{ \int\frac{x-a}{(x - a_1) (x - a_2)} \,dx = \frac{(a_1-a)\ln(x-a_1) - (a_2-a)\ln(x-a_2)}{a_1-a_2} + C }[/math]

involves only the logarithm function and not the arctan function as in the previous case.

Using the substitution

[math]\displaystyle{ \nu = \frac{1}{b_2(a_1-a_2)}, }[/math]

we obtain the following solution to the differential equation (1):

[math]\displaystyle{ p(x) \propto (x-a_1)^{-\nu (a_1-a)} (x-a_2)^{\nu (a_2-a)}. }[/math]

Since this density is only known up to a hidden constant of proportionality, that constant can be changed and the density written as follows:

[math]\displaystyle{ p(x) \propto \left(1-\frac{x}{a_1}\right)^{-\nu (a_1-a)} \left(1-\frac{x}{a_2}\right)^{ \nu (a_2-a)}. }[/math]

The Pearson type I distribution

The Pearson type I distribution (a generalization of the beta distribution) arises when the roots of the quadratic equation (2) are of opposite sign, that is, [math]\displaystyle{ a_1 \lt 0 \lt a_2 }[/math]. Then the solution p is supported on the interval [math]\displaystyle{ (a_1, a_2) }[/math]. Apply the substitution

[math]\displaystyle{ x = a_1 + y (a_2 - a_1), }[/math]

where [math]\displaystyle{ 0\lt y\lt 1 }[/math], which yields a solution in terms of y that is supported on the interval (0, 1):

[math]\displaystyle{ p(y) \propto \left(\frac{a_1-a_2}{a_1}y\right)^{(-a_1+a)\nu} \left(\frac{a_2-a_1}{a_2}(1-y)\right)^{(a_2-a)\nu}. }[/math]

One may define:

[math]\displaystyle{ \begin{align} m_1 &= \frac{a-a_1}{b_2 (a_1-a_2)}, \\[5pt] m_2 &= \frac{a-a_2}{b_2 (a_2-a_1)}. \end{align} }[/math]

Regrouping constants and parameters, this simplifies to:

[math]\displaystyle{ p(y) \propto y^{m_1} (1-y)^{m_2}, }[/math]

Thus [math]\displaystyle{ \frac{x-\lambda-a_1}{a_2-a_1} }[/math] follows a [math]\displaystyle{ \Beta(m_1+1,m_2+1) }[/math] with [math]\displaystyle{ \lambda=\mu_1-(a_2-a_1) \frac{m_1+1}{m_1+m_2+2}-a_1 }[/math]. It turns out that m1, m2 > −1 is necessary and sufficient for p to be a proper probability density function.

The Pearson type II distribution

The Pearson type II distribution is a special case of the Pearson type I family restricted to symmetric distributions.

For the Pearson Type II Curve,[4]

[math]\displaystyle{ y = y_0\left(1-\frac{x^2}{a^2}\right)^m, }[/math]

where

[math]\displaystyle{ x = \sum d^2/2 -(n^3-n)/12. }[/math]

The ordinate, y, is the frequency of [math]\displaystyle{ \sum d^2 }[/math]. The Pearson Type II Curve is used in computing the table of significant correlation coefficients for Spearman's rank correlation coefficient when the number of items in a series is less than 100 (or 30, depending on some sources). After that, the distribution mimics a standard Student's t-distribution. For the table of values, certain values are used as the constants in the previous equation:

[math]\displaystyle{ \begin{align} m &= \frac{5\beta_2-9}{2(3-\beta_2)}, \\[5pt] a^2 &= \frac{2\mu_2\beta_2}{3-\beta_2}, \\[5pt] y_0 &= \frac{N[\Gamma(2m+2)]}{a[2^{2m+1}][\Gamma(m+1)]}. \end{align} }[/math]

The moments of x used are

[math]\displaystyle{ \begin{align} \mu_2 &= (n-1)[(n^2+n)/12]^2, \\[5pt] \beta_2 &= \frac{3(25n^4-13n^3-73n^2+37n+72)}{25n(n+1)^2(n-1)}. \end{align} }[/math]

The Pearson type III distribution

Defining

[math]\displaystyle{ \lambda= \mu_1 + \frac{b_0}{b_1} - (m+1) b_1, }[/math]

[math]\displaystyle{ b_0+b_1 (x-\lambda) }[/math] is [math]\displaystyle{ \operatorname{Gamma}(m+1,b_1^2) }[/math]. The Pearson type III distribution is a gamma distribution or chi-squared distribution.

The Pearson type V distribution

Defining new parameters:

[math]\displaystyle{ \begin{align} C_1 &= \frac{b_1}{2 b_2}, \\ \lambda &= \mu_1-\frac{a-C_1} {1-2 b_2}, \end{align} }[/math]

[math]\displaystyle{ x-\lambda }[/math] follows an [math]\displaystyle{ \operatorname{InverseGamma}(\frac{1}{b_2}-1,\frac{a-C_1}{b_2}) }[/math]. The Pearson type V distribution is an inverse-gamma distribution.

The Pearson type VI distribution

Defining

[math]\displaystyle{ \lambda=\mu_1 + (a_2-a_1) \frac{m_2+1}{m_2+m_1+2} - a_2, }[/math]

[math]\displaystyle{ \frac{x-\lambda-a_2}{a_2-a_1} }[/math] follows a [math]\displaystyle{ \beta^{\prime}(m_2+1,-m_2-m_1-1) }[/math]. The Pearson type VI distribution is a beta prime distribution or F-distribution.

Relation to other distributions

The Pearson family subsumes the following distributions, among others:

Alternatives to the Pearson system of distributions for the purpose of fitting distributions to data are the quantile-parameterized distributions (QPDs) and the metalog distributions. QPDs and metalogs can provide greater shape and bounds flexibility than the Pearson system. Instead of fitting moments, QPDs are typically fit to empirical CDF or other data with linear least squares.

Applications

These models are used in financial markets, given their ability to be parametrized in a way that has intuitive meaning for market traders. A number of models are in current use that capture the stochastic nature of the volatility of rates, stocks, etc.,[which?][citation needed] and this family of distributions may prove to be one of the more important.

In the United States, the Log-Pearson III is the default distribution for flood frequency analysis.[5]

Recently, there have been alternatives developed to the Pearson distributions that are more flexible and easier to fit to data. See the metalog distributions.

Notes

  1. Miller, Jeff (2006-07-09). "Beta distribution". Earliest Known Uses of Some of the Words of Mathematics. http://jeff560.tripod.com/b.html. 
  2. Miller, Jeff (2006-12-07). "Gamma distribution". Earliest Known Uses of Some of the Words of Mathematics. http://jeff560.tripod.com/g.html. 
  3. Ord J.K. (1972) p. 2
  4. Ramsey, Philip H. (1989-09-01). "Critical Values for Spearman's Rank Order Correlation". Journal of Educational Statistics 14 (3): 245–253. 
  5. "Guidelines for Determine Flood Flow Frequency". March 1982. https://water.usgs.gov/osw/bulletin17b/dl_flow.pdf. 

Sources

Primary sources

  • Pearson, Karl (1893). "Contributions to the mathematical theory of evolution [abstract]". Proceedings of the Royal Society 54 (326–330): 329–333. doi:10.1098/rspl.1893.0079. 
  • Pearson, Karl (1901). "Mathematical contributions to the theory of evolution, X: Supplement to a memoir on skew variation". Philosophical Transactions of the Royal Society A 197 (287–299): 443–459. doi:10.1098/rsta.1901.0023. Bibcode1901RSPTA.197..443P. 
  • Pearson, Karl (1916). "Mathematical contributions to the theory of evolution, XIX: Second supplement to a memoir on skew variation". Philosophical Transactions of the Royal Society A 216 (538–548): 429–457. doi:10.1098/rsta.1916.0009. Bibcode1916RSPTA.216..429P. 

Secondary sources

References

  • Elderton, Sir W.P, Johnson, N.L. (1969) Systems of Frequency Curves. Cambridge University Press.
  • Ord J.K. (1972) Families of Frequency Distributions. Griffin, London.