Skip to Content
MathematicsMathematics
  • Feature Paper
  • Article
  • Open Access

30 June 2026

29 Pages

A Probability Generating Function Based Goodness-of-Fit Test for the Poisson–Three-Parameter Lindley Distribution

Departamento de Enfermería, Facultad de Ciencias de la Salud y de los Alimentos, Universidad del Bío-Bío, Chillán 3800708, Chile

Abstract

The Poisson–Three-Parameter Lindley (PTPL) distribution constitutes a flexible Poisson mixture model for overdispersed count data, encompassing several classical count distributions as special or limiting cases. Despite its growing use in applied contexts, no formal goodness-of-fit test specifically designed for this distribution is currently available. In this paper, we propose and study a new goodness-of-fit test for the PTPL model based on a Cramér–von Mises type distance between the empirical and theoretical probability generating functions (PGFs). For polynomial weight functions, the test statistic admits an explicit closed-form representation; in practice, it is computed efficiently via numerical quadrature. The null distribution of the statistic is approximated via parametric bootstrap. We establish theoretical properties of the proposed procedure, including consistency against fixed alternatives and the validity of the bootstrap approximation. Monte Carlo simulations with sample sizes n ∈ { 50 ,   100 ,   150 ,   200 ,   500 } for size evaluation and n ∈ { 100 ,   250 ,   500 } for power comparisons, as well as weight exponents a ∈ { 0 ,   1 ,   2 } , show that the empirical size is well controlled at both the 5% and 10% nominal levels, and that the test exhibits competitive power against Poisson, Negative Binomial, COM-Poisson, and Zero-Inflated Poisson alternatives. A real data application to five overdispersed count datasets further illustrates the practical utility of the method. The empirical size is further verified across twelve parameter configurations spanning dispersion indices from 1.37 to 59.33, confirming bootstrap validity under strong overdispersion.

1. Introduction

Goodness-of-fit (GOF) testing plays a fundamental role in statistical modeling, particularly in the analysis of count data, where the selection of an appropriate discrete distribution is essential for reliable statistical inference. Classical goodness-of-fit procedures for discrete models, most notably Pearson’s chi-square test, are known to exhibit several well-documented shortcomings, including strong sensitivity to cell grouping, unreliable behavior in small and moderate samples, and additional difficulties introduced by parameter estimation; see Fisher [1], Cochran [2], Greenwood and Nikulin [3], Read and Cressie [4], and Cressie [5]. These limitations become more pronounced when dealing with flexible count models designed to accommodate overdispersion or unobserved heterogeneity.
Over the past decades, several authors have proposed goodness-of-fit tests based on probability generating functions (PGFs) for discrete distributions. Foundational contributions are due to Rueda, O’Reilly and Pérez-Abreu [6], who developed Cramér–von Mises type tests for the Poisson distribution based on the empirical PGF, and to Henze [7,8], who studied empirical-distribution-function tests and generating function-based tests for a broad class of discrete models. Subsequent developments include tests for the bivariate and multivariate Poisson distributions [9,10] and extensions using minimum-distance PGF estimators (see, e.g., [11,12,13,14]). PGF-based tests are known to possess favorable theoretical and empirical properties, particularly in terms of robustness to parameter estimation and improved power against relevant alternatives, often outperforming classical chi-square-based procedures in finite samples.
Among flexible count models, Poisson mixture distributions constitute a well-established class that naturally accommodates overdispersion and unobserved heterogeneity; see Johnson, Kemp and Kotz [15]. In this context, the Poisson–Lindley distribution, originally introduced by Sankaran [16], and several of its extensions have been proposed as flexible alternatives with applications in insurance, reliability, and biological sciences; see Ghitany et al. [17]. Extended versions involving additional parameters have been introduced to enhance modeling flexibility while preserving analytical tractability; see Mahmoudi and Zakerzadeh [18] and Das et al. [19].
Despite its growing use, no formal goodness-of-fit test specifically tailored to the Poisson–Three-Parameter Lindley (PTPL) distribution is currently available. Existing applications typically rely on information criteria or informal diagnostic tools, which do not provide a rigorous inferential framework. This constitutes a clear methodological gap that the present paper aims to address.
The main contribution of this paper is a new goodness-of-fit test for the PTPL distribution based on the Cramér–von Mises distance between the empirical PGF and the theoretical PGF of the PTPL model. The closed-form expression of the PTPL PGF makes this approach computationally and analytically tractable. Parameter estimation is handled via maximum likelihood, and the null distribution of the test statistic is approximated through a parametric bootstrap procedure.
Theoretical properties, including consistency against fixed alternatives and bootstrap validity, are rigorously established. Extensive Monte Carlo simulations assess the empirical size and power of the test against competing alternatives, including the Poisson, Negative Binomial, COM-Poisson [20], and Zero-Inflated Poisson distributions.
The main contributions of this paper are as follows. (i) We propose the first formal goodness-of-fit test specifically designed for the PTPL distribution based on a Cramér–von Mises distance between the empirical and theoretical probability generating functions. (ii) We establish rigorous theoretical guarantees: consistency against fixed alternatives (Proposition 7), a complete weak limit theorem under H 0 (Theorem 1), and validity of the parametric bootstrap approximation (Proposition 8). (iii) We conduct an extensive Monte Carlo study covering twelve parameter configurations of the PTPL family with dispersion indices ranging from 1.37 to 59.33 , three weight exponents, and five sample sizes, demonstrating reliable size control. (iv) We provide empirical power comparisons against four competing count distributions at multiple sample sizes. (v) We illustrate the practical utility of the procedure through a real-data application to five overdispersed count datasets from diverse applied domains.
The remainder of the paper is organized as follows. Section 2 introduces notation and preliminaries. Section 3 formally defines the PTPL distribution and establishes its basic probabilistic properties. Section 4 describes parameter estimation and its asymptotic properties. The proposed test statistic is presented in Section 5. Asymptotic results are given in Section 6. The bootstrap implementation is described in Section 7. The Monte Carlo study and real data application appear in Section 8 and Section 9, respectively. Section 10 is dedicated to discussion, and Section 11 concludes.

2. Notation and Preliminaries

Throughout the paper, the following notation is used. Convergence almost surely, in probability, and in distribution are denoted by → a . s . , → p , and  → d , respectively. The notation N 0 = { 0 , 1 , 2 , … } is used to denote the set of non-negative integers.
Throughout the paper, a sequence of random variables X 1 , … , X n is said to be independent and identically distributed (i.i.d.) if the X i are mutually independent and each X i has the same distribution. The abbreviation i.i.d. is used systematically in what follows.
For a sequence of random functions { Z n ( t ) } , uniform convergence over a set T is understood in the sense that
sup t ∈ T | Z n ( t ) − Z ( t ) | → a . s . 0 or → p 0 ,
almost surely or in probability, depending on the context.
Expectations, variances, and probabilities under the true data-generating process are denoted by E ( · ) , V ( · ) , and  P ( · ) , respectively. Bootstrap probabilities are denoted by P * ( · ) .
The notation E ϑ ( · ) , V ϑ ( · ) , and  P ϑ ( · ) denotes expectation, variance, and probability computed under the distribution PTPL ( ϑ ) . When ϑ = ϑ 0 is the true parameter vector, these are written E ϑ 0 ( · ) , V ϑ 0 ( · ) , and  P ϑ 0 ( · ) , respectively; the subscript is omitted when the context is unambiguous.
For a sequence of random variables { Y n } , Y n = o p ( 1 ) denotes convergence in probability to zero as n → ∞ , and  Y n = O p ( 1 ) denotes stochastic boundedness, i.e., for every ε > 0 there exists M ε < ∞ such that P ( | Y n | > M ε ) < ε for all n. More generally, Y n = o p ( r n ) and Y n = O p ( r n ) refer to these properties applied to Y n / r n for a deterministic sequence r n > 0 ; see, e.g., van der Vaart [21], Chapter 2.
The symbol P n = n − 1 ∑ j = 1 n δ X j denotes the empirical measure of the sample X 1 , … , X n , where δ x is the Dirac measure at x. Similarly, P ϑ denotes the probability measure on N 0 induced by PTPL ( ϑ ) .

3. The Poisson–Three-Parameter Lindley Distribution

The Lindley distribution, originally introduced as a one-parameter model (see, e.g., Ghitany et al. [17]), has been widely generalized to increase modeling flexibility. Among these generalizations, Shanker et al. [22] proposed a three-parameter Lindley distribution that incorporates additional shape parameters while preserving a relatively simple functional form.
In parallel, Poisson–Lindley type distributions have attracted considerable attention as flexible alternatives to the classical Poisson model capable of capturing overdispersion and unobserved heterogeneity; see Mahmoudi and Zakerzadeh [18] and Das et al. [19].
Motivated by these developments, we study the following Poisson–Three-Parameter Lindley distribution which arises as a reparameterization combining ideas from the three-parameter Lindley framework of Shanker et al. [22] and the Poisson compounding structure of Das et al. [19].
Proposition 1
(Validity of the PTPL PMF). Let Θ = { ϑ = ( θ , α , β ) ⊤ ∈ R 3 : θ > 0 , β > 0 , α ≥ − β / ( 1 + θ ) } . For any ϑ ∈ Θ , the function
p ( x ; ϑ ) = θ 2 ( α θ + β ) ( 1 + θ ) x + 1 α + β ( x + 1 ) 1 + θ , x = 0 , 1 , 2 , … ,
defines a proper probability mass function on N 0 . That is, p ( x ; ϑ ) ≥ 0 for all x ∈ N 0 , and  ∑ x = 0 ∞ p ( x ; ϑ ) = 1 .
Proof. 
Non-negativity. For ϑ ∈ Θ , we have
θ 2 > 0 ,
( α θ + β ) > 0 (since α ≥ − β / ( 1 + θ ) implies α θ ≥ − β θ / ( 1 + θ ) > − β ),
( 1 + θ ) x + 1 > 0 , and 
α + β ( x + 1 ) / ( 1 + θ ) ≥ − β / ( 1 + θ ) + β ( x + 1 ) / ( 1 + θ ) = β x / ( 1 + θ ) ≥ 0 for all x ≥ 0 .
Hence, p ( x ; ϑ ) ≥ 0 .
Normalization. Set r = 1 / ( 1 + θ ) ∈ ( 0 , 1 ) .
Using the standard identities ∑ x = 0 ∞ r x + 1 = r / ( 1 − r ) and ∑ x = 0 ∞ ( x + 1 ) r x + 1 = r / ( 1 − r ) 2 , (see, e.g., [23]), we obtain
∑ x = 0 ∞ p ( x ; ϑ ) = θ 2 α θ + β α · r 1 − r + β 1 + θ · r ( 1 − r ) 2 .
Substituting r = 1 / ( 1 + θ ) so 1 − r = θ / ( 1 + θ ) , gives
= θ 2 α θ + β α θ + β θ 2 = θ 2 α θ + β · α θ + β θ 2 = 1 .
   □
A discrete random variable X following distribution (1) is denoted X ∼ PTPL ( ϑ ) .
Remark 1
(Special cases). When α = 1 and taking β → 0 + , the PTPL reduces to the Poisson–Lindley distribution of Sankaran [16]. When α = β , additional simplifications arise. These connections motivate the use of PTPL as a flexible, encompassing model.

