Skip to main content
QUICK REVIEW

[Paper Review] Approximation of the truncated Zeta distribution and Zipf's law

Maurizio Naldi|arXiv (Cornell University)|Nov 4, 2015
Statistical Distribution Estimation and ApplicationsMathematics4 references5 citations
TL;DR

This paper proposes three closed-form approximations—integral, average integral, and trapezoidal—for the truncated Zeta distribution, which underlies Zipf’s law. By replacing the sum in the normalization constant with integrals and numerical quadrature, the trapezoidal approximation achieves relative errors below 1% and as low as 0.1% for typical Zipf parameters, enabling efficient computation without closed-form expressions.

ABSTRACT

Zipf's law appears in many application areas but does not have a closed form expression, which may make its use cumbersome. Since it coincides with the truncated version of the Zeta distribution, in this paper we propose three approximate closed form expressions for the truncated Zeta distribution, which may be employed for Zipf's law as well. The three approximations are based on the replacement of the sum occurring in Zipf's law with an integral, and are named respectively the integral approximation, the average integral approximation, and the trapezoidal approximation. While the first one is shown to be of little use, the trapezoidal approximation exhibits an error which is typically lower than 1\%, but is as low as 0.1\% for the range of values of the Zipf parameter below 1.

Motivation & Objective

  • To address the lack of closed-form expressions for the truncated Zeta distribution, which limits its practical use in modeling Zipf’s law.
  • To develop accurate, computationally efficient approximations for the normalization constant of the truncated Zeta distribution.
  • To evaluate the accuracy of integral-based approximations across varying values of the Zipf parameter α and number of species n.
  • To identify the most accurate approximation method for real-world applications where the Zeta distribution is used.

Proposed method

  • Approximate the sum in the normalization constant of the truncated Zeta distribution using an integral, leading to the integral approximation.
  • Refine the integral approximation by averaging the integral from 1 to n with the integral from 2 to n+1, yielding the average integral approximation.
  • Apply the trapezoidal rule to approximate the integral of x^(-α) over discrete intervals, incorporating correction terms for boundary effects.
  • Derive a closed-form expression for the probability mass function by substituting the trapezoidal approximation into the normalization constant.
  • Use the relative error between the approximate and exact probabilities as the primary metric for evaluating accuracy.
  • Test the approximations across different values of the Zipf parameter α and number of species n to assess robustness and accuracy.

Experimental results

Research questions

  • RQ1How accurately can the normalization constant of the truncated Zeta distribution be approximated using integral-based methods?
  • RQ2Which of the three proposed approximations—integral, average integral, or trapezoidal—yields the lowest relative error across typical values of the Zipf parameter?
  • RQ3How does the error of each approximation vary with changes in the number of species n and the Zipf parameter α?
  • RQ4Can the trapezoidal rule approximation achieve sub-1% relative error for practical values of α, particularly below 1?

Key findings

  • The integral approximation performs poorly, with relative errors exceeding 10% even for small α values, and is unsuitable for most applications.
  • The average integral approximation reduces the relative error to below 10%, even for α = 2, showing improved accuracy over the basic integral method.
  • The trapezoidal approximation achieves a relative error of less than 1% for typical values of the Zipf parameter, with errors as low as 0.1% for α < 1.
  • The error of the trapezoidal approximation decreases with increasing n, the number of species, indicating better performance in large-scale systems.
  • The relative error of all approximations is independent of the rank r, meaning the accuracy is uniform across all ranks.
  • The trapezoidal method is the most accurate and practical for real-world applications of Zipf’s law in fields such as linguistics, economics, and web traffic modeling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.