CNTSELECT Procedure
Conway-Maxwell-Poisson Regression
The Conway-Maxwell-Poisson (CMP) distribution is a generalization of the Poisson distribution that enables you to model both underdispersed and overdispersed data. It was originally proposed by Conway and Maxwell (1962), but its implementation to model under- and overdispersed count data is attributed to Shmueli et al. (2005).
Recall that , given the vector of covariates
, is independently Poisson-distributed as
The CMP distribution is defined as
where the normalization factor is
and
The vector is a
parameter vector. (The intercept is
, and the coefficients for the k regressors are
.) The vector
is an
parameter vector. (The intercept is represented by
, and the coefficients for the m regressors are
.) The covariates are represented by the vectors
and
.
One of the restrictive properties of the Poisson model is that the conditional mean and variance must be equal:
The CMP distribution overcomes this restriction by defining an additional parameter, , which governs the rate of decay of successive ratios of probabilities such that
The introduction of the additional parameter, , allows for flexibility in modeling the tail behavior of the distribution. If
, the ratio is equal to the rate of decay of the Poisson distribution. If
, the rate of decay decreases, enabling you to model processes that have longer tails than the Poisson distribution’s (overdispersed data). If
, the rate of decay increases in a nonlinear fashion, thus shortening the tail of the distribution (underdispersed data).
The CMP distribution has several special cases. If and
, the CMP distribution results in the Bernoulli distribution. In this case, the data can take only the values 0 and 1; this represents an extreme underdispersion. If
, the Poisson distribution is recovered along with its equidispersion property. When
and
, the normalization factor is convergent and forms a geometric series,
and the probability density function becomes
The geometric distribution represents a case of severe overdispersion.
Mean, Variance, and Dispersion for the Conway-Maxwell-Poisson Model
The mean and the variance of the Conway-Maxwell-Poisson distribution are defined as
The CMP distribution does not have closed-form expressions for its moments in terms of its parameters and
. However, the moments can be approximated. Shmueli et al. (2005) use asymptotic expressions for Z to derive
and
as
Shmueli et al. (2005) noted that these approximations might not be accurate for underdispersed data () or for values of
.
In the CMP model, the summation of infinite series is evaluated using a logarithmic expansion. The mean and variance are calculated as follows for the Shmueli et al. (2005) model:
The dispersion is defined as
Log-Likelihood Function for the Conway-Maxwell-Poisson Model
The log-likelihood function for the Conway-Maxwell-Poisson regression model can be written as
The gradients can be written as
where is the derivative of
with respect to
evaluated at
and
, and
is the derivative with respect to
evaluated at
and
.
Conway-Maxwell-Poisson Regression: Guikema and Coffelt (2008) Reparameterization
Guikema and Coffelt (2008) propose a reparameterization of the Shmueli et al. (2005) Conway-Maxwell-Poisson model to provide a measure of central tendency that can be interpreted in the context of the generalized linear model. By substituting , you can write the Guikema and Coffelt (2008) formulation as
where the new normalization factor is defined as
and
In terms of their new formulations, the mean and variance of Y are given as
They can be approximated as
When you specify the PRED= option in the OUTPUT statement, the CNTSELECT procedure calculates the predicted value of the response variable by using the approximation for if
; otherwise the exact formula is used. In PROC CNTSELECT, the mean and variance are calculated according to the following formulas for the Guikema and Coffelt (2008) model:
In terms of the new parameter , the log-likelihood function is specified as
and the gradients are calculated as
where is the derivative of
with respect to
evaluated at
and
, and
is the derivative with respect to
evaluated at
and
. By default, PROC CNTSELECT uses the Guikema and Coffelt (2008) specification. You can estimate the Shmueli et al. (2005) model by specifying the PARAMETER=LAMBDA option in the MODEL statement. If you specify DISP=CMPOISSON in the MODEL statement and you omit the DISPMODEL statement, the model is estimated according to the Lord, Guikema, and Geedipally (2008) specification, where
represents a single parameter that does not depend on any covariates. The Lord, Guikema, and Geedipally (2008) specification makes the model comparable to the negative binomial model because it has only one parameter.
The dispersion is defined as
Using the Guikema and Coffelt (2008) specification results in the integral part of representing the mode, which is a reasonable approximation of the mean. The dispersion can be written as
When < 1, the variance can be shown to be greater than the mean and the dispersion can be shown to be greater than 1. This is a result of overdispersed data. When
= 1 and the mean and variance are equal, the dispersion is equal to 1 (Poisson model). When
> 1, the variance is smaller than the mean and the dispersion is less than 1. This is a result of underdispersed data.
All Conway-Maxwell-Poisson models in PROC CNTSELECT are parameterized in terms of dispersion, where
Negative values of indicate that the data are approximately overdispersed, and positive values of
indicate that the data are approximately underdispersed.