Probability Generating Function

The PGF of X ∼ PTPL ( ϑ ) , G ( t ) = E ( t X ) , is given by
G ( t ; ϑ ) = θ 2 β + α ( 1 + θ − t ) ( α θ + β ) ( 1 + θ − t ) 2 , t ∈ [ 0 , 1 ] .
This expression follows by summing ∑ x = 0 ∞ t x p ( x ; ϑ ) using the same geometric series identities employed in Proposition 1. The PGF is well defined and finite on [ 0 , 1 ] since 1 + θ − t ≥ θ > 0 for all t ≤ 1 and θ > 0 . The closed-form expression (2) is the key analytical feature that makes the PTPL distribution particularly amenable to PGF-based goodness-of-fit testing.
Remark 2
(Overdispersion of the PTPL distribution). A direct calculation using the PGF (2) yields the mean and second factorial moment of X ∼ PTPL ( ϑ ) . Setting u = 1 + θ − t so that d / d t = − d / d u , we write
G ( t ; ϑ ) = θ 2 α θ + β β u − 2 + α u − 1 ,
and differentiate with respect to t:
G ′ ( t ; ϑ ) = θ 2 α θ + β 2 β u − 3 + α u − 2 , G ″ ( t ; ϑ ) = θ 2 α θ + β 6 β u − 4 + 2 α u − 3 .
Evaluating at t = 1 (i.e., u = θ ) gives the exact formulas:
E ( X ) = G ′ ( 1 ; ϑ ) = α θ + 2 β θ ( α θ + β ) , G ″ ( 1 ; ϑ ) = 2 ( α θ + 3 β ) θ 2 ( α θ + β ) .
The variance then follows from the standard PGF identity V ( X ) = G ″ ( 1 ) + G ′ ( 1 ) − [ G ′ ( 1 ) ] 2 :
V ( X ) = 2 ( α θ + 3 β ) θ 2 ( α θ + β ) + α θ + 2 β θ ( α θ + β ) − α θ + 2 β θ ( α θ + β ) 2 .
Consequently,
V ( X ) − E ( X ) = G ″ ( 1 ; ϑ ) − G ′ ( 1 ; ϑ ) 2 = ( α θ ) 2 + 4 ( α θ ) β + 2 β 2 θ 2 ( α θ + β ) 2 .
We now show that the right-hand side of (3) is strictly positive for all ( θ , α , β ) ∈ Θ . Setting ξ = α θ and b = β > 0 , the numerator reads
N ( ξ , b ) : = ξ 2 + 4 b ξ + 2 b 2 .
From the admissibility condition α ≥ − β / ( 1 + θ ) , we have ξ = α θ ≥ − b θ / ( 1 + θ ) , so ξ > − b . The discriminant of N viewed as a quadratic in ξ is Δ = 16 b 2 − 8 b 2 = 8 b 2 > 0 , with roots ξ ± = b ( − 2 ± 2 ) . The upper root is ξ + = b ( − 2 + 2 ) ≈ − 0.586 b . Since ξ > − b and − b < ξ + < 0 , we must check whether ξ can fall in ( ξ + , 0 ) (where N < 0 ) or lies below ξ + (where N > 0 ). However, for  ξ ∈ ( − b , ξ + ] , one verifies N ( ξ , b ) > 0 because at ξ = − b , N ( − b , b ) = b 2 − 4 b 2 + 2 b 2 = − b 2 < 0 —a boundary value not achieved by the constraints. More precisely, the admissibility bound gives
ξ ≥ − b θ 1 + θ ≡ − b r , r = θ 1 + θ ∈ ( 0 , 1 ) .
Substituting ξ = − b r into N:
N ( − b r , b ) = b 2 r 2 − 4 b 2 r + 2 b 2 = b 2 ( r 2 − 4 r + 2 ) .
The function h ( r ) = r 2 − 4 r + 2 has minimum at r = 2 (outside ( 0 , 1 ) ) and satisfies h ( 0 ) = 2 > 0 and h ( 1 ) = − 1 < 0 . The root of h in ( 0 , 1 ) is r * = 2 − 2 ≈ 0.586 . Hence:
  • If r < r * = 2 − 2 (i.e., θ < ( 2 − 2 ) / ( 2 − 1 ) = 2 + 1 ≈ 2.414 ) : at the boundary ξ = − b r we have h ( r ) > 0 , so N > 0 , confirming V ( X ) > E ( X ) .
  • If r ≥ r * (i.e., θ ≥ 2 + 1 ) : the boundary value ξ = − b r gives h ( r ) ≤ 0 , but α is bounded below by − β / ( 1 + θ ) ; in practice α is chosen so that α θ + β > 0 , which is equivalent to ξ > − b , strictly. For any ξ ∈ ( − b r , ∞ ) with r < 1 , a direct calculation shows that the PTPL mean and variance are positive and finite, and the model is always overdispersed in all parameter configurations arising in practice.
Intuitive interpretation via the mixture structure. The PTPL distribution arises as a Poisson mixture: if X ∣ Λ ∼ Poisson ( Λ ) and Λ follows a three-parameter Lindley distribution, then X follows the PTPL model. By the law of total variance,
V ( X ) = E [ V ( X ∣ Λ ) ] + V [ E ( X ∣ Λ ) ] = E ( Λ ) + V ( Λ ) > E ( Λ ) = E ( X ) ,
so any Poisson mixture with a non-degenerate mixing distribution is necessarily overdispersed relative to the Poisson model. Since the three-parameter Lindley mixing distribution is non-degenerate for β > 0 , overdispersion holds throughout the admissible parameter space Θ.
Figure 1 displays the probability mass function of the PTPL distribution for nine representative parameter configurations, organized by increasing level of overdispersion. The dispersion index DI = V ( X ) / E ( X ) ranges from 1.37 (mild overdispersion, top row) to 59.33 (pronounced right skewness, bottom row), covering three distinct levels of overdispersion: mild ( DI ≈ 1.37–3.18), moderate ( DI ≈ 3.69–10.39), and strong ( DI ≈ 12.00–59.33). The figure illustrates the considerable shape flexibility of the PTPL family: depending on the parameter values, the distribution can resemble a near-Poisson shape, exhibit moderate right skewness with a visible mode away from zero, or display a steeply decreasing profile concentrated near the origin. This breadth of shapes, combined with the closed-form expressions for the PMF and PGF derived above, underscores both the practical relevance of the PTPL model for overdispersed count data and the importance of having a formal goodness-of-fit test that is specifically calibrated to this family.
Figure 1. Probability mass functions of the Poisson–Three-Parameter Lindley (PTPL) distribution for nine parameter configurations covering mild ( DI ≈ 1.37–3.18, top row), moderate ( DI ≈ 3.69–10.39, middle row), and strong ( DI ≈ 12.00–59.33, bottom row) overdispersion. The dashed vertical line in each panel marks the mean E ( X ) ; the badge in the upper right corner reports the dispersion index DI = V ( X ) / E ( X ) . Parameter space: θ > 0 , β > 0 , α ≥ − β / ( 1 + θ ) .

4. Parameter Estimation for the PTPL Distribution

Let X 1 , … , X n be a random sample from a Poisson–Three-Parameter Lindley distribution with parameter vector ϑ . In this section, we describe two standard estimation procedures for ϑ , namely the method of moments and maximum likelihood estimation, and discuss their asymptotic properties. These results provide the theoretical justification for the plug-in approach adopted in the proposed goodness-of-fit test.
The Poisson–Three-Parameter Lindley (PTPL) model satisfies all the regularity conditions required by the estimation results in this section. We make this explicit in the following remark, which also clarifies the novelty of the verification carried out here.
Remark 3
(PTPL-specific regularity conditions and novelty). The results of Propositions 3 and 4 rest on abstract regularity conditions. We verify these for the PTPL family explicitly.
  • (a) Identifiability. The PTPL model is identifiable: if p ( · ; ϑ ) = p ( · ; ϑ ′ ) on N 0 , then ϑ = ϑ ′ . This follows because the probability generating function G ( t ; ϑ ) = θ 2 [ β + α ( 1 + θ − t ) ] / [ ( α θ + β ) ( 1 + θ − t ) 2 ] uniquely characterizes the distribution; equating G ( t ; ϑ ) = G ( t ; ϑ ′ ) for all t ∈ [ 0 , 1 ] and matching coefficients of the rational function in t yields ϑ = ϑ ′ . See Teicher [24] for general identifiability conditions for Poisson mixtures.
  • (b) Twice continuous differentiability of the log-likelihood. From the explicit PMF (1), the log-likelihood contribution is
    log p ( x ; ϑ ) = 2 log θ − log ( α θ + β ) − ( x + 1 ) log ( 1 + θ ) + log α + β ( x + 1 ) 1 + θ .
Each term is a smooth ( C ∞ ) function of ( θ , α , β ) on the interior of Θ; in particular, α θ + β > 0 and α + β ( x + 1 ) / ( 1 + θ ) > 0 for all x ∈ N 0 by the admissibility condition. Hence, condition (vii) of Proposition 4 holds for the PTPL PMF.
  • (c) Fisher information matrix. Let ℓ ( ϑ ) = log p ( x ; ϑ ) and I ( ϑ 0 ) = E ϑ 0 [ ∇ ϑ ℓ ( ϑ 0 ) ∇ ϑ ℓ ( ϑ 0 ) ⊤ ] . The first-order partial derivatives are
    ∂ ℓ ∂ θ = 2 θ − α α θ + β − x + 1 1 + θ − β ( x + 1 ) / ( 1 + θ ) 2 α + β ( x + 1 ) / ( 1 + θ ) , ∂ ℓ ∂ α = − θ α θ + β + 1 α + β ( x + 1 ) / ( 1 + θ ) , ∂ ℓ ∂ β = − 1 α θ + β + ( x + 1 ) / ( 1 + θ ) α + β ( x + 1 ) / ( 1 + θ ) .
These are bounded in L 2 ( PTPL ( ϑ 0 ) ) for all ϑ 0 in the interior of Θ (by dominated convergence and the exponential tail decay of the PMF), so I ( ϑ 0 ) is finite. Non-singularity of I ( ϑ 0 ) follows from the identifiability of the model: a singular Fisher information matrix would imply a non-trivial linear combination of the scores is identically zero, contradicting identifiability; see [21], Lemma 5.3.
Novelty of Section 4. While the abstract estimation theory (Propositions 2–4) follows standard results in [21,25], the explicit verification of identifiability, twice-differentiability of the log-likelihood, and non-singularity of the Fisher information matrix for the PTPL model is carried out here for the first time. These verifications are non-trivial because the PMF (1) involves a product of two terms that are simultaneously differentiable in ϑ , and the admissibility constraint α θ + β > 0 must be tracked throughout.

4.1. Method of Moments

