Skip to main content
QUICK REVIEW

[Paper Review] A practical recipe to fit discrete power-law distributions

Álvaro Corral, Anna Deluca|arXiv (Cornell University)|Sep 6, 2012
Opinion Dynamics and Social InfluencePhysics and Astronomy9 references13 citations
TL;DR

This paper presents a practical, simulation-based method to fit discrete power-law distributions by selecting the minimum threshold value $ a $ that yields a statistically acceptable fit, using a modified Kolmogorov-Smirnov test with p-value assessment via resampling. The approach improves upon prior methods by reducing Type I error rates and successfully identifies $ a^* = 1 $, $ \beta_{\text{emp}}^* = 1.13 \pm 0.01 $ for word frequencies in a Finnish novel, confirming a robust power-law fit with $ p > 0.20 $.

ABSTRACT

Power laws pervade statistical physics and complex systems, but, traditionally, researchers in these fields have paid little attention to properly fit these distributions. Who has not seen (or even shown) a log-log plot of a completely curved line pretending to be a power law? Recently, Clauset et al. have proposed a method to decide if a set of values of a variable has a distribution whose tail is a power law. The key of their procedure is the identification of the minimum value of the variable for which the fit holds, which is selected as the value for which the Kolmogorov-Smirnov distance between the empirical distribution and its maximum-likelihood fit is minimum. However, it has been shown that this method can reject the power-law hypothesis even in the case of power-law simulated data. Here we propose a simpler selection criterion, which is illustrated with the more involving case of discrete power-law distributions.

Motivation & Objective

  • To address the poor statistical reliability of traditional power-law fitting methods in discrete data, particularly the over-rejection of true power-law distributions.
  • To develop a robust, simulation-based method for selecting the minimum threshold $ a $ in discrete power-law distributions that minimizes Type I error.
  • To provide a practical, implementable procedure for fitting discrete power-law distributions using maximum likelihood estimation and resampling to assess goodness-of-fit.
  • To validate the method on real-world data, such as word frequencies in a Finnish novel, demonstrating its effectiveness in identifying valid power-law behavior.

Proposed method

  • Estimate the power-law exponent $ \beta_{\text{emp}} $ using maximum likelihood estimation on data with values $ n \geq a $, based on the log-likelihood function involving the Hurwitz zeta function.
  • Compute the empirical Kolmogorov-Smirnov statistic $ d_{\text{emp}} $ by comparing the empirical survival function $ N_n/N_a $ with the theoretical survival function $ S(n; \beta_{\text{emp}}) $.
  • Simulate synthetic data from the fitted discrete power-law distribution using a generalized rejection sampling method that avoids direct computation of the zeta function.
  • Repeat the fitting and KS statistic calculation on each simulated dataset to generate a distribution of $ d_{\text{sim}} $ values.
  • Compute a p-value as the fraction of simulations where $ d_{\text{sim}} > d_{\text{emp}} $, with the null hypothesis being that the data follow a power law.
  • Select the smallest $ a $ such that the resulting p-value exceeds a threshold (e.g., 0.20), yielding the optimal fit $ a^* $ and $ \beta_{\text{emp}}^* $.

Experimental results

Research questions

  • RQ1Can a more reliable method be developed to fit discrete power-law distributions that reduces the over-rejection of true power-law data compared to existing methods?
  • RQ2What is the optimal threshold $ a $ for fitting a discrete power-law distribution such that the goodness-of-fit p-value exceeds a meaningful threshold (e.g., 0.20) while minimizing $ a $?
  • RQ3How can resampling and simulation-based p-value assessment improve the reliability of power-law fitting in discrete data compared to relying solely on the Kolmogorov-Smirnov test?
  • RQ4Does the proposed method successfully identify a valid power-law fit in real-world data, such as word frequency distributions in natural language texts?

Key findings

  • The proposed method successfully identifies $ a^* = 1 $ and $ \beta_{\text{emp}}^* = 1.13 \pm 0.01 $ for word frequencies in the Finnish novel *Seitsemän veljestä*, with $ N_{a^*} = 22,035 $ and 81,000 word tokens.
  • The method yields a p-value greater than 0.20 for the selected $ a^* $, indicating that the power-law fit cannot be rejected at conventional significance levels.
  • The simulation-based p-value assessment reduces the likelihood of Type I error compared to previous methods, which have been shown to reject true power-law data.
  • The method avoids direct computation of the zeta function in simulation by using a generalized rejection sampling technique with transformed variables.
  • The final p-value is not tied to a fixed $ a $, but rather to the selected $ a^* $, ensuring robustness and interpretability of the fit.
  • The approach demonstrates that $ f(n) $ is a power law, while $ S(n) $ is not, but both represent the same underlying distribution, highlighting the importance of correct functional form in fitting.

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.