Zeta distribution

From HandWiki
Revision as of 22:21, 8 February 2024 by Wikisleeper (talk | contribs) (linkage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
zeta
Probability mass function
Plot of the Zeta PMF
Plot of the Zeta PMF on a log-log scale. (The function is only defined at integer values of k. The connecting lines do not indicate continuity.)
Cumulative distribution function
Plot of the Zeta CMF
Parameters [math]\displaystyle{ s\in(1,\infty) }[/math]
Support [math]\displaystyle{ k \in \{1,2,\ldots\} }[/math]
pmf [math]\displaystyle{ \frac{1/k^s}{\zeta(s)} }[/math]
CDF [math]\displaystyle{ \frac{H_{k,s}}{\zeta(s)} }[/math]
Mean [math]\displaystyle{ \frac{\zeta(s-1)}{\zeta(s)}~\textrm{for}~s\gt 2 }[/math]
Mode [math]\displaystyle{ 1\, }[/math]
Variance [math]\displaystyle{ \frac{\zeta(s)\zeta(s-2) - \zeta(s-1)^2}{\zeta(s)^2}~\textrm{for}~s\gt 3 }[/math]
Entropy [math]\displaystyle{ \sum_{k=1}^\infty\frac{1/k^s}{\zeta(s)}\log (k^s \zeta(s)).\,\! }[/math]
MGF does not exist
CF [math]\displaystyle{ \frac{\operatorname{Li}_s(e^{it})}{\zeta(s)} }[/math]

In probability theory and statistics, the zeta distribution is a discrete probability distribution. If X is a zeta-distributed random variable with parameter s, then the probability that X takes the integer value k is given by the probability mass function

[math]\displaystyle{ f_s(k)=k^{-s}/\zeta(s)\, }[/math]

where ζ(s) is the Riemann zeta function (which is undefined for s = 1).

The multiplicities of distinct prime factors of X are independent random variables.

The Riemann zeta function being the sum of all terms [math]\displaystyle{ k^{-s} }[/math] for positive integer k, it appears thus as the normalization of the Zipf distribution. The terms "Zipf distribution" and the "zeta distribution" are often used interchangeably. But while the Zeta distribution is a probability distribution by itself, it is not associated to the Zipf's law with same exponent. See also Yule–Simon distribution

Definition

The Zeta distribution is defined for positive integers [math]\displaystyle{ k \geq 1 }[/math], and its probability mass function is given by

[math]\displaystyle{ P(x=k) = \frac 1 {\zeta(s)} k^{-s} }[/math],

where [math]\displaystyle{ s\gt 1 }[/math] is the parameter, and [math]\displaystyle{ \zeta(s) }[/math] is the Riemann zeta function.

The cumulative distribution function is given by

[math]\displaystyle{ P(x \leq k) = \frac{H_{k,s}}{\zeta(s)}, }[/math]

where [math]\displaystyle{ H_{k,s} }[/math] is the generalized harmonic number

[math]\displaystyle{ H_{k,s} = \sum_{i=1}^k \frac 1 {i^s}. }[/math]

Moments

The nth raw moment is defined as the expected value of Xn:

[math]\displaystyle{ m_n = E(X^n) = \frac{1}{\zeta(s)}\sum_{k=1}^\infty \frac{1}{k^{s-n}} }[/math]

The series on the right is just a series representation of the Riemann zeta function, but it only converges for values of [math]\displaystyle{ s-n }[/math] that are greater than unity. Thus:

[math]\displaystyle{ m_n =\left\{ \begin{matrix} \zeta(s-n)/\zeta(s) & \textrm{for}~n \lt s-1 \\ \infty & \textrm{for}~n \ge s-1 \end{matrix} \right. }[/math]

The ratio of the zeta functions is well-defined, even for n > s − 1 because the series representation of the zeta function can be analytically continued. This does not change the fact that the moments are specified by the series itself, and are therefore undefined for large n.

Moment generating function

The moment generating function is defined as

[math]\displaystyle{ M(t;s) = E(e^{tX}) = \frac{1}{\zeta(s)} \sum_{k=1}^\infty \frac{e^{tk}}{k^s}. }[/math]

The series is just the definition of the polylogarithm, valid for [math]\displaystyle{ e^t\lt 1 }[/math] so that

[math]\displaystyle{ M(t;s) = \frac{\operatorname{Li}_s(e^t)}{\zeta(s)}\text{ for }t\lt 0. }[/math]

Since this does not converge on an open interval containing [math]\displaystyle{ t=0 }[/math], the moment generating function does not exist.

The case s = 1

ζ(1) is infinite as the harmonic series, and so the case when s = 1 is not meaningful. However, if A is any set of positive integers that has a density, i.e. if

[math]\displaystyle{ \lim_{n\to\infty}\frac{N(A,n)}{n} }[/math]

exists where N(An) is the number of members of A less than or equal to n, then

[math]\displaystyle{ \lim_{s\to 1^+}P(X\in A)\, }[/math]

is equal to that density.

The latter limit can also exist in some cases in which A does not have a density. For example, if A is the set of all positive integers whose first digit is d, then A has no density, but nonetheless the second limit given above exists and is proportional to

[math]\displaystyle{ \log(d+1) - \log(d) = \log\left(1+\frac{1}{d}\right),\, }[/math]

which is Benford's law.

Infinite divisibility

The Zeta distribution can be constructed with a sequence of independent random variables with a Geometric distribution. Let [math]\displaystyle{ p }[/math] be a prime number and [math]\displaystyle{ X(p^{-s}) }[/math] be a random variable with a Geometric distribution of parameter [math]\displaystyle{ p^{-s} }[/math], namely

[math]\displaystyle{ \quad\quad\quad \mathbb{P}\left( X(p^{-s}) = k \right) = p^{-ks } (1 - p^{-s} ) }[/math]

If the random variables [math]\displaystyle{ ( X(p^{-s}) )_{p \in \mathcal{P} } }[/math] are independent, then, the random variable [math]\displaystyle{ Z_s }[/math] defined by

[math]\displaystyle{ \quad\quad\quad Z_s = \prod_{p \in \mathcal{P} } p^{ X(p^{-s}) } }[/math]

has the Zeta distribution : [math]\displaystyle{ \mathbb{P}\left( Z_s = n \right) = \frac{1}{ n^s \zeta(s) } }[/math].

Stated differently, the random variable [math]\displaystyle{ \log(Z_s) = \sum_{p \in \mathcal{P} } X(p^{-s}) \, \log(p) }[/math] is infinitely divisible with Lévy measure given by the following sum of Dirac masses :

[math]\displaystyle{ \quad\quad\quad \Pi_s(dx) = \sum_{p \in \mathcal{P} } \sum_{k \geqslant 1 } \frac{p^{-k s}}{k} \delta_{k \log(p) }(dx) }[/math]

See also

Other "power-law" distributions

External links

  • Gut, Allan. "Some remarks on the Riemann zeta distribution". CiteSeerX 10.1.1.66.3284. What Gut calls the "Riemann zeta distribution" is actually the probability distribution of −log X, where X is a random variable with what this article calls the zeta distribution.
  • Weisstein, Eric W.. "Zipf Distribution". http://mathworld.wolfram.com/ZipfDistribution.html.