Let μ r = E ( X r ) , r = 1 , 2 , 3 , denote the theoretical moments of the PTPL distribution, which are smooth functions of the parameter vector ϑ . Let μ ^ r = n − 1 ∑ i = 1 n X i r be the corresponding sample moments. The method of moments estimator ϑ ^ n MM is defined as a solution of the system
μ ^ r = μ r ( ϑ ) , r = 1 , 2 , 3 ,
provided that the solution exists and is unique.
Such estimators are widely used for count models due to their simplicity and computational stability; see, for example, Casella and Berger [26].
Proposition 2
(Consistency of the Method of Moments Estimator). Assume that the mapping ϑ ↦ ( μ 1 , μ 2 , μ 3 ) is injective (i.e., the PTPL distribution is identifiable from its first three moments; see Teicher [24] for general identifiability conditions for Poisson mixtures) and continuous on Θ. Then,
ϑ ^ n MM → a . s . ϑ 0 , n → ∞ .
Proof. 
By the strong law of large numbers [23], μ ^ r → μ r ( ϑ 0 ) almost surely for r = 1 , 2 , 3 . Consistency then follows from the assumed continuity and injectivity of the moment mapping by a standard argument; see van der Vaart [21], Theorem 5.9.    □
Due to the numerical instability and absence of closed-form solutions for the moment equations, the method of moments estimator is used exclusively to provide suitable initial values for the maximum likelihood optimization. Its asymptotic properties are therefore stated for completeness but are not the primary focus of the estimation section.

4.2. Maximum Likelihood Estimation

Given the numerical limitations of the method of moments discussed in the previous section, parameter estimation for the PTPL distribution is primarily conducted via maximum likelihood. Let p ( x ; ϑ ) denote the PTPL probability mass function. The log-likelihood function based on a random sample { X 1 , … , X n } is given by
ℓ n ( ϑ ) = ∑ i = 1 n log p ( X i ; ϑ ) ,
and the maximum likelihood estimator (MLE), denoted by ϑ ^ n ML , is defined as the maximizer of ℓ n ( ϑ ) over the parameter space Θ , provided that the solution exists and is unique.
Proposition 3
(Consistency of the MLE). Assume that:
(i) 
The PTPL model is correctly specified, i.e., the true distribution of X belongs to { p ( · ; ϑ ) : ϑ ∈ Θ } .
(ii) 
Identifiability: ϑ ≠ ϑ ′ implies p ( · ; ϑ ) ≠ p ( · ; ϑ ′ ) on N 0 .
(iii) 
The parameter space Θ is compact.
(iv) 
The log-likelihood log p ( x ; ϑ ) is upper semi-continuous in ϑ for each x ∈ N 0 .
(v) 
E ϑ 0 [ sup ϑ ∈ Θ log p ( X ; ϑ ) ] < ∞ .
  • Then,
ϑ ^ n ML → a . s . ϑ 0 , n → ∞ .
Proof. 
Under conditions (i)–(v), the result follows from the classical consistency theorem for maximum likelihood estimators of Wald [25]; see also van der Vaart [21], Theorem 5.14, for a modern treatment.    □
Proposition 4
(Asymptotic Normality of the MLE). In addition to the assumptions of Proposition 3, assume that:
(vi) 
The true parameter ϑ 0 lies in the interior of Θ.
(vii) 
The log-likelihood log p ( x ; ϑ ) is twice continuously differentiable in ϑ on a neighborhood of ϑ 0 , for all x ∈ N 0 . (This holds for the PTPL PMF (1) by inspection of its explicit form.)
(viii) 
The Fisher information matrix I ( ϑ 0 ) = E ϑ 0 [ ∇ ϑ log p ( X ; ϑ 0 ) ∇ ϑ log p ( X ; ϑ 0 ) ⊤ ] is finite and non-singular.
  • Then,
n ϑ ^ n ML − ϑ 0 → d N 0 , I − 1 ( ϑ 0 ) .
Proof. 
Under conditions (i)–(viii), the result is a direct consequence of the asymptotic normality theorem for maximum likelihood estimators; see van der Vaart [21], Theorem 5.41, or Lehmann and Casella [27], Chapter 6. Moreover, under these conditions the MLE satisfies the linear influence-function expansion
n ( ϑ ^ n ML − ϑ 0 ) = 1 n ∑ j = 1 n I ( ϑ 0 ) − 1 ∇ ϑ log p ( X j ; ϑ 0 ) + o p ( 1 ) ,
which is the expansion required in Assumption 1 below.    □

4.3. Implications for the Goodness-of-Fit Test

Both estimation procedures yield consistent estimators of the PTPL parameters. In particular, the MLE is root-n consistent and asymptotically normal, which justifies its use as the plug-in estimator in the proposed test statistic. These properties also support the validity of the parametric bootstrap procedure, as established in Proposition 8 of Section 6.
In the Monte Carlo study, convergence of the MLE was monitored via the gradient norm and the Hessian condition number. Samples for which the optimization did not converge (convergence code ≠ 0 in the optim routine) were discarded and replaced, and the corresponding discarded fraction was negligible (at most 0.3 % ) across all configurations and sample sizes, as discussed below. This approach is standard practice in bootstrap-based simulation studies; see, e.g., Henze [8] and Baringhaus and Henze [13].
Practical aspects of the bootstrap MLE. In the Monte Carlo study and in the bootstrap inner loop, convergence of the MLE was monitored via the gradient norm and the convergence code returned by optim() in R version 4.5.2  [28]. Bootstrap samples for which the MLE did not converge (convergence code ≠ 0 ) were discarded and replaced by a fresh draw from PTPL ( ϑ ^ n ) ; the discarded fraction was at most 0.3 % across all parameter configurations and sample sizes considered, confirming numerical stability. Method-of-moments estimates (Section 4.1) were used as starting values for the MLE optimization; this two-step strategy substantially reduces convergence failures relative to arbitrary initializations. Regarding the number of bootstrap replications, we recommend B ≥ 499 for exploratory analyses and B ≥ 999 for definitive reported p-values. In our Monte Carlo study we used B = 500 , and  B = 999 in the real-data applications (Section 9); increasing B beyond 999 produced negligible improvements in p-value precision for n ≤ 500 , consistent with recommendations in the PGF-based testing literature [8,9].

5. The Proposed Goodness-of-Fit Test

Let X 1 , … , X n be a random sample of independent and identically distributed observations taking values in N 0 , drawn from an unknown discrete distribution. Under the null hypothesis, the underlying distribution is assumed to belong to the Poisson–Three-Parameter Lindley family.
The null hypothesis of interest is given by
H 0 : X ∼ PTPL ( ϑ ) ,
for some unknown parameter vector ϑ belonging to the admissible parameter space, versus the general alternative
H 1 : X does not follow a PTPL distribution .
Let ϑ ^ n be a consistent estimator of ϑ , obtained, for instance, by maximum likelihood or by the method of moments. The corresponding theoretical probability generating function under the null hypothesis is then given by
G ( t ; ϑ ^ n ) = θ ^ n 2 β ^ n − α ^ n t + α ^ n + α ^ n θ ^ n ( α ^ n θ ^ n + β ^ n ) 1 + θ ^ n − t 2 , t ∈ [ 0 , 1 ] .
The empirical probability generating function is defined as
G ^ n ( t ) = 1 n ∑ j = 1 n t X j , t ∈ [ 0 , 1 ] ,
which provides a natural nonparametric estimator of the theoretical PGF.
In the goodness-of-fit procedure, the PGF is evaluated on the unit interval t ∈ [ 0 , 1 ] , which is contained in the domain t < log ( 1 + θ ) for all admissible θ > 0 .
Under the null hypothesis, the empirical PGF G ^ n ( t ) is expected to be close to the theoretical PGF G ( t ; ϑ ^ n ) for all t ∈ [ 0 , 1 ] . Departures from the null model can therefore be detected by measuring discrepancies between these two functions over a suitable range of t-values.
Motivated by classical Cramér–von Mises type statistics and following the general PGF-based goodness-of-fit framework developed in the literature, we define the test statistic
T n = n ∫ 0 1 G ^ n ( t ) − G ( t ; ϑ ^ n ) 2 w ( t ) d t ,
where w ( · ) is a nonnegative weight function on [ 0 , 1 ] such that
∫ 0 1 w ( t ) d t < ∞ .
This condition ensures that the integral in (4) is finite for each fixed sample size n.
Typical choices of w used in the literature include polynomial weights such as w ( t ) = t a , a > − 1 ; see, e.g., Henze [8] and Novoa-Muñoz and Jiménez-Gamero [9].
Large values of the statistic T n provide evidence against the null hypothesis, indicating that the PTPL model does not adequately describe the observed data. Since the asymptotic null distribution of T n depends on the unknown parameters and involves complex limiting processes, critical values are obtained via a parametric bootstrap procedure, which is described in detail in Section 7.
Role of the PTPL closed-form PGF. The closed-form expression (2) of the PTPL probability generating function plays a central role in making the proposed procedure computationally tractable in two distinct ways. First, it enables efficient numerical quadrature of T n via standard Gauss–Legendre or adaptive quadrature routines, since G ( t ; ϑ ^ n ) and all its partial derivatives can be evaluated exactly at any t ∈ [ 0 , 1 ] in O ( 1 ) operations. Second, for polynomial weight functions w ( t ) = t a , a > − 1 , the test statistic T n admits an explicit closed-form representation as a finite double sum over the sample and the PTPL probabilities (detailed in Appendix A and Remark 10), a simplification that relies directly on the rational form of (2). Both computational advantages are specific to the PTPL family and would not be available for distributions lacking a closed-form PGF.
Remark 4
(Domain of evaluation). The PGF is evaluated on [ 0 , 1 ] . This is valid because for all t ≤ 1 and θ > 0 , we have 1 + θ − t ≥ θ > 0 , ensuring that the denominator in (2) is bounded away from zero and G ( t ; θ , α , β ) is well defined and continuously differentiable on [ 0 , 1 ] . The choice w ( t ) = t a , a > − 1 , is motivated by the analytical tractability documented in Appendix A and is standard in the PGF-based testing literature [6,8,9]. In the simulation study we consider a ∈ { 0 , 1 , 2 } ; the case a = 1 serves as the primary recommendation based on the power comparisons reported in Section 8.
Remark 5
(Role and selection of the weight exponent a). For the weight function w ( t ) = t a on [ 0 , 1 ] , the value of a > − 1 controls which region of the interval [ 0 , 1 ] is emphasized in the Cramér–von Mises integral (4). Since the probability generating function satisfies G ( t ) = E ( t X ) = ∑ x = 0 ∞ t x p ( x ) , values of t near zero suppress contributions from large counts (because t x → 0 rapidly for large x when t ≈ 0 ), whereas values of t near one involve all order moments through the Taylor expansion G ( t ) = ∑ k = 0 ∞ μ [ k ] ( t − 1 ) k / k ! (where μ [ k ] denotes the k-th factorial moment). The weight w ( t ) = t a therefore modulates sensitivity as follows:
  • a = 0 (uniform weight): all parts of [ 0 , 1 ] receive equal emphasis, yielding balanced sensitivity to departures across the entire count distribution, both in the bulk and in the tails.
  • a = 1 (recommended): up-weights the region near t = 1 , increasing sensitivity to differences in the lower-order factorial moments and to departures in the central mass of the distribution. This is the most relevant region for overdispersed count data, where practical alternatives differ from the PTPL model primarily through their first few moments.
  • a = 2 : further concentrates weight near t = 1 , reducing sensitivity to tail departures while increasing power against alternatives with similar lower moments but different higher-order structure.
Among the values a ∈ { 0 , 1 , 2 } examined in the simulation study, a = 1 consistently yields the best balance between empirical size control and power across all parameter configurations and sample sizes. This is consistent with findings for related PGF-based tests; see [8,9]. The choice a = 1 is therefore recommended as the default in practice.

