Skip to main content
QUICK REVIEW

[Paper Review] Two samples test for discrete power-law distributions

Alessandro Bessi|arXiv (Cornell University)|Mar 2, 2015
Complex Network Analysis TechniquesPhysics and Astronomy7 references9 citations
TL;DR

This paper proposes a log-likelihood ratio-based statistical test to determine whether two discrete samples are drawn from the same power-law distribution, addressing limitations of the Kolmogorov-Smirnov test in discrete settings. The test statistic follows a chi-squared distribution with one degree of freedom under the null hypothesis, enabling reliable inference on scaling parameter equality.

ABSTRACT

Power-law distributions occur in wide variety of physical, biological, and social phenomena. In this paper, we propose a statistical hypothesis test based on the log-likelihood ratio to assess whether two samples of discrete data are drawn from the same power-law distribution.

Motivation & Objective

  • To address the inadequacy of the Kolmogorov-Smirnov test for discrete power-law distributions due to ties and approximate p-values.
  • To develop a formal statistical hypothesis test tailored for discrete power-law data.
  • To enable comparison of two samples to assess whether they originate from the same underlying power-law distribution.
  • To provide a method that estimates scaling parameters via maximum likelihood and tests for equality of these parameters.

Proposed method

  • Formulates a likelihood ratio test using the log-likelihood of pooled samples (null hypothesis) versus separate samples (alternative hypothesis).
  • Employs the maximum likelihood estimator (MLE) for the scaling parameter α in discrete power-law distributions, using the approximation: $\hat{\alpha} \simeq 1 + n \left[ \sum_{i=1}^{n} \ln \frac{x_i}{x_{\text{min}} - \frac{1}{2}} \right]^{-1} $.
  • Computes the test statistic $\Lambda = -2 \times l(H_0|s_1 \cup s_2) + 2 \times (l(H_1|s_1) + l(H_1|s_2))$, which asymptotically follows a $\chi^2(1)$ distribution under the null.
  • Uses the generalized zeta function $\zeta(\alpha, x_{\text{min}}) = \sum_{n=0}^{\infty} (n + x_{\text{min}})^{-\alpha}$ to define the probability mass function of the discrete power-law.
  • Applies the complementary cumulative distribution function $P(x) = \frac{\zeta(\alpha, x)}{\zeta(\alpha, x_{\text{min}})}$ for visual and analytical assessment of tail behavior.
  • Validates the test using two simulation examples with known ground truth: one where samples are from the same distribution, and one where they are not.

Experimental results

Research questions

  • RQ1Can a statistical test reliably compare two discrete samples to determine if they are drawn from the same power-law distribution?
  • RQ2How does the proposed log-likelihood ratio test perform in distinguishing samples from identical versus different power-law distributions?
  • RQ3What is the asymptotic distribution of the test statistic under the null hypothesis of equal scaling parameters?
  • RQ4How does the test compare to the Kolmogorov-Smirnov test in terms of validity and accuracy for discrete data?
  • RQ5What is the empirical performance of the test in detecting differences in scaling parameters when samples are generated from power-laws with distinct α values?

Key findings

  • In Example 1, with two samples of size $10^5$ drawn from a power-law with $\alpha = 2$, the test yielded $\Lambda = 0.0065$ and a p-value of 0.936, leading to failure to reject the null hypothesis.
  • In Example 2, with samples drawn from power-laws with $\alpha_1 = 2$ and $\alpha_2 = 2.05$, the test produced $\Lambda = 149.49$ and a p-value $< 10^{-3}$, leading to rejection of the null hypothesis.
  • The estimated scaling parameters were $\hat{\alpha}_{s_1} = 1.997852$ and $\hat{\alpha}_{s_2} = 1.99816$ in the first example, indicating close agreement with the true $\alpha = 2$.
  • The estimated scaling parameters were $\hat{\alpha}_{s_1} = 2.003242$ and $\hat{\alpha}_{s_2} = 2.051032$ in the second example, showing detectable differences.
  • The test statistic $\Lambda$ asymptotically follows a $\chi^2(1)$ distribution under the null hypothesis, validating its use for significance testing.
  • The method effectively detects differences in scaling parameters even with moderate sample sizes, demonstrating high statistical power in the second example.

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.