Conway–Maxwell–Poisson distribution: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Whirlpool1997
m Added the probability generating function for the Conway-Maxwell-Poisson Distribution.
 
(No difference)

Latest revision as of 21:50, 12 September 2023

Template:Short description Template:Infobox probability distribution

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]

Background

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.

Probability mass function and basic properties

The CMP distribution is defined to be the distribution with probability mass function

P(X=x)=f(x;λ,ν)=λx(x!)ν1Z(λ,ν).

where :

Z(λ,ν)=j=0λj(j!)ν.

The function Z(λ,ν) serves as a normalization constant so the probability mass function sums to one. Note that Z(λ,ν) does not have a closed form.

The domain of admissible parameters is λ,ν>0, and 0<λ<1, ν=0.

The additional parameter ν 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

P(X=x1)P(X=x)=xνλ.

When ν=1, the CMP distribution becomes the standard Poisson distribution and as ν, the distribution approaches a Bernoulli distribution with parameter λ/(1+λ). When ν=0 the CMP distribution reduces to a geometric distribution with probability of success 1λ provided λ<1.[2]

For the CMP distribution, moments can be found through the recursive formula [2]

E[Xr+1]={λE[X+1]1νif r=0λddλE[Xr]+E[X]E[Xr]if r>0.

Cumulative distribution function

For general ν, there does not exist a closed form formula for the cumulative distribution function of XCMP(λ,ν). If ν1 is an integer, we can, however, obtain the following formula in terms of the generalized hypergeometric function:[6]

F(n)=P(Xn)=11Fν1(;n+2,,n+2;λ){(n+1)!}ν10Fν1(;1,,1;λ).

The normalizing constant

Many important summary statistics, such as moments and cumulants, of the CMP distribution can be expressed in terms of the normalizing constant Z(λ,ν).[2][7] Indeed, The probability generating function is EsX=Z(sλ,ν)/Z(λ,ν), and the mean and variance are given by

EX=λddλ{ln(Z(λ,ν))},
var(X)=λddλEX.

The cumulant generating function is

g(t)=ln(E[etX])=ln(Z(λet,ν))ln(Z(λ,ν)),

and the cumulants are given by

κn=g(n)(0)=ntnln(Z(λet,ν))|t=0,n1.

Whilst the normalizing constant Z(λ,ν)=i=0λi(i!)ν does not in general have a closed form, there are some noteworthy special cases:

  • Z(λ,1)=eλ
  • Z(λ,0)=(1λ)1
  • limνZ(λ,ν)=1+λ
  • Z(λ,2)=I0(2λ), where I0(x)=k=01(k!)2(x2)2k is a modified Bessel function of the first kind.[7]
  • For integer ν, the normalizing constant can expressed [6] as a generalized hypergeometric function: Z(λ,ν)=0Fν1(;1,,1;λ).

Because the normalizing constant does not in general have a closed form, the following asymptotic expansion is of interest. Fix ν>0. Then, as λ,[8]

Z(λ,ν)=exp{νλ1/ν}λ(ν1)/2ν(2π)(ν1)/2νk=0ck(νλ1/ν)k,

where the cj are uniquely determined by the expansion

(Γ(t+1))ν=νν(t+1/2)(2π)(ν1)/2j=0cjΓ(νt+(1+ν)/2+j).

In particular, c0=1, c1=ν2124, c2=ν211152(ν2+23). Further coefficients are given in.[8]

For general values of ν, 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(j1)(jr+1) denote the falling factorial. Let XCMP(λ,ν), λ,ν>0. Then

E[((X)r)ν]=λr,

for r.

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 XCMP(λ,ν), where ν>0. Denote the skewness γ1=κ3σ3 and excess kurtosis γ2=κ4σ4, where σ2=Var(X). Then, as λ,[8]

EX=λ1/ν(1ν12νλ1/νν2124ν2λ2/νν2124ν3λ3/ν+𝒪(λ4/ν)),
Var(X)=λ1/νν(1+ν2124ν2λ2/ν+ν2112ν3λ3/ν+𝒪(λ4/ν)),
κn=λ1/ννn1(1+(1)n(ν21)24ν2λ2/ν+(2)n(ν21)48ν3λ3/ν+𝒪(λ4/ν)),
γ1=λ1/2νν(15(ν21)48ν2λ2/ν7(ν21)24ν3λ3/ν+𝒪(λ4/ν)),
γ2=λ1/νν(1(ν21)24ν2λ2/ν+(ν21)6ν3λ3/ν+𝒪(λ4/ν)),
E[Xn]=λn/ν(1+n(nν)2νλ1/ν+a2λ2/ν+𝒪(λ3/ν)),

where

a2=n(ν1)(6nν23nν15n+4ν+10)24ν2+1ν2{(n3)+3(n4)}.

The asymptotic series for κn holds for all n2, and κ1=EX.

Moments for the case of integer ν

When ν is an integer explicit formulas for moments can be obtained. The case ν=1 corresponds to the Poisson distribution. Suppose now that ν=2. For m,[7]

E[(X)m]=λm/2Im(2λ)I0(2λ),

where Ir(x) is the modified Bessel function of the first kind.

Using the connecting formula for moments and factorial moments gives

EXm=k=1m{mk}λk/2Ik(2λ)I0(2λ).

In particular, the mean of X is given by

EX=λI1(2λ)I0(2λ).

Also, since EX2=λ, the variance is given by

Var(X)=λ(1I1(2λ)2I0(2λ)2).

Suppose now that ν1 is an integer. Then [6]

E[(X)m]=λm(m!)ν10Fν1(;m+1,,m+1;λ)0Fν1(;1,,1;λ).

In particular,

E[X]=λ0Fν1(;2,,2;λ)0Fν1(;1,,1;λ),

and

Var(X)=λ22ν10Fν1(;3,,3;λ)0Fν1(;1,,1;λ)+E[X](E[X])2.

Median, mode and mean deviation

Let XCMP(λ,ν). Then the mode of X is λ1/ν if λ1/ν<m is not an integer. Otherwise, the modes of X are λ1/ν and λ1/ν1.[7]

The mean deviation of Xν about its mean λ is given by [7]

E|Xνλ|=2Z(λ,ν)1λλ1/ν+1λ1/ν!.

No explicit formula is known for the median of X, but the following asymptotic result is available.[7] Let m be the median of XCMP(λ,ν). Then

m=λ1/ν+𝒪(λ1/2ν),

as λ.

Stein characterisation

Let XCMP(λ,ν), and suppose that f:+ is such that E|f(X+1)|< and E|Xνf(X)|<. Then

E[λf(X+1)Xνf(X)]=0.

Conversely, suppose now that W is a real-valued random variable supported on + such that E[λf(W+1)Wνf(W)]=0 for all bounded f:+. Then WCMP(λ,ν).[7]

Use as a limiting distribution

Let Yn have the Conway–Maxwell–binomial distribution with parameters n, p=λ/nν and ν. Fix λ>0 and ν>0. Then, Yn converges in distribution to the CMP(λ,ν) distribution as n.[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

P(X=k)=(Γ(r+k)k!Γ(r))νpk(1p)ri=0(Γ(r+i)i!Γ(r))νpi(1p)r=(Γ(r+k)k!Γ(r))νpk(1p)r1C(r,ν,p),(k=0,1,2,),

convergents to a limiting distribution which is the COM-Poisson, as r+ .

  • XCMP(λ,1), then X follows the Poisson distribution with parameter λ.
  • Suppose λ<1. Then if XCMP(λ,0), we have that X follows the geometric distribution with probability mass function P(X=k)=λk(1λ), k0.
  • The sequence of random variable XνCMP(λ,ν) converges in distribution as ν to the Bernoulli distribution with mean λ(1+λ)1.

Parameter estimation

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.

Weighted least squares

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

logpx1px=logλ+νlogx

where px denotes Pr(X=x). When estimating the parameters, the probabilities can be replaced by the relative frequencies of x and x1. To determine if the CMP distribution is an appropriate model, these values should be plotted against logx 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^x1/p^x) on logx. 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.

var[logp^x1p^x]1npx+1npx1
cov(logp^x1p^x,logp^xp^x+1)1npx

Maximum likelihood

The CMP likelihood function is

(λ,νx1,,xn)=λS1exp(νS2)Zn(λ,ν)

where S1=i=1nxi and S2=i=1nlogxi!. Maximizing the likelihood yields the following two equations

E[X]=X¯
E[logX!]=logX!

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 and logX! are approximated by using the estimates for λ and ν from the previous iteration in the expression

E[f(x)]=j=0f(j)λj(j!)νZ(λ,ν).

This is continued until convergence of λ^ and ν^.

Generalized linear model

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 λ with μ=λ1/ν. The integral part of μ 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.

References

  1. Template:Cite web
  2. 2.0 2.1 2.2 2.3 2.4 2.5 Shmueli G., Minka T., Kadane J.B., Borle S., and Boatwright, P.B. "A useful distribution for fitting discrete data: revival of the Conway–Maxwell–Poisson distribution." Journal of the Royal Statistical Society: Series C (Applied Statistics) 54.1 (2005): 127–142.[1]
  3. Template:Citation
  4. Boatwright, P., Borle, S. and Kadane, J.B. "A model of the joint distribution of purchase quantity and timing." Journal of the American Statistical Association 98 (2003): 564–572.
  5. Li B., Zhang H., Jiao H. "Some Characterizations and Properties of COM-Poisson Random Variables." Communications in Statistics - Theory and Methods, (2019).[2]
  6. 6.0 6.1 6.2 Nadarajah, S. "Useful moment and CDF formulations for the COM–Poisson distribution." Statistical Papers 50 (2009): 617–622.
  7. 7.00 7.01 7.02 7.03 7.04 7.05 7.06 7.07 7.08 7.09 Daly, F. and Gaunt, R.E. " The Conway–Maxwell–Poisson distribution: distributional theory and approximation." ALEA Latin American Journal of Probability and Mathematical Statistics 13 (2016): 635–658.
  8. 8.0 8.1 8.2 Gaunt, R.E., Iyengar, S., Olde Daalhuis, A.B. and Simsek, B. "An asymptotic expansion for the normalizing constant of the Conway–Maxwell–Poisson distribution." To appear in Annals of the Institute of Statistical Mathematics (2017+) DOI 10.1007/s10463-017-0629-6
  9. Zhang H., Tan K., Li B. "COM-negative binomial distribution: modeling overdispersion and ultrahigh zero-inflated count data." Frontiers of Mathematics in China, 2018, 13(4): 967–998.[3]
  10. 10.0 10.1 Guikema, S.D. and J.P. Coffelt (2008) "A Flexible Count Data Regression Model for Risk Analysis", Risk Analysis, 28 (1), 213–223. Template:Doi
  11. 11.0 11.1 Lord, D., S.D. Guikema, and S.R. Geedipally (2008) "Application of the Conway–Maxwell–Poisson Generalized Linear Model for Analyzing Motor Vehicle Crashes," Accident Analysis & Prevention, 40 (3), 1123–1134. Template:Doi
  12. Lord, D., S.R. Geedipally, and S.D. Guikema (2010) "Extension of the Application of Conway–Maxwell–Poisson Models: Analyzing Traffic Crash Data Exhibiting Under-Dispersion," Risk Analysis, 30 (8), 1268–1276. Template:Doi
  13. 13.0 13.1 Sellers, K. S. and Shmueli, G. (2010), "A Flexible Regression Model for Count Data", Annals of Applied Statistics, 4 (2), 943–961
  14. Code for COM_Poisson modelling, Georgetown Univ.

Template:ProbDistributions