6. Asymptotic Properties

In this section, we investigate the asymptotic behavior of the goodness-of-fit statistic T n defined in (4). The section is organized in five steps, providing a complete roadmap of the theoretical development:
(1)
Proposition 5 establishes the uniform almost-sure consistency of the empirical probability generating function G ^ n .
(2)
Proposition 6 shows that the unscaled integral I n = n − 1 T n converges to zero in probability under H 0 , and clarifies its relationship to the scaled statistic T n .
(3)
Theorem 1 establishes the weak limit of T n = n I n as a weighted sum of independent chi-squared random variables, providing the theoretical basis for bootstrap calibration.
(4)
Proposition 7 proves consistency of the test against fixed alternatives.
(5)
Proposition 8 establishes validity of the parametric bootstrap approximation.
Remark 6
(Novelty of Section 6). The abstract asymptotic framework in this section—Donsker theorems, weak convergence of empirical processes, Hadamard differentiability—is standard; see [21,29]. The novelty of the present contribution lies in three specific elements.
(i) 
Verification of Assumption 1 for the PTPL family. While Assumption 1 is abstract, we verify here for the first time that the PTPL model satisfies all its conditions: the MLE satisfies the linear influence-function expansion by Proposition 4; the Fréchet-differentiability of ϑ ↦ G ( · ; ϑ ) in L 2 ( [ 0 , 1 ] , w ) follows from the smoothness of the explicit PGF (2); and I ( ϑ 0 ) is finite and non-singular by Remark 3.
(ii) 
Closed-form gradient G ˙ ( t ; ϑ 0 ) = ∇ ϑ G ( t ; ϑ 0 ) . The gradient entering the covariance kernel K ( s , t ) of Theorem 1 can be computed in closed form from the PTPL PGF (2), as derived in Equations (5)–(7) below. This derivation is specific to the PTPL family and is new.
(iii) 
Simulation study and real-data application (Section 8 and Section 9). These are entirely original contributions.
Closed-form gradient of the PTPL PGF. From (2), with  A : = α θ + β and u ( t ) : = 1 + θ − t , we have G ( t ; ϑ ) = θ 2 ( β + α u ) / ( A u 2 ) . Direct differentiation gives:
∂ G ∂ θ ( t ; ϑ ) = 2 θ ( β + α u ) A u 2 − θ 2 α · A u 2 − θ 2 ( β + α u ) ( A · 2 u · ( − 1 ) + α u 2 ) A 2 u 4
= θ 2 A 2 u 3 2 A ( β + α u ) − α A u − ( β + α u ) 2 A / u − α u · 1 θ ,
∂ G ∂ α ( t ; ϑ ) = θ 2 u A u 2 − θ 3 ( β + α u ) A 2 u 2 = θ 2 A 2 u A − θ ( β + α u ) / u ,
∂ G ∂ β ( t ; ϑ ) = θ 2 A u 2 − θ 2 ( β + α u ) A 2 u 2 = θ 2 A 2 u 2 A − ( β + α u ) = θ 3 α A 2 u 2 .
These expressions are smooth and bounded on [ 0 , 1 ] × Θ , confirming Fréchet-differentiability of ϑ ↦ G ( · ; ϑ ) in L 2 ( [ 0 , 1 ] , w ) .
Proposition 5
(Uniform Consistency of the Empirical PGF). Let X 1 , … , X n be i.i.d. random variables supported on N 0 with probability generating function G ( t ) . Then,
sup t ∈ [ 0 , 1 ] G ^ n ( t ) − G ( t ) → a . s . 0 , n → ∞ .
Proof. 
For each fixed t ∈ [ 0 , 1 ] , the random variables t X 1 , … , t X n are i.i.d., bounded by 1, and satisfy E ( t X j ) = G ( t ) . Hence, by the strong law of large numbers [23,30], G ^ n ( t ) → G ( t ) almost surely for every t ∈ [ 0 , 1 ] . Moreover, the class of functions { x ↦ t x : t ∈ [ 0 , 1 ] } is Glivenko–Cantelli and uniformly bounded; see van der Vaart and Wellner [29]. Therefore,
sup t ∈ [ 0 , 1 ] G ^ n ( t ) − G ( t ) → a . s . 0 ,
which completes the proof.    □
Proposition 6
(Behavior of the unscaled statistic under H 0 ). Assume that H 0 holds, that is, the data X 1 , … , X n are generated from a PTPL ( ϑ 0 ) distribution with true parameter vector ϑ 0 ∈ int ( Θ ) . Let ϑ ^ n be a consistent estimator of ϑ 0 . Define the unscaled integral
I n = ∫ 0 1 G ^ n ( t ) − G ( t ; ϑ ^ n ) 2 w ( t ) d t ,
so that T n = n I n (cf. Equation (4)). Then I n → p 0 as n → ∞ .
Remark 7
(Relationship between I n and T n ). Proposition 6 asserts that I n = o p ( 1 ) ; in particular, I n = O p ( n − 1 ) . This is consistent with Theorem 1, which establishes that T n = n I n = n · O p ( n − 1 ) = O p ( 1 ) converges in distribution to a non-degenerate limit. The two results address different objects: the unscaled integral I n vanishes, while the scaled statistic T n has a non-trivial asymptotic distribution.
Proof of Proposition 6.
We decompose the integrand using the triangle inequality:
G ^ n ( t ) − G ( t ; ϑ ^ n ) ≤ G ^ n ( t ) − G ( t ; ϑ 0 ) + G ( t ; ϑ ^ n ) − G ( t ; ϑ 0 ) = : A n ( t ) + B n ( t ) .
Term A n ( t ) : uniform convergence of the empirical PGF. By Proposition 5, sup t ∈ [ 0 , 1 ] A n ( t ) → a . s . 0 . Since almost-sure convergence implies convergence in probability, sup t A n ( t ) → p 0 .
  • Term B n ( t ) : continuity of G in the parameter. From the closed-form expression (2), the map ϑ ↦ G ( t ; ϑ ) is continuously differentiable (in fact C ∞ ) on Θ for each fixed t ∈ [ 0 , 1 ] ; see Equations (5)–(7). By a first-order Taylor expansion around ϑ 0 ,
G ( t ; ϑ ^ n ) − G ( t ; ϑ 0 ) ≤ sup t ∈ [ 0 , 1 ] ∥ G ˙ ( t ; ϑ 0 * ) ∥ · ∥ ϑ ^ n − ϑ 0 ∥
for some ϑ 0 * on the segment [ ϑ 0 , ϑ ^ n ] . The gradient bound is uniform in t ∈ [ 0 , 1 ] because G ˙ ( t ; ϑ ) is continuous and [ 0 , 1 ] is compact. Since ϑ ^ n → p ϑ 0 (consistency, Proposition 3), sup t B n ( t ) → p 0 .
  • Combining. By (8) and the two bounds above, sup t ∈ [ 0 , 1 ] | G ^ n ( t ) − G ( t ; ϑ ^ n ) | → p 0 . Since both PGFs are bounded by one on [ 0 , 1 ] , the integrand satisfies
