In probability theory and statistics, the Conway–Maxwell–Poisson (CMP or COM–Poisson) distribution is a discrete probability distribution named after Richard W. Conway, William L. Maxwell, and Siméon Denis Poisson that generalizes the Poisson distribution by adding a parameter to model overdispersion and underdispersion. It is a member of the exponential family,[1] has the Poisson distribution and geometric distribution as special cases and the Bernoulli distribution as a limiting case.[2]
The CMP distribution was originally proposed by Conway and Maxwell in 1962[3] as a solution to handling queueing systems with state-dependent service rates. The CMP distribution was introduced into the statistics literature by Boatwright et al. 2003 [4] and Shmueli et al. (2005).[2] The first detailed investigation into the probabilistic and statistical properties of the distribution was published by Shmueli et al. (2005).[2] Some theoretical probability results of COM-Poisson distribution is studied and reviewed by Li et al. (2019),[5] especially the characterizations of COM-Poisson distribution.
The CMP distribution is defined to be the distribution with probability mass function
where :
The function Z ( λ , ν ) {\displaystyle Z(\lambda ,\nu )} serves as a normalization constant so the probability mass function sums to one. Note that Z ( λ , ν ) {\displaystyle Z(\lambda ,\nu )} does not have a closed form.
The domain of admissible parameters is λ , ν > 0 {\displaystyle \lambda ,\nu >0} , and 0 < λ < 1 {\displaystyle 0<\lambda <1} , ν = 0 {\displaystyle \nu =0} .
The additional parameter ν {\displaystyle \nu } which does not appear in the Poisson distribution allows for adjustment of the rate of decay. This rate of decay is a non-linear decrease in ratios of successive probabilities, specifically
When ν = 1 {\displaystyle \nu =1} , the CMP distribution becomes the standard Poisson distribution and as ν → ∞ {\displaystyle \nu \to \infty } , the distribution approaches a Bernoulli distribution with parameter λ / ( 1 + λ ) {\displaystyle \lambda /(1+\lambda )} . When ν = 0 {\displaystyle \nu =0} the CMP distribution reduces to a geometric distribution with probability of success 1 − λ {\displaystyle 1-\lambda } provided λ < 1 {\displaystyle \lambda <1} .[2]
For the CMP distribution, moments can be found through the recursive formula [2]
For general ν {\displaystyle \nu } , there does not exist a closed form formula for the cumulative distribution function of X ∼ C M P ( λ , ν ) {\displaystyle X\sim \mathrm {CMP} (\lambda ,\nu )} . If ν ≥ 1 {\displaystyle \nu \geq 1} is an integer, we can, however, obtain the following formula in terms of the generalized hypergeometric function:[6]
Many important summary statistics, such as moments and cumulants, of the CMP distribution can be expressed in terms of the normalizing constant Z ( λ , ν ) {\displaystyle Z(\lambda ,\nu )} .[2][7] Indeed, The probability generating function is E s X = Z ( s λ , ν ) / Z ( λ , ν ) {\displaystyle \operatorname {E} s^{X}=Z(s\lambda ,\nu )/Z(\lambda ,\nu )} , and the mean and variance are given by
The cumulant generating function is
and the cumulants are given by
Whilst the normalizing constant Z ( λ , ν ) = ∑ i = 0 ∞ λ i ( i ! ) ν {\displaystyle Z(\lambda ,\nu )=\sum _{i=0}^{\infty }{\frac {\lambda ^{i}}{(i!)^{\nu }}}} does not in general have a closed form, there are some noteworthy special cases:
Because the normalizing constant does not in general have a closed form, the following asymptotic expansion is of interest. Fix ν > 0 {\displaystyle \nu >0} . Then, as λ → ∞ {\displaystyle \lambda \rightarrow \infty } ,[8]
where the c j {\displaystyle c_{j}} are uniquely determined by the expansion
In particular, c 0 = 1 {\displaystyle c_{0}=1} , c 1 = ν 2 − 1 24 {\displaystyle c_{1}={\frac {\nu ^{2}-1}{24}}} , c 2 = ν 2 − 1 1152 ( ν 2 + 23 ) {\displaystyle c_{2}={\frac {\nu ^{2}-1}{1152}}\left(\nu ^{2}+23\right)} . Further coefficients are given in.[8]
For general values of ν {\displaystyle \nu } , there does not exist closed form formulas for the mean, variance and moments of the CMP distribution. We do, however, have the following neat formula.[7] Let ( j ) r = j ( j − 1 ) ⋯ ( j − r + 1 ) {\displaystyle (j)_{r}=j(j-1)\cdots (j-r+1)} denote the falling factorial. Let X ∼ C M P ( λ , ν ) {\displaystyle X\sim \mathrm {CMP} (\lambda ,\nu )} , λ , ν > 0 {\displaystyle \lambda ,\nu >0} . Then
for r ∈ N {\displaystyle r\in \mathbb {N} } .
Since in general closed form formulas are not available for moments and cumulants of the CMP distribution, the following asymptotic formulas are of interest. Let X ∼ C M P ( λ , ν ) {\displaystyle X\sim \mathrm {CMP} (\lambda ,\nu )} , where ν > 0 {\displaystyle \nu >0} . Denote the skewness γ 1 = κ 3 σ 3 {\displaystyle \gamma _{1}={\frac {\kappa _{3}}{\sigma ^{3}}}} and excess kurtosis γ 2 = κ 4 σ 4 {\displaystyle \gamma _{2}={\frac {\kappa _{4}}{\sigma ^{4}}}} , where σ 2 = V a r ( X ) {\displaystyle \sigma ^{2}=\mathrm {Var} (X)} . Then, as λ → ∞ {\displaystyle \lambda \rightarrow \infty } ,[8]
where
The asymptotic series for κ n {\displaystyle \kappa _{n}} holds for all n ≥ 2 {\displaystyle n\geq 2} , and κ 1 = E X {\displaystyle \kappa _{1}=\operatorname {E} X} .
When ν {\displaystyle \nu } is an integer explicit formulas for moments can be obtained. The case ν = 1 {\displaystyle \nu =1} corresponds to the Poisson distribution. Suppose now that ν = 2 {\displaystyle \nu =2} . For m ∈ N {\displaystyle m\in \mathbb {N} } ,[7]
where I r ( x ) {\displaystyle I_{r}(x)} is the modified Bessel function of the first kind.
Using the connecting formula for moments and factorial moments gives
In particular, the mean of X {\displaystyle X} is given by
Also, since E X 2 = λ {\displaystyle \operatorname {E} X^{2}=\lambda } , the variance is given by
Suppose now that ν ≥ 1 {\displaystyle \nu \geq 1} is an integer. Then [6]
In particular,
and
V a r ( X ) = λ 2 2 ν − 1 0 F ν − 1 ( ; 3 , … , 3 ; λ ) 0 F ν − 1 ( ; 1 , … , 1 ; λ ) + E [ X ] − ( E [ X ] ) 2 . {\displaystyle \mathrm {Var} (X)={\frac {\lambda ^{2}}{2^{\nu -1}}}{\frac {_{0}F_{\nu -1}(;3,\ldots ,3;\lambda )}{_{0}F_{\nu -1}(;1,\ldots ,1;\lambda )}}+\operatorname {E} [X]-(\operatorname {E} [X])^{2}.}
Let X ∼ C M P ( λ , ν ) {\displaystyle X\sim \mathrm {CMP} (\lambda ,\nu )} . Then the mode of X {\displaystyle X} is ⌊ λ 1 / ν ⌋ {\displaystyle \lfloor \lambda ^{1/\nu }\rfloor } if λ 1 / ν < m {\displaystyle \lambda ^{1/\nu }<m} is not an integer. Otherwise, the modes of X {\displaystyle X} are λ 1 / ν {\displaystyle \lambda ^{1/\nu }} and λ 1 / ν − 1 {\displaystyle \lambda ^{1/\nu }-1} .[7]
The mean deviation of X ν {\displaystyle X^{\nu }} about its mean λ {\displaystyle \lambda } is given by [7]
No explicit formula is known for the median of X {\displaystyle X} , but the following asymptotic result is available.[7] Let m {\displaystyle m} be the median of X ∼ CMP ( λ , ν ) {\displaystyle X\sim {\mbox{CMP}}(\lambda ,\nu )} . Then
as λ → ∞ {\displaystyle \lambda \rightarrow \infty } .
Let X ∼ CMP ( λ , ν ) {\displaystyle X\sim {\mbox{CMP}}(\lambda ,\nu )} , and suppose that f : Z + ↦ R {\displaystyle f:\mathbb {Z} ^{+}\mapsto \mathbb {R} } is such that E | f ( X + 1 ) | < ∞ {\displaystyle \operatorname {E} |f(X+1)|<\infty } and E | X ν f ( X ) | < ∞ {\displaystyle \operatorname {E} |X^{\nu }f(X)|<\infty } . Then
Conversely, suppose now that W {\displaystyle W} is a real-valued random variable supported on Z + {\displaystyle \mathbb {Z} ^{+}} such that E [ λ f ( W + 1 ) − W ν f ( W ) ] = 0 {\displaystyle \operatorname {E} [\lambda f(W+1)-W^{\nu }f(W)]=0} for all bounded f : Z + ↦ R {\displaystyle f:\mathbb {Z} ^{+}\mapsto \mathbb {R} } . Then W ∼ CMP ( λ , ν ) {\displaystyle W\sim {\mbox{CMP}}(\lambda ,\nu )} .[7]
Let Y n {\displaystyle Y_{n}} have the Conway–Maxwell–binomial distribution with parameters n {\displaystyle n} , p = λ / n ν {\displaystyle p=\lambda /n^{\nu }} and ν {\displaystyle \nu } . Fix λ > 0 {\displaystyle \lambda >0} and ν > 0 {\displaystyle \nu >0} . Then, Y n {\displaystyle Y_{n}} converges in distribution to the C M P ( λ , ν ) {\displaystyle \mathrm {CMP} (\lambda ,\nu )} distribution as n → ∞ {\displaystyle n\rightarrow \infty } .[7] This result generalises the classical Poisson approximation of the binomial distribution. More generally, the CMP distribution arises as a limiting distribution of Conway–Maxwell–Poisson binomial distribution.[7] Apart from the fact that COM-binomial approximates to COM-Poisson, Zhang et al. (2018)[9] illustrates that COM-negative binomial distribution with probability mass function
convergents to a limiting distribution which is the COM-Poisson, as r → + ∞ {\displaystyle {r\to +\infty }} .
There are a few methods of estimating the parameters of the CMP distribution from the data. Two methods will be discussed: weighted least squares and maximum likelihood. The weighted least squares approach is simple and efficient but lacks precision. Maximum likelihood, on the other hand, is precise, but is more complex and computationally intensive.
The weighted least squares provides a simple, efficient method to derive rough estimates of the parameters of the CMP distribution and determine if the distribution would be an appropriate model. Following the use of this method, an alternative method should be employed to compute more accurate estimates of the parameters if the model is deemed appropriate.
This method uses the relationship of successive probabilities as discussed above. By taking logarithms of both sides of this equation, the following linear relationship arises
where p x {\displaystyle p_{x}} denotes Pr ( X = x ) {\displaystyle \Pr(X=x)} . When estimating the parameters, the probabilities can be replaced by the relative frequencies of x {\displaystyle x} and x − 1 {\displaystyle x-1} . To determine if the CMP distribution is an appropriate model, these values should be plotted against log x {\displaystyle \log x} for all ratios without zero counts. If the data appear to be linear, then the model is likely to be a good fit.
Once the appropriateness of the model is determined, the parameters can be estimated by fitting a regression of log ( p ^ x − 1 / p ^ x ) {\displaystyle \log({\hat {p}}_{x-1}/{\hat {p}}_{x})} on log x {\displaystyle \log x} . However, the basic assumption of homoscedasticity is violated, so a weighted least squares regression must be used. The inverse weight matrix will have the variances of each ratio on the diagonal with the one-step covariances on the first off-diagonal, both given below.
The CMP likelihood function is
where S 1 = ∑ i = 1 n x i {\displaystyle S_{1}=\sum _{i=1}^{n}x_{i}} and S 2 = ∑ i = 1 n log x i ! {\displaystyle S_{2}=\sum _{i=1}^{n}\log x_{i}!} . Maximizing the likelihood yields the following two equations
which do not have an analytic solution.
Instead, the maximum likelihood estimates are approximated numerically by the Newton–Raphson method. In each iteration, the expectations, variances, and covariance of X {\displaystyle X} and log X ! {\displaystyle \log X!} are approximated by using the estimates for λ {\displaystyle \lambda } and ν {\displaystyle \nu } from the previous iteration in the expression
This is continued until convergence of λ ^ {\displaystyle {\hat {\lambda }}} and ν ^ {\displaystyle {\hat {\nu }}} .
The basic CMP distribution discussed above has also been used as the basis for a generalized linear model (GLM) using a Bayesian formulation. A dual-link GLM based on the CMP distribution has been developed,[10] and this model has been used to evaluate traffic accident data.[11][12] The CMP GLM developed by Guikema and Coffelt (2008) is based on a reformulation of the CMP distribution above, replacing λ {\displaystyle \lambda } with μ = λ 1 / ν {\displaystyle \mu =\lambda ^{1/\nu }} . The integral part of μ {\displaystyle \mu } is then the mode of the distribution. A full Bayesian estimation approach has been used with MCMC sampling implemented in WinBugs with non-informative priors for the regression parameters.[10][11] This approach is computationally expensive, but it yields the full posterior distributions for the regression parameters and allows expert knowledge to be incorporated through the use of informative priors.
A classical GLM formulation for a CMP regression has been developed which generalizes Poisson regression and logistic regression.[13] This takes advantage of the exponential family properties of the CMP distribution to obtain elegant model estimation (via maximum likelihood), inference, diagnostics, and interpretation. This approach requires substantially less computational time than the Bayesian approach, at the cost of not allowing expert knowledge to be incorporated into the model.[13] In addition it yields standard errors for the regression parameters (via the Fisher Information matrix) compared to the full posterior distributions obtainable via the Bayesian formulation. It also provides a statistical test for the level of dispersion compared to a Poisson model. Code for fitting a CMP regression, testing for dispersion, and evaluating fit is available.[14]
The two GLM frameworks developed for the CMP distribution significantly extend the usefulness of this distribution for data analysis problems.