# Zeta distribution

Probability mass function Plot of the Zeta PMF Plot of the Zeta PMF on a log-log scale. (Note that 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 | |
---|---|

Support | |

Probability mass function (pmf) | |

Cumulative distribution function (cdf) | |

Mean | |

Median | |

Mode | |

Variance | |

Skewness | |

Excess kurtosis | |

Entropy | |

Moment-generating function (mgf) | |

Characteristic function |

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

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 zeta distribution is equivalent to the Zipf distribution for infinite *N*. Indeed the terms "Zipf distribution" and the "zeta distribution" are often used interchangeably.

## Moments

The *n*th raw moment is defined as the expected value of *X*^{n}:

The series on the right is just a series representation of the Riemann zeta function, but it only converges for values of *s-n* that are greater than unity. Thus:

Note that 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

The series is just the definition of the polylogarithm, valid for so that

The Taylor series expansion of this function will not necessarily yield the moments of the distribution. The Taylor series using the moments as they usually occur in the moment generating function yields

which obviously is not well defined for any finite value of *s* since the moments become infinite for large *n*. If we use the analytically continued terms instead of the moments themselves, we obtain from a series representation of the polylogarithm

for . is given by

where *H*_{s} is a harmonic number.

## 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

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

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

similar to Benford's law.

## See also

Other "power-law" distributions

- Cauchy distribution
- Lévy distribution
- Lévy skew alpha-stable distribution
- Pareto distribution
- Zipf's law
- Zipf-Mandelbrot law

## External links

*Some remarks on the Riemann zeta distribution*by Allan Gut. 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.