G ^ n ( t ) − G ( t ; ϑ ^ n ) 2 w ( t ) ≤ sup t ∈ [ 0 , 1 ] G ^ n ( t ) − G ( t ; ϑ ^ n ) 2 · w ( t ) ≤ w ( t ) ,
and the constant function w ( t ) is integrable by assumption. The dominated convergence theorem [31] therefore yields
I n = ∫ 0 1 G ^ n ( t ) − G ( t ; ϑ ^ n ) 2 w ( t ) d t → p 0 ,
completing the proof.    □
The following theorem establishes the weak limit of the centered and scaled process underlying T n , providing the theoretical foundation for the bootstrap approximation discussed in Proposition 8.
Assumption 1.
The true parameter vector ϑ 0 = ( θ 0 , α 0 , β 0 ) ⊤ belongs to the interior of Θ. The mapping ϑ ↦ G ( · ; ϑ ) is twice continuously Fréchet-differentiable on L 2 ( [ 0 , 1 ] , w ) , where L 2 ( [ 0 , 1 ] , w ) denotes the space of square-integrable functions with weight w ( t ) = t a , a > − 1 . The Fisher information matrix I ( ϑ 0 ) is finite and non-singular (conditions (vi)–(viii) of Proposition 4). The estimator ϑ ^ n satisfies the linear expansion
n ( ϑ ^ n − ϑ 0 ) = 1 n ∑ j = 1 n ℓ ϑ 0 ( X j ) + o p ( 1 ) ,
where ℓ ϑ 0 ( x ) = I ( ϑ 0 ) − 1 ∇ ϑ log p ( x ; ϑ 0 ) is the influence function of the MLE. Under the conditions of Proposition 4, this expansion holds automatically for the MLE; see van der Vaart [21], Theorem 5.41.
Theorem 1
(Weak limit of the standardized process under H 0 ). Under H 0 and Assumption 1, the process
W n ( t ) = n G ^ n ( t ) − G ( t ; ϑ ^ n ) , t ∈ [ 0 , 1 ] ,
converges weakly in L 2 ( [ 0 , 1 ] , w ) to a centered Gaussian process W with covariance kernel
K ( s , t ) = G ( min ( s , t ) ; ϑ 0 ) − G ( s ; ϑ 0 ) G ( t ; ϑ 0 ) − G ˙ ( s ; ϑ 0 ) ⊤ I ( ϑ 0 ) − 1 G ˙ ( t ; ϑ 0 ) ,
where G ˙ ( t ; ϑ 0 ) = ∇ ϑ G ( t ; ϑ 0 ) denotes the gradient of the theoretical PGF with respect to the parameter vector.
Consequently,
T n = n ∫ 0 1 G ^ n ( t ) − G ( t ; ϑ ^ n ) 2 w ( t ) d t ⟶ d ∫ 0 1 W ( t ) 2 w ( t ) d t = ∑ j = 1 ∞ λ j Z j 2 ,
where { Z j } are independent standard normal random variables and { λ j } (with ∑ j = 1 ∞ λ j < ∞ ) are the eigenvalues of the integral operator associated with K ( · , · ) in L 2 ( [ 0 , 1 ] , w ) .
Proof. 
We establish the result in four steps.
Step 1: Donsker property of the empirical PGF process. Consider the function class
F = f t : x ↦ t x : t ∈ [ 0 , 1 ] .
Every f t is measurable and satisfies | f t ( x ) | = t x ≤ 1 for all x ∈ N 0 and t ∈ [ 0 , 1 ] , so F is uniformly bounded by 1. To apply the Donsker theorem, we bound the ε -covering number of F under the L 2 ( P ) norm. For any two functions f s , f t ∈ F ,
∥ f s − f t ∥ L 2 ( P ) 2 = E [ ( s X − t X ) 2 ] ≤ sup x ≥ 0 | s x − t x | 2 ≤ | s − t | 2 ,
where the last inequality holds because | s x − t x | ≤ x | s − t | is bounded by 1 for s , t ∈ [ 0 , 1 ] with | s − t | small; a more careful bound gives | s x − t x | ≤ | s − t | 1 / 2 uniformly in x ≥ 0 by the concavity of the power function. Hence, log N ( ε , F , ∥ · ∥ L 2 ( P ) ) = O ( ε − 1 ) ; see [29], Example 2.5.4. By the Donsker theorem ([29], Theorem 2.5.2), the centred empirical PGF process
n [ G ^ n ( t ) − G ( t ; ϑ 0 ) ] , t ∈ [ 0 , 1 ] ,
converges weakly in ℓ ∞ ( [ 0 , 1 ] ) to a centred Gaussian process G with covariance kernel
Cov ( G ( s ) , G ( t ) ) = G ( min ( s , t ) ; ϑ 0 ) − G ( s ; ϑ 0 ) G ( t ; ϑ 0 ) , s , t ∈ [ 0 , 1 ] .
Step 2: Linearization of the plug-in correction. Under Assumption 1, the MLE satisfies
n ( ϑ ^ n − ϑ 0 ) = 1 n ∑ j = 1 n ℓ ϑ 0 ( X j ) + o p ( 1 ) , ℓ ϑ 0 ( x ) = I ( ϑ 0 ) − 1 ∇ ϑ log p ( x ; ϑ 0 ) ,
and converges in distribution to N ( 0 , I ( ϑ 0 ) − 1 ) . By the Fréchet-differentiability of ϑ ↦ G ( · ; ϑ ) in L 2 ( [ 0 , 1 ] , w ) (verified in the remark following Assumption 1 and in Equations (5)–(7)), a first-order functional Taylor expansion gives, uniformly in t ∈ [ 0 , 1 ] ,
n [ G ( t ; ϑ ^ n ) − G ( t ; ϑ 0 ) ] = G ˙ ( t ; ϑ 0 ) ⊤ n ( ϑ ^ n − ϑ 0 ) + o p ( 1 ) ,
where G ˙ ( t ; ϑ 0 ) = ∇ ϑ G ( t ; ϑ 0 ) is the gradient vector given in (5)–(7). The remainder o p ( 1 ) is uniform in t because the second-order term involves ∥ ϑ ^ n − ϑ 0 ∥ 2 = O p ( n − 1 ) multiplied by a bounded second-derivative, which is o p ( n − 1 / 2 ) uniformly.
Step 3: Weak convergence of W n in L 2 ( [ 0 , 1 ] , w ) . Define the centred and standardized process
W n ( t ) = n [ G ^ n ( t ) − G ( t ; ϑ ^ n ) ] , t ∈ [ 0 , 1 ] .
Combining Steps 1 and 2:
W n ( t ) = n [ G ^ n ( t ) − G ( t ; ϑ 0 ) ] − n [ G ( t ; ϑ ^ n ) − G ( t ; ϑ 0 ) ] = G n ( t ) − G ˙ ( t ; ϑ 0 ) ⊤ n ( ϑ ^ n − ϑ 0 ) + o p ( 1 ) ,
where G n ( t ) = n [ G ^ n ( t ) − G ( t ; ϑ 0 ) ] . By Steps 1–2 and the continuous mapping theorem applied in ℓ ∞ ( [ 0 , 1 ] ) , the process W n converges weakly in ℓ ∞ ( [ 0 , 1 ] ) to the centred Gaussian process
W ( t ) = G ( t ) − G ˙ ( t ; ϑ 0 ) ⊤ Z , Z ∼ N ( 0 , I ( ϑ 0 ) − 1 ) ,
with G and Z independent. The covariance kernel of W is
K ( s , t ) = Cov ( W ( s ) , W ( t ) ) = G ( min ( s , t ) ; ϑ 0 ) − G ( s ; ϑ 0 ) G ( t ; ϑ 0 ) − G ˙ ( s ; ϑ 0 ) ⊤ I ( ϑ 0 ) − 1 G ˙ ( t ; ϑ 0 ) ,
as stated in Theorem 1. Since w is integrable and the functions t ↦ W n ( t ) are uniformly bounded, weak convergence in ℓ ∞ ( [ 0 , 1 ] ) implies weak convergence in L 2 ( [ 0 , 1 ] , w ) by the continuous embedding; see [29], Lemma 1.3.8.
Step 4: Spectral representation. The covariance kernel K ( s , t ) defines a compact, self-adjoint, and positive-semidefinite integral operator K : L 2 ( [ 0 , 1 ] , w ) → L 2 ( [ 0 , 1 ] , w ) via ( K f ) ( s ) = ∫ 0 1 K ( s , t ) f ( t ) w ( t ) d t .
  • Self-adjointness: K ( s , t ) = K ( t , s ) by symmetry of the covariance.
  • Positive semidefiniteness: K is the covariance kernel of the Gaussian process W, hence positive semidefinite by definition.
  • Compactness: K ∈ L 2 ( [ 0 , 1 ] 2 , w ⊗ w ) because | K ( s , t ) | ≤ 1 for all s , t ∈ [ 0 , 1 ] (both PGFs are bounded by 1 and I ( ϑ 0 ) − 1 is bounded); hence ∫ 0 1 ∫ 0 1 K ( s , t ) 2 w ( s ) w ( t ) d s d t < ∞ .
  • Trace condition: ∑ j = 1 ∞ λ j = ∫ 0 1 K ( t , t ) w ( t ) d t ≤ ∫ 0 1 w ( t ) d t < ∞ , so the eigenvalue series converges.
By the spectral theorem for compact self-adjoint operators and Mercer’s theorem [29,31], the Karhunen–Loève decomposition gives W ( t ) = ∑ j = 1 ∞ λ j Z j φ j ( t ) in L 2 ( [ 0 , 1 ] , w ) , where { Z j } are i.i.d. N ( 0 , 1 ) and { φ j } are the orthonormal eigenfunctions of K . Consequently,
T n = n ∫ 0 1 [ G ^ n ( t ) − G ( t ; ϑ ^ n ) ] 2 w ( t ) d t → d ∫ 0 1 W ( t ) 2 w ( t ) d t = ∑ j = 1 ∞ λ j Z j 2 ,
where { Z j } are independent standard normal variables and { λ j } (with ∑ j = 1 ∞ λ j < ∞ ) are the eigenvalues of K . Analogous derivations in related settings appear in [6] and [10].    □
Remark 8.
The limiting distribution in Theorem 1 depends on the unknown parameter ϑ 0 through the eigenvalues { λ j } , so critical values cannot be tabulated analytically. This is the primary motivation for using the parametric bootstrap, whose consistency is established in Proposition 8.
Proposition 7
(Consistency Against Fixed Alternatives). Suppose the true distribution of X does not belong to the PTPL family and has probability generating function G true ( t ) . Assume that:
(i) 
∫ 0 1 G true ( t ) − G ( t ; ϑ ) 2 w ( t ) d t > 0 for all ϑ ∈ Θ .
(ii) 
The parameter space Θ is compact and ϑ ↦ G ( t ; ϑ ) is continuous for each t ∈ [ 0 , 1 ] .
  • Then,
T n → a . s . ∞ , n → ∞ ,
and the proposed test is consistent against fixed alternatives.
Proof. 
By Proposition 5, G ^ n ( t ) → G true ( t ) uniformly almost surely. Since Θ is compact and ϑ ↦ ∫ 0 1 | G true ( t ) − G ( t ; ϑ ) | 2 w ( t ) d t is continuous, its infimum δ * > 0 is attained at some ϑ * ∈ Θ . Let ϑ ^ n converge to ϑ * (by compactness, convergence holds along subsequences, and the argument extends to almost sure convergence of the objective). Therefore,
n − 1 T n = ∫ 0 1 G ^ n ( t ) − G ( t ; ϑ ^ n ) 2 w ( t ) d t → a . s . δ * > 0 ,
and hence T n = n · n − 1 T n → a . s . ∞ . Similar consistency arguments can be found in the framework of empirical characteristic-function-based tests; see Baringhaus and Henze [13].    □
Remark 9.
The preceding propositions characterize the asymptotic behavior of the proposed test statistic under the null hypothesis and under fixed alternatives. The arguments rely on standard tools from empirical process theory, including uniform laws of large numbers, the continuous mapping theorem, and dominated convergence arguments applied to functionals of the empirical probability generating function. Similar quadratic-type goodness-of-fit statistics based on generating functions have been previously studied in related contexts; see, for example, Rueda, O’Reilly and Pérez-Abreu [6] and Henze [8] for early developments, as well as Baringhaus and Henze [13,32] for closely related approaches based on empirical characteristic and moment generating functions.
Proposition 8
(Bootstrap Validity). Under H 0 and Assumption 1, the parametric bootstrap consistently approximates the null distribution of T n . Specifically, if  T n * denotes the bootstrap counterpart of T n computed from a resample X 1 * , … , X n * ∼ iid PTPL ( ϑ ^ n ) , then
sup x P * ( T n * ≤ x ) − P ( T n ≤ x ) ⟶ p 0 , n → ∞ .
Proof. 
The statistic T n can be written as T n = φ ( n ( P n − P ϑ 0 ) , n ( ϑ ^ n − ϑ 0 ) ) , where φ is a Hadamard-differentiable functional of the empirical measure and the normalized estimator: it is a composition of the bounded linear evaluation map μ ↦ ∫ μ d w and a continuous quadratic functional on ℓ ∞ ( [ 0 , 1 ] ) , hence Hadamard-differentiable tangentially to ℓ ∞ ( [ 0 , 1 ] ) × R 3 ; see van der Vaart and Wellner [29], Lemma 3.9.27. Theorem 1 establishes the weak limit of this functional.
Under H 0 , the bootstrap data-generating distribution P ϑ ^ n satisfies ∥ ϑ ^ n − ϑ 0 ∥ = O p ( n − 1 / 2 ) by Proposition 4. Hence, the bootstrap empirical process n ( P n * − P ϑ ^ n ) has the same weak limit as n ( P n − P ϑ 0 ) by the parametric bootstrap theorem; see van der Vaart [21], Theorem 23.9, and Bickel and Freedman [33].
The Hadamard-differentiability of φ and the continuous mapping theorem then imply that the bootstrap distribution of T n * converges in probability to the same limit as T n , yielding the stated result. Analogous arguments appear in Henze [8] and Novoa-Muñoz and Jiménez-Gamero [10].    □
Remark 10.
For polynomial weight functions of the form w ( t ) = t a with a > − 1 , the test statistic T n defined in (4) admits an explicit closed-form representation that does not involve numerical integration. In particular, T n can be expressed as a finite sum depending on the sample observations and on the model probabilities, together with absolutely convergent series involving the PTPL probability mass function evaluated at the estimated parameter vector.
Although this closed-form expression is theoretically appealing and useful for analytical purposes, its direct implementation requires the evaluation of double sums of order O ( n 2 ) as well as infinite series that must be truncated in practice. As a consequence, the resulting computational cost becomes prohibitive in Monte Carlo and bootstrap studies. For this reason, and in line with previous contributions on PGF-based goodness-of-fit tests (see, e.g., Henze [8] and Rueda, O’Reilly and Pérez-Abreu [6]), the statistic is computed numerically via quadrature of (4), which proves to be substantially more efficient while yielding stable and accurate results.

7. Bootstrap Implementation

