Pareto distribution

From Free net encyclopedia

Template:Probability distribution\!</math>|
 cdf        =<math>1-\left(\frac{x_\mathrm{m}}{x}\right)^k\!</math>|
 mean       =<math>\frac{k\,x_\mathrm{m}}{k-1}\!</math> for <math>k>1</math>|
 median     =<math>x_\mathrm{m} \sqrt[k]{2}</math>|
 mode       =<math>x_\mathrm{m}\,</math>|
 variance   =<math>\frac{x_\mathrm{m}^2k}{(k-1)^2(k-2)}\!</math> for <math>k>2</math>|
 skewness   =<math>\frac{2(1+k)}{k-3}\,\sqrt{\frac{k-2}{k}}\!</math> for <math>k>3</math>|
 kurtosis   =<math>\frac{6(k^3+k^2-6k-2)}{k(k-3)(k-4)}\!</math> for <math>k>4</math>|
 entropy    =<math>\ln\left(\frac{k}{x_\mathrm{m}}\right) - \frac{1}{k} - 1\!</math>|
 mgf        =undefined; see text for raw moments|
 char       =<math>k(-ix_\mathrm{m}t)^k\Gamma(-k,-ix_\mathrm{m}t)\,</math>|

}} The Pareto distribution, named after the Italian economist Vilfredo Pareto, is a power law probability distribution found in a large number of real-world situations. Outside the field of economics it is at times referred to as the Bradford distribution.

Pareto originally used this distribution to describe the allocation of wealth among individuals since it seemed to show rather well the way that a larger portion of the wealth of any society is owned by a smaller percentage of the people in that society. This idea is sometimes expressed more simply as the Pareto principle or the "80-20 rule" which says that 20% of the population owns 80% of the wealth. It can be seen from the probability density function (PDF) graph on the right, that the "probability" or fraction of the population <math>f(x)</math> that owns a small amount of wealth per person (x) is rather high, and then decreases steadily as wealth increases. This distribution is not limited to describing wealth or income distribution, but to many situations in which an equilibrium is found in the distribution of the "small" to the "large". The following examples are sometimes seen as approximately Pareto-distributed:

  • Frequencies of words in longer texts
  • The size of human settlements (few cities, many hamlets/villages)
  • File size distribution of Internet traffic which uses the TCP protocol (many smaller files, few larger ones)
  • Clusters of Bose-Einstein condensate near absolute zero
  • The value of oil reserves in oil fields (a few large fields, many small fields)
  • The length distribution in jobs assigned supercomputers (a few large ones, many small ones)
  • The standardized price returns on individual stocks
  • Size of sand particles
  • Size of meteorites
  • Number of species per genus (please note the subjectivity involved: The tendency to divide a genus into two or more increases with the number of species in it)
  • Areas burnt in forest fires

Contents

Properties

If X is a random variable with a Pareto distribution, then the probability that X is greater than some number x is given by:

<math>P(X>x)=\left(\frac{x}{x_\mathrm{m}}\right)^{-k}</math>

for all xxm, where xm is the (necessarily positive) minimum possible value of X, and k is a positive parameter. The family of Pareto distributions is parameterized by two quantities, xm and k. When this distribution is used to model the distribution of wealth, then the parameter k is called the Pareto index.

It follows that the probability density function is

<math>f(x;k,x_\mathrm{m}) = k\,\frac{x_\mathrm{m}^k}{x^{k+1}}\ \mbox{for}\ x \ge x_\mathrm{m}. \, </math>

Pareto distributions are continuous probability distributions. Zipf's law, also sometimes called the zeta distribution, may be thought of as a discrete counterpart of the Pareto distribution.

The expected value of a random variable following a Pareto distribution is

<math>E(X)=\frac{kx_m}{k-1} \,</math>

(if k ≤ 1, the expected value is infinite). Its variance is

<math>\mathrm{var}(X)=\left(\frac{x_m}{k-1}\right)^2 \frac{k}{k-2}</math>

(Note: if <math>k \le 2</math>, the variance is infinite). The raw moments are found to be:

<math>\mu_n'=\frac{kx_\mathrm{m}^n}{k-n} \,</math>

but they are only defined for <math>k>n</math>. This means that the moment generating function, which is just a Taylor series in <math>x</math> with <math>\mu_n'/n!</math> as coefficients, is not defined. The characteristic function is given by:

<math>\varphi(t;k,x_m)=k(-ix_m t)^k\Gamma(-k,-ix_m t)</math>

where Γ(a,x) is the incomplete Gamma function. The Pareto distribution is related to the exponential distribution by:

<math>f(x;k,x_\mathrm{m})=\mathrm{Exponential}(\ln(x/x_\mathrm{m});k)\,</math>

The Dirac delta function is a limiting case of the Pareto distribution:

<math>\lim_{k\rightarrow \infty} f(x;k,x_\mathrm{m})=\delta(x-x_\mathrm{m}).</math>