As established in Section 6, the asymptotic null distribution of the test statistic T n depends on unknown model parameters and involves a nonstandard limiting process. As a consequence, analytical critical values are not readily available. To overcome this difficulty, we adopt a parametric bootstrap procedure, which has proven effective for goodness-of-fit tests based on generating functions; see, for example, Henze [8] and Bickel and Freedman [33].
The bootstrap procedure is implemented under the null hypothesis H 0 , using the fitted Poisson–Three-Parameter Lindley model. Let ϑ ^ n = ( θ ^ n , α ^ n , β ^ n ) ⊤ denote a consistent estimator of the parameter vector, obtained for instance by maximum likelihood. The bootstrap algorithm proceeds as follows.

Maximum Likelihood Estimation for the PTPL Model

The maximum likelihood estimator ϑ ^ n is obtained by maximizing the log-likelihood function defined in Section 4.2.
Due to the nonlinear structure of the likelihood equations, closed-form expressions are not available, and numerical optimization methods are required. In practice, the estimator is obtained by maximizing ℓ n ( ϑ ) using constrained numerical optimization routines.
Remark 11.
Two complete algorithmic implementations of the parametric bootstrap procedure described in this section are provided in Appendix A. Algorithm A1 details the Monte Carlo evaluation of the empirical size of the proposed GOF-PGF test: data are generated under the null PTPL model, and the outputs are the empirical rejection rates err 90 and err 95 at the 10 % and 5 % nominal levels, respectively. Algorithm A2 details the corresponding evaluation of the empirical power: data are generated from an alternative distribution D ( ψ ) under H 1 , and the output is the empirical rejection rate β ^ α 0 at a prescribed nominal level α 0 . Both algorithms share the same inner bootstrap loop; see Remark A1 in Appendix A.

8. Monte Carlo Study

All simulations were carried out using the R version 4.5.2 programming language [28]. Given the large number of bootstrap replications required ( M × B evaluations of T n per experiment), computation time was reduced substantially by exploiting parallel computing. Specifically, the outer Monte Carlo loop was distributed across available processor cores using the parRapply parallelization routine, which applies a function in parallel over the rows of a matrix via R version 4.5.2’s built-in parallel package. This strategy, described in Novoa-Muñoz [34], proved particularly effective in the bootstrap-intensive inner loop of Algorithms A1 and A2, reducing wall-clock time by a factor proportional to the number of cores employed.

8.1. Empirical Size

Table 1 summarizes the twelve PTPL parameter configurations considered in the simulation study, together with the corresponding theoretical mean, variance, and dispersion index.
Table 1. Parameter configurations of the PTPL distribution used in the Monte Carlo study. E ( X ) , V ( X ) , and  DI = V ( X ) / E ( X ) are computed from the exact PMF. Configurations are ordered by increasing dispersion index.
Table 2 reports the empirical rejection rates α ^ 0.05 and α ^ 0.10 under H 0 , based on M = 1000 Monte Carlo replications and B = 500 bootstrap replications, for n ∈ { 50 , 100 , 150 , 200 , 500 } , a ∈ { 0 , 1 , 2 } , and the first six parameter configurations T 1 − T 6 listed in Table 1 (the remaining six configurations T 7 − T 12 are studied in Appendix B).
Table 2. Empirical size of the proposed GOF-PGF test for the PTPL distribution for parameter configurations T 1 − T 6 (dispersion index DI ∈ [ 1.37 , 3.18 ] ). Rejection rates α ^ 0.10 (nominal 10%) and α ^ 0.05 (nominal 5%) based on M = 1000 Monte Carlo replications and B = 500 bootstrap replications per sample. Entries close to the nominal level indicate accurate size control.
The results indicate that the bootstrap approximation is accurate even for the smaller sample sizes. In all cases, the empirical size is close to the nominal level, confirming the validity of the parametric bootstrap procedure established in Proposition 8. The configuration T 1 ( θ = 3.0 , α = 0.8 , β = 0.5 ) exhibits slightly elevated rejection rates for n = 50 (up to 0.112 at the 10 % nominal level, a mild inflation of approximately 1.2 percentage points above the nominal rate), which is consistent with the known sensitivity of bootstrap-based tests to parameter estimation uncertainty in small samples; this inflation diminishes monotonically as n increases, confirming asymptotic size control.
Additional Parameter Configurations for the Size Study. To provide a more comprehensive assessment of the proposed goodness-of-fit test, the simulation study was expanded by incorporating six additional parameter configurations. These new scenarios were selected to cover the full range of dispersion indices displayed in Figure 1, including cases exhibiting strong overdispersion ( DI > 11 ). Table 2 reports the empirical rejection rates at the 5% and 10% nominal levels for n ∈ { 50 , 100 , 150 , 200 , 500 } , a ∈ { 0 , 1 , 2 } , M = 1000 Monte Carlo replications, and  B = 500 bootstrap replications. The results presented in Appendix B confirm that the parametric bootstrap correctly controls the type I error rate across the full range of dispersion indices covered by the PTPL family, even under strong overdispersion (DI ≈ 12.0 – 59.4 ). A slight inflation (at most 0.015) is observed only for n = 50 in the most extreme configurations, which decreases monotonically as n increases, confirming asymptotic size control in accordance with Proposition 8.

8.2. Empirical Power

To assess the discriminatory ability of the proposed GOF-PGF test, we evaluate its empirical power against four families of count distributions that are commonly used as alternatives in the overdispersed count data literature. All experiments use the same settings as the size study: weight exponent a = 1 , sample size n = 250 , M = 1000 Monte Carlo replications, B = 500 bootstrap replications per sample, and nominal level α 0 = 0.05 . The empirical power at level α 0 is estimated as
β ^ 0.05 = 1 M ∑ m = 1 M 1 V P ¯ ( m ) ≤ 0.05 ,
where V P ¯ ( m ) is the bootstrap p-value obtained from the m-th Monte Carlo replicate; see Algorithm A2 in Section 7.
The four alternative distributions considered are:
  • D1—Poisson ( λ ), a strictly equidispersed model with dispersion index DI = 1 for all λ > 0 , representing the sharpest possible structural contrast with the PTPL family, which satisfies DI > 1 throughout its parameter space.
  • D2—Negative Binomial ( r , p ), an overdispersed model with DI = 1 / p . We fix r = 0.5 and vary p ∈ { 0.10 , 0.15 , 0.20 , 0.25 , 0.30 , 0.35 } , yielding DI ∈ { 10.00 , 6.67 , 5.00 , 4.00 , 3.33 , 2.86 } .
  • D3—COM-Poisson ( λ , ν ), a highly flexible count model that reduces to the Poisson when ν = 1 and is strongly overdispersed when ν ≪ 1  [20]. We fix ν = 0.1 and vary λ ∈ { 1.47 , 1.48 , 1.49 , 1.50 , 1.51 , 1.52 } . At ν = 0.1 , the resulting means range from approximately 51.7 to 70.4 with DI ∈ [ 9.07 , 9.33 ] , far beyond the DI range of the base configurations T 1 − T 6 ( DI ∈ [ 1.37 , 3.18 ] ), although overlapping moderately with the strongly overdispersed configurations T 9 − T 12 in Table 1 ( DI ∈ [ 10.39 , 59.33 ] ).
  • D4—Zero-Inflated Poisson ZIP ( λ , π ), in which DI = 1 + λ π ≥ 1 . Six configurations are evaluated, covering DI ∈ [ 1.25 , 2.40 ] and zero-inflation proportions π ∈ [ 0.10 , 0.70 ] .
The results are reported in Table 3.
Table 3. Empirical power β ^ 0.05 of the proposed GOF-PGF test against four alternative count distributions. Settings: n = 250 , a = 1 , M = 1000 Monte Carlo replications, B = 500 bootstrap replications, nominal level α 0 = 0.05 . μ , σ 2 , and  DI = σ 2 / μ are exact theoretical moments. Values β ^ 0.05 ≥ 0.95 are in bold; configurations with power < 0.90 are marked †.

8.3. Power Analysis Under Alternative Distributions

8.3.1. D1—Poisson Alternatives

All six Poisson configurations yield high empirical power, ranging from 0.967 at λ = 9.75 to 0.999 at λ = 10.0 , with a strictly monotone increasing pattern. Since the Poisson distribution is always equidispersed ( DI = 1 ) while the PTPL null has DI > 1 , the two families are structurally distinct regardless of λ . The high power at n = 250 confirms that the PGF-based test effectively exploits this difference in dispersion structure, consistent with the theoretical consistency result of Proposition 7.

8.3.2. D2—Negative Binomial Alternatives

The power decreases as p increases from 0.10 to 0.35 , corresponding to a decrease in DI NB = 1 / p from 10.00 to 2.86 . This is statistically natural: as DI NB approaches the PTPL null range [ 1.37 , 3.18 ] , discrimination becomes harder. At  p = 0.30 ( DI = 3.33 ) and p = 0.35 ( DI = 2.86 ), power drops to 0.867 and 0.823 , respectively. A minor non-monotonicity at p = 0.25 ( 0.993 ) compared to p = 0.20 ( 0.990 ) is attributable to Monte Carlo variability and does not affect the overall decreasing trend. Even the lowest value ( 0.823 ) exceeds the 0.70 threshold.

8.3.3. D3—COM-Poisson Alternatives

At ν = 0.1 , the COM-Poisson is strongly overdispersed ( DI ∈ [ 9.07 , 9.33 ] ), far from the PTPL null. The power exhibits a unimodal pattern as a function of λ , peaking at λ = 1.50 ( β ^ 0.05 = 1.000 ) and declining on both sides: 0.876 at λ = 1.47 and 0.879 at λ = 1.52 . This non-monotone pattern reflects the joint effect of changing mean and distribution shape: as λ increases, the empirical PGF shifts in a non-linear manner relative to the PTPL null, producing a unimodal power curve whose peak corresponds to the configuration where the PGF discrepancy T n is maximized. Although the dispersion indices vary only slightly, the associated means range from 51.7 to 70.4 , producing differences in the shape of the empirical PGF and hence in T n . For  λ ∈ { 1.49 , 1.50 , 1.51 } , power exceeds 0.99 .

8.3.4. D4—ZIP Alternatives

Power ranges from 0.901 to 1.000 . The configuration ZIP ( 2.0 , 0.70 ) , with the highest zero-inflation proportion among the evaluated cases, achieves perfect power. For fixed λ = 2.5 , power increases monotonically with π : 0.901 at π = 0.10 , 0.934 at π = 0.25 , and  0.979 at π = 0.40 , reflecting that larger zero-inflation creates mass concentration at zero that is difficult to reconcile with any PTPL fit.
Effect of sample size on power. To assess how power varies with sample size, the study has been extended to n ∈ { 100 , 250 , 500 } , in addition to the base case n = 250 . Across all four alternative families, power increases monotonically with n, as expected from the consistency result of Proposition 7. For the Negative Binomial alternatives with DI close to the PTPL null range (configurations marked † in Table 3), power at n = 100 is approximately 0.780–0.820, reaching 0.823–0.867 at n = 250 , and exceeding 0.95 for both configurations at n = 500 . For the remaining 22 configurations, power at n = 100 already exceeds 0.85 in most cases, confirming that the test is effective at moderate sample sizes. These results are consistent with the theoretical consistency of the test (Proposition 7) and confirm that n = 250 provides a representative benchmark for the power comparisons reported in Table 3.

8.3.5. Overall Assessment

Across all 24 configurations, empirical power ranges from 0.823 to 1.000 with mean 0.960 . Twenty out of 24 configurations ( 83.3 % ) yield power exceeding 0.90 , and 17 out of 24 ( 70.8 % ) exceed 0.95 . Perfect power ( 1.000 ) is achieved for NB ( 0.5 , 0.10 ) , CMP ( 1.50 , 0.10 ) , and  ZIP ( 2.0 , 0.70 ) . The only two configurations below 0.90 are NB ( 0.5 , 0.30 ) and NB ( 0.5 , 0.35 ) , both with DI NB ∈ { 3.33 , 2.86 } overlapping with the upper end of the PTPL null dispersion range—precisely the region where any consistent GOF test faces inherently greater difficulty. These results confirm that the proposed test possesses strong discriminatory power against all four alternative families at n = 250 .

9. Real Data Application

To assess the practical utility of the proposed goodness-of-fit test, we apply it to five overdispersed count datasets drawn from industrial safety, biology, reliability, and retail commerce. For each dataset, the PTPL model is fitted by maximum likelihood and the GOF-PGF test is performed with weight exponent a = 1 and B = 999 parametric bootstrap replications at the 5 % nominal level. For comparison, the Poisson, Negative Binomial, COM-Poisson [20], and Zero-Inflated Poisson (ZIP) models are also fitted; the resulting log-likelihoods, AIC values, and Pearson chi-square goodness-of-fit statistics are reported in Table 4.
Table 4. Comparison of fitted count models for the five real datasets. For each model: log-likelihood ( log L ^ ), AIC, Pearson chi-square ( χ 2 ) with degrees of freedom and associated p-value ( p χ 2 ). The last row per dataset reports the observed statistic T n obs and bootstrap p-value ( p PGF , B = 999 ) of the proposed GOF-PGF test applied to the PTPL model ( a = 1 ). The best AIC per dataset appears in bold.
The five datasets are described as follows.
  • D1—Industrial accidents [35]. Number of accidents suffered by n = 645 female munitions workers during a twelve-week period, originally analyzed by Greenwood and Yule [35] and subsequently used as a standard benchmark for overdispersed count models. The sample mean is x ¯ = 0.4512 , the sample variance is s 2 = 0.6300 , and the empirical dispersion index is DI = s 2 / x ¯ = 1.3964 , confirming mild overdispersion relative to the Poisson model.
  • D2—European corn borer larvae [36]. Number of Pyrausta nubilalis (Hübner) larvae per maize plant recorded by McGuire, Brindley and Bancroft [36] ( n = 80 , x ¯ = 1.8375 , s 2 = 4.7707 , DI = 2.5963 ). This dataset exhibits moderate overdispersion and has been widely used to evaluate flexible count distributions; see, e.g., Das et al. [19].
  • D3—European red mites on apple leaves [37]. Number of Panonychus ulmi (Koch) mites per apple leaf observed by Garman [37] ( n = 150 , x ¯ = 1.1467 , s 2 = 2.2736 , DI = 1.9828 ).
  • D4—Deaths by horse kicks, Prussian army [38]. The classic dataset due to von Bortkiewicz [38], recording the number of soldiers killed by horse kicks per cavalry corps-year ( n = 280 corps-year units, x ¯ = 0.7000 , s 2 = 0.7627 , DI = 1.0896 ). Although this dataset is only marginally overdispersed, it is included as a near-equidispersed benchmark to examine the calibration of the test under near-Poisson conditions.
  • D5—Products purchased per customer, Black Friday [39]. A contemporary retail dataset freely available on Kaggle [39], comprising 550 , 069 transactions recorded at an ABC Pvt Ltd retail store during a Black Friday sales event. The count variable of interest is the number of distinct products purchased per unique customer, derived by grouping the raw transaction file by User_ID and counting the number of distinct Product_ID values per user. This yields n = 5891 customer-level observations with x ¯ = 4.3852 , s 2 = 8.3292 , and  DI = 1.8994 , confirming moderate overdispersion. To the best of our knowledge, this is the first application of a PTPL-based model to a Black Friday e-commerce count variable.
Joint interpretation of the three model assessment criteria. Table 4 reports three complementary criteria for each fitted model: the Akaike information criterion (AIC), the Pearson chi-square statistic with its p-value, and the proposed GOF-PGF test statistic T n with its bootstrap p-value. These criteria serve distinct inferential purposes and should be interpreted jointly. The AIC is a relative model selection criterion: it ranks competing models on a common scale penalized for complexity, but does not provide an absolute assessment of goodness of fit and does not control the type I error. The Pearson chi-square statistic tests absolute fit via cell-level residuals, but requires arbitrary cell grouping, depends on sample size, and may be unreliable for three-parameter models with sparse cells. The GOF-PGF test assesses absolute fit of the PTPL model specifically, with correct type I error control (Proposition 8) and consistent power against departures from the PTPL family (Proposition 7).
When the three criteria agree—as for datasets D1–D4—inference is straightforward. When they lead to different conclusions, the following interpretive hierarchy is recommended. First, use the AIC for relative model selection: the model with the lowest AIC is preferred, regardless of the absolute p-values. Second, use the GOF-PGF test to assess whether the selected PTPL model provides an adequate absolute fit. Third, in large samples ( n ≳ 2000 ), any consistent goodness-of-fit test will eventually reject every finite-parameter model, since no parametric family fits arbitrarily many observations exactly; in this regime the p-value should be treated as a diagnostic tool rather than a binary decision criterion [40]. For dataset D5 ( n = 5891 ), the PTPL model achieves the best AIC among all five candidates, and its Pearson residuals are the smallest across models; the rejection by the GOF-PGF test reflects the high sensitivity of any consistent test at this sample size rather than a substantive inadequacy of the PTPL fit.
The MLE estimates, fit statistics, and test results for all five datasets are summarized in Table 4. The main findings are as follows.
For D1 (industrial accidents), the Poisson model is clearly rejected by the chi-square criterion ( χ 2 = 59.127 , p < 0.001 ), reflecting the presence of overdispersion. The Negative Binomial, COM-Poisson, ZIP, and PTPL models all provide substantially better fits, with ZIP achieving the lowest AIC ( 1162.34 ). The proposed GOF-PGF test does not reject the PTPL model ( T n obs = 0.000520 , p PGF = 0.3013 ), confirming that the PTPL distribution provides an adequate fit to this dataset.
For D2 (Pyrausta nubilalis larvae), the Poisson model is again strongly rejected ( χ 2 = 65.187 , p < 0.001 ). The Negative Binomial achieves the best AIC ( 298.10 ) and is not rejected by the chi-square test ( p = 0.7243 ). The PTPL model, with AIC = 300.57 , provides a competitive fit and is not rejected by the proposed test ( T n obs = 0.015200 , p PGF = 0.1341 ).
For D3 (European red mites), the COM-Poisson achieves the lowest AIC ( 448.80 ), closely followed by the Negative Binomial ( 448.87 ) and the PTPL ( 450.77 ). The Poisson model is strongly rejected. ZIP performs noticeably worse for this dataset ( AIC = 456.87 , p χ 2 = 0.0155 ). The proposed test does not reject the PTPL fit ( T n obs = 0.000560 , p PGF = 0.4785 ), further supporting its adequacy as a flexible count model.
For D4 (horse-kick deaths), the dataset is nearly equidispersed ( DI = 1.09 ) and all five models provide adequate fits. The Poisson model achieves the best AIC ( 630.31 ), and none of the competing models offer a meaningful improvement. The GOF-PGF test does not reject PTPL ( T n obs = 0.000040 , p PGF = 0.6176 ). This result is consistent with the theoretical finding that the test maintains correct size under the null hypothesis even in near-equidispersed scenarios.
For D5 (Black Friday retail counts), the PTPL model achieves the best AIC among all five competing models ( 27 , 391.94 ), outperforming the Negative Binomial ( 27 , 841.93 ), COM-Poisson ( 28 , 009.34 ), and Poisson ( 29 , 237.00 ). The ZIP model degenerates to the Poisson in this case ( π ^ = 0 ), as the dataset contains no structural zeros. The estimated parameters are θ ^ = 0.5218 , α ^ = − 1.1592 , and  β ^ = 1.8248 , all satisfying the admissibility condition α ≥ − β / ( 1 + θ ) (here, − β / ( 1 + θ ) = − 1.1991 , so α ^ = − 1.1592 > − 1.1991 ). Although the large sample size ( n = 5891 ) leads to significant chi-square values for all models, the PTPL chi-square residuals are the smallest across all alternatives, and a visual inspection of the observed versus expected frequencies confirms a markedly better fit at all count values x ≥ 3 . The GOF-PGF test yields T n obs = 0.770582 with a bootstrap p-value of 0.0202 ( B = 999 ), suggesting that the PTPL model, while the best available among the candidates, is statistically rejected at the 5 % level for this very large dataset, which is expected given the high sensitivity of any consistent test with n ≈ 6000 observations. This result illustrates that, in large samples, the GOF-PGF test retains discriminatory power, and that the choice of model should be informed by both the p-value and the AIC criterion.
Taken together, the results across five diverse datasets confirm that the PTPL distribution provides a flexible and competitive fit for overdispersed count data arising in different applied domains, and that the proposed GOF-PGF test correctly identifies adequate fits (D1–D4) while retaining power to detect departures from the null model in large samples (D5).
Remark 12.
(Large-sample interpretation of p-values). For very large samples ( n ≈ 6000 ), any consistent goodness-of-fit test will eventually reject every parametric model, since no finite-parameter family fits arbitrarily many observations exactly. The rejection of the PTPL model for D5 ( p PGF = 0.0202 ) should therefore be interpreted in conjunction with the AIC ranking, which confirms the PTPL as the best-fitting model among all candidates. In practice, the choice of model in large samples should be guided primarily by information criteria and subject-matter considerations, with the p-value serving as a diagnostic tool rather than a definitive criterion [40].

10. Discussion

The proposed PGF-based goodness-of-fit test for the PTPL distribution fills a methodological gap identified in the current literature on flexible count models. The test has three notable strengths: (i) it exploits the closed-form PGF of the PTPL distribution, yielding a computationally efficient statistic evaluated by numerical quadrature; (ii) it is theoretically grounded, with consistency against fixed alternatives (Proposition 7) and a rigorous weak limit theorem (Theorem 1); (iii) its null distribution is consistently approximated by the parametric bootstrap (Proposition 8), avoiding the need for analytically intractable critical values.
The simulation study confirms reliable size control across a wide range of sample sizes and parameter configurations. The choice of weight exponent a = 1 is recommended as a practical default, as it consistently balances type I error control and power.
Future research directions include:
  • Local power analysis. Deriving the asymptotic power of T n against Pitman sequences G 1 , n ( t ) = G ( t ; ϑ 0 ) + n − 1 / 2 h ( t ) would characterize the rate at which the test detects local alternatives and enable comparison with minimax-optimal procedures.
  • Multivariate and zero-inflated extensions. The PGF approach extends naturally to multivariate PTPL models and to zero-inflated variants, following the framework of Novoa-Muñoz and Jiménez-Gamero [9].
  • Model selection. Combining the proposed test with information criteria (AIC, BIC) and minimum-distance PGF estimators [41] may yield more robust model selection procedures for overdispersed count data.
  • Truncated and censored data. Extensions to zero-truncated or right-censored count data, common in reliability and actuarial applications, constitute a natural avenue for future work.

11. Conclusions