Pareto, Lorenz, and Gini

Image:Pareto distributionLorenz.png

The Lorenz curve is often used to characterize income and wealth distributions. For any distribution, the Lorenz curve L(F) is written in terms of the PDF (f(x)) or the CDF (F(x)) as:

<math>L(F)=\frac{\int_{x_\mathrm{m}}^{x(F)}

xp(x)\,dx}{\int_{x_\mathrm{m}}^\infty xp(x)\,dx} =\frac{\int_0^F x(F')\,dF'}{\int_0^1 x(F')\,dF'}</math>

where x(F) is the inverse of the CDF. For the Pareto distribution,

<math>x(F)=\frac{x_\mathrm{m}}{(1-F)^{1/k}}</math>

and the Lorenz curve is calculated to be:

<math>L(F) = 1-(1-F)^{1-1/k}\,</math>

where k must be greater than or equal to unity, since the denominator in the expression for L(F) is just the mean value of x. Examples of the Lorenz curve for a number of Pareto distributions are shown in the graph on the right.

The Gini coefficient is a measure of the deviation of the Lorenz curve from the equidistribution line which is a line connecting [0,0] and [1,1], which is shown in black (k = ∞) in the Lorenz plot on the right. Specifically, the Gini coefficient is twice the area between the Lorenz curve and the equidistribution line. The Gini coefficient for the Pareto distribution is then calculated to be:

<math>G = 1-2\int_0^1L(F)\,dF = \frac{1}{2k-1}</math>

(see Aaberge 2005).

Parameter estimation

The likelihood function for the Pareto distribution parameters k and <math>x_\mathrm{m}</math>, given a sample (statistics) <math>x = (x_1, x_2, ..., x_n)</math>, is

<math>L(k, x_\mathrm{m}) = \prod _{i=1} ^n {k \frac {x_\mathrm{m}^k} {x_i^{k+1}}} = k^n x_\mathrm{m}^{nk} \prod _{i=1} ^n {\frac 1 {x_i^{k+1}}}. \!</math>

Therefore, the logarithmic likelihood function is

<math>\ell(k, x_\mathrm{m}) = n \ln k + nk \ln x_\mathrm{m} - (k + 1) \sum _{i=1} ^n {\ln x_i}. \!</math>

It can be seen that <math>\ell(k, x_\mathrm{m})</math> is monotonically increasing with <math>x_\mathrm{m}</math>, that is, the greater the value of <math>x_\mathrm{m}</math>, the greater the value of the likelihood function. Hence, since <math>x \ge x_m</math>, we conclude that

<math>\widehat x_\mathrm{m} = \min _i {x_i}.</math>

To find the estimator for k, we compute the corresponding partial derivative and determine where it is zero:

<math>\frac{\partial \ell}{\partial k} = \frac{n}{k} + n \ln x_\mathrm{m} - \sum _{i=1} ^n {\ln x_i} = 0</math>.

Thus the maximum likelihood estimator for k is:

<math>\widehat k = \frac n {\sum _i {\left( \ln x_i - \ln \widehat x_\mathrm{m} \right)}}.</math>

Generating a random sample from Pareto distribution

Pareto distribution is not yet recognized by many programming languages. In actuarial field, Pareto distribution in widely used to estimate portfolio costs. As a matter of fact, it can be quite demanding to get data from this particular probability distribution. One can easily generate a random sample from Pareto distribution by mixing two random variables, which are usually built-in in many Statistical tools. The process is quite simple; one has to generate numbers from an exponential distribution with its lambda equal to randomly generated sample from a gamma distribution, with alpha and lambda respectively equal to the arguments of the initial Pareto distribution. Note that data generated from this process won't be translated from the origin to <math>x_\mathrm{m}</math>.

Example using R

This code will generate n numbers from a Pareto distribution, with parameters <math>x_\mathrm{m}</math> = lambda and <math>k</math> = alpha.</BR> In this very specific example, these values will be set to

  • n = 10
  • alpha = 20
  • lambda = 10

These are arbitraty values, used to show working R code</BR>

n <- 10 # number of randomly generated numbers</br> alpha <- 20 # Shape parameter of Pareto distribution</br> lambda <- 10 # Location parameter of Pareto distribution</br> X <- rexp(n,rgamma(n,shape=alpha,rate=lambda))

References

  • Lorenz, M. O. (1905). Methods of measuring the concentration of wealth. Publications of the American Statistical Association. 9: 209-219.

See also

External links

The Pareto, Zipf and other power laws / William J. Reed -- PDF

Gini's Nuclear Family / Rolf Aabergé. -- In: International Conference to Honor Two Eminent Social Scientists, May, 2005 -- PDFde:Pareto-Verteilung es:Distribución Pareto fr:Distribution de Pareto it:Variabile casuale paretiana ru:Закон Парето fi:Pareto-jakauma zh:帕累托分布