This paper has proposed and studied a new goodness-of-fit test for the Poisson–Three-Parameter Lindley distribution based on a Cramér–von Mises type distance between the empirical and theoretical probability generating functions. The test statistic has a closed-form representation, is consistent against fixed alternatives, and its null distribution can be consistently approximated by the parametric bootstrap. Monte Carlo simulations confirm accurate size control and competitive power against several relevant alternatives. The real data application demonstrates the practical utility of the proposed procedure.

Funding

This paper is funded in part by the Universidad del Bío-Bío Project GI2611708, Dirección de Investigación y Creación Artística (Fondo de Apoyo a la Participación a Eventos Internacionales) and Vicerrectoría Académica.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The author thanks the editor and the three anonymous reviewers for their careful reading and constructive comments, which led to significant improvements in both the theoretical and empirical content of the manuscript.

Conflicts of Interest

The author declares no conflicts of interest.

Appendix A. Algorithmic Descriptions of the Bootstrap Procedure

This appendix provides the pseudocode for the two Monte Carlo procedures used in Section 8. Algorithm A1 evaluates the empirical size of the proposed GOF-PGF test by simulating under the null PTPL model. Algorithm A2 evaluates the empirical power by simulating under each of the four alternative distributions considered in Section 8.2. Both algorithms employ the parametric bootstrap procedure established in Proposition 8 and described in Section 7.
Remark A1.
Algorithms A1 and A2 share the same inner bootstrap loop (Steps 3–4 in both algorithms). The sole structural difference lies in Step 1: Algorithm A1 draws X ( m ) from the null PTPL model, thereby evaluating the empirical size of the test via err 90 and err 95 ; whereas Algorithm A2 draws X ( m ) from the alternative distribution D ( ψ ) under H 1 , evaluating the empirical power via β ^ α 0 . In both cases, the bootstrap resamples in Step 3 are drawn from PTPL ( ϑ ^ n ( m ) ) , consistently with the parametric bootstrap framework of Proposition 8.
Algorithm A1: Parametric Bootstrap Procedure for the PTPL GOF Test (with parallelization)
Mathematics 14 02308 i001
Algorithm A2: Power Estimation via Parametric Bootstrap (GOF-PGF Test, with parallelization)
Mathematics 14 02308 i002

Appendix B. Empirical Size Results for Parameter Configurations T7–T12 Under Strong Overdispersion

This appendix reports the empirical Type I error rates for the six additional PTPL parameter configurations T 7 − T 12 introduced in Table 1, which extend the dispersion index range beyond that covered by the original configurations T 1 − T 6 . These configurations were selected to cover the full spectrum of overdispersion exhibited by the PTPL family, including scenarios of strong overdispersion ( DI > 11 ) that correspond to the distributional shapes displayed in the bottom row of Figure 1.
Table A1. Empirical size of the proposed GOF-PGF test for the PTPL distribution for parameter configurations T 7 − T 12 (dispersion index DI ∈ [ 3.69 , 59.33 ] ), including configurations with strong overdispersion ( DI > 11 ). Rejection rates α ^ 0.10 (nominal 10%) and α ^ 0.05 (nominal 5%) based on M = 1000 Monte Carlo replications and B = 500 bootstrap replications per sample. Entries close to the nominal level indicate accurate size control even under strong overdispersion.

References

  1. Fisher, R.A. On the Interpretation of χ2 from Contingency Tables, and the Calculation of P. J. R. Stat. Soc. 1922, 85, 87–94. [Google Scholar] [CrossRef] [Scilit]
  2. Cochran, W.G. The χ2 test of goodness of fit. Ann. Math. Stat. 1952, 23, 315–345. [Google Scholar] [CrossRef] [Scilit]
  3. Greenwood, P.E.; Nikulin, M.S. A Guide to Chi-Squared Testing; Wiley: New York, NY, USA, 1996. [Google Scholar]
  4. Read, T.R.C.; Cressie, N.A.C. Goodness-of-Fit Statistics for Discrete Multivariate Data; Springer: New York, NY, USA, 1988. [Google Scholar]
  5. Cressie, N. Statistics for Spatial Data; Wiley: Hoboken, NJ, USA, 1992. [Google Scholar]
  6. Rueda, R.; O’Reilly, F.; Pérez-Abreu, V. Goodness of fit for the poisson distribution based on the probability generating function. Commun.-Stat. Theory Methods 1991, 20, 3093–3110. [Google Scholar] [CrossRef] [Scilit]
  7. Henze, N. Empirical-distribution-function goodness-of-fit tests for discrete models. Can. J. Stat. 1996, 24, 81–93. [Google Scholar] [CrossRef] [Scilit]
  8. Henze, N. Goodness-of-fit tests for discrete distributions based on generating functions. Stat. Probab. Lett. 2001, 54, 41–50. [Google Scholar]
  9. Novoa-Muñoz, F.; Jiménez-Gamero, M.D. A goodness-of-fit test for the multivariate Poisson distribution. Stat. Oper. Res. Trans. 2016, 40, 113–138. [Google Scholar]
  10. Novoa-Muñoz, F.; Jiménez-Gamero, M.D. Testing for the bivariate Poisson distribution. Metrika 2014, 77, 771–793. [Google Scholar]
  11. Novoa-Muñoz, F. Goodness-of-fit tests for the bivariate Poisson distribution. Commun. Stat. Simul. Comput. 2019, 50, 1998–2014. [Google Scholar] [CrossRef] [Scilit]
  12. Nikitin, Y. Asymptotic Efficiency of Nonparametric Tests; Cambridge University Press: Cambridge, UK, 1995. [Google Scholar]
  13. Baringhaus, L.; Henze, N. A consistent test for multivariate normality based on the empirical characteristic function. J. Multivar. Anal. 2004, 88, 152–170. [Google Scholar] [CrossRef] [Scilit]
  14. Novoa-Muñoz, F. Tests de Bondad de Ajuste para la Distribución Poisson Bivariante. arXiv 2018, arXiv:1808.10777. [Google Scholar]
  15. Johnson, N.L.; Kemp, A.W.; Kotz, S. Univariate Discrete Distributions, 3rd ed.; Wiley: Hoboken, NJ, USA, 2005. [Google Scholar]
  16. Sankaran, M. The discrete Poisson–Lindley distribution. Biometrics 1970, 26, 145–149. [Google Scholar] [CrossRef] [Scilit]
  17. Ghitany, M.E.; Al-Mutairi, D.K.; Nadarajah, S. Zero-truncated Poisson-Lindley distribution and its application. Math. Comput. Simul. 2008, 79, 279–287. [Google Scholar] [CrossRef] [Scilit]
  18. Mahmoudi, E.; Zakerzadeh, H. Generalized Poisson-Lindley distribution. Commun. Stat.-Theory Methods 2010, 39, 1785–1798. [Google Scholar] [CrossRef] [Scilit]
  19. Das, K.; Ahmed, I.; Bhattacharjee, S. A new three-parameter Poisson–Lindley distribution for modelling over-dispersed count data. Int. J. Appl. Eng. Res. 2018, 13, 16468–16477. [Google Scholar]
  20. Shmueli, G.; Minka, T.P.; Kadane, J.B.; Borle, S.; Boatwright, P. A useful distribution for fitting discrete data: Revival of the COM-Poisson distribution. J. R. Stat. Soc. Ser. C 2005, 54, 127–142. [Google Scholar] [CrossRef] [Scilit]
  21. van der Vaart, A.W. Asymptotic Statistics; Cambridge University Press: Cambridge, UK, 1998. [Google Scholar]
  22. Shanker, R.; Shukla, K.; Shanker, R.; Tekie, A.L. A three-parameter Lindley distribution. Am. J. Math. Stat. 2017, 7, 15–26. [Google Scholar]
  23. Billingsley, P. Probability and Measure, 3rd ed.; Wiley: New York, NY, USA, 1995. [Google Scholar]
  24. Teicher, H. Identifiability of mixtures. Ann. Math. Stat. 1961, 32, 244–248. [Google Scholar] [CrossRef] [Scilit]
  25. Wald, A. Note on the consistency of the maximum likelihood estimate. Ann. Math. Stat. 1949, 20, 595–601. [Google Scholar] [CrossRef] [Scilit]
  26. Casella, G.; Berger, R.L. Statistical Inference, 2nd ed.; Duxbury Press: Pacific Grove, CA, USA, 2002. [Google Scholar]
  27. Lehmann, E.L.; Casella, G. Theory of Point Estimation, 2nd ed.; Springer: New York, NY, USA, 1998. [Google Scholar]
  28. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2025; Available online: https://www.R-project.org/ (accessed on 28 January 2026).
  29. van der Vaart, A.W.; Wellner, J.A. Weak Convergence and Empirical Processes; Springer: New York, NY, USA, 1996. [Google Scholar]
  30. Chow, Y.S.; Teicher, H. Probability Theory: Independence, Interchangeability, Martingales; Springer: New York, NY, USA, 1997. [Google Scholar]
  31. Royden, H.L.; Fitzpatrick, P.M. Real Analysis, 4th ed.; Pearson: Boston, MA, USA, 2010. [Google Scholar]
  32. Baringhaus, L.; Henze, N. A goodness of fit test for the Poisson distribution based on the empirical generating function. Stat. Probab. Lett. 1992, 13, 269–274. [Google Scholar] [CrossRef] [Scilit]
  33. Bickel, P.J.; Freedman, D.A. Some asymptotic theory for the bootstrap. Ann. Stat. 1981, 9, 1196–1217. [Google Scholar] [CrossRef] [Scilit]
  34. Novoa-Muñoz, F. Implementation of a Parallel Algorithm to Simulate the Type I Error Probability. Mathematics 2024, 12, 1686. [Google Scholar] [CrossRef] [Scilit]
  35. Greenwood, M.; Yule, G.U. An inquiry into the nature of frequency distributions representative of multiple happenings with particular reference to the occurrence of multiple attacks of disease or of repeated accidents. J. R. Stat. Soc. 1920, 83, 255–279. [Google Scholar] [CrossRef] [Scilit]
  36. McGuire, J.U.; Brindley, T.A.; Bancroft, T.A. The distribution of European corn borer larvae Pyrausta nubilalis (Hbn.) in field corn. Biometrics 1957, 13, 65–78. [Google Scholar] [CrossRef] [Scilit]
  37. Garman, P. Mite Species on Apple Trees in Connecticut; Bulletin 535; Connecticut Agricultural Experiment Station: New Haven, CT, USA, 1951. [Google Scholar]
  38. von Bortkiewicz, L. Das Gesetz der Kleinen Zahlen; Teubner: Leipzig, Germany, 1898. [Google Scholar]
  39. ABC Pvt Ltd and Analytics Vidhya. Black Friday Sales Dataset. Kaggle. 2019. Available online: https://www.kaggle.com/datasets (accessed on 10 May 2026).
  40. Gelman, A.; Carlin, J.B.; Stern, H.S.; Dunson, D.B.; Vehtari, A.; Rubin, D.B. Bayesian Data Analysis, 3rd ed.; CRC Press: Boca Raton, FL, USA, 2013. [Google Scholar]
  41. Jiménez-Gamero, M.D.; Batsidis, A. Minimum distance estimators for count data based on the probability generating function with applications. Metrika 2017, 80, 503–545. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.