Tutorials › Generalized Linear Mixed Models (GLMM) › Conway-Maxwell-Poisson For Flexible Count Dispersion

Responses: Binary, Count, Ordinal, Overdispersed · Tutorial 109 of 698

Conway-Maxwell-Poisson For Flexible Count Dispersion

Learn how the Conway–Maxwell–Poisson distribution extends the Poisson count model, how its dispersion parameter changes the count probabilities, and how to calculate and interpret its moments.

Intermediate 12 min read

What You'll Learn

  • Write the Conway–Maxwell–Poisson probability mass function and its normalizing constant.
  • Explain why its rate parameter is not generally the mean.
  • Derive exact moment identities from the normalizing constant.
  • Calculate means and variances from normalized count weights.
  • Distinguish underdispersed and overdispersed CMP examples from the Poisson case.
  • Identify assumptions, diagnostics, and limitations of using CMP for count responses.

Why Use a Flexible Count Distribution?

A Poisson model imposes a distinctive restriction: conditional on its mean, the count variance equals that mean. Some count data are more concentrated than this restriction allows; others vary more. A count distribution that can represent both patterns is useful when the response is still a nonnegative integer count, but the Poisson mean–variance equality is not credible.

The Conway–Maxwell–Poisson (CMP, also called COM-Poisson) family adds a dispersion parameter to a Poisson-shaped probability mass function. Its flexibility comes with an important interpretive cost: the CMP rate parameter is not, in general, the response mean. The mean must be obtained from the normalized distribution, usually by calculation or numerical methods.

Definition: A random variable \(Y\) has a Conway–Maxwell–Poisson distribution with rate parameter \(\lambda>0\) and dispersion parameter \(\nu>0\) if $$ P(Y=y)=\frac{\lambda^y}{(y!)^\nu Z(\lambda,\nu)}, \qquad y=0,1,2,\ldots, $$ where $$ Z(\lambda,\nu)=\sum_{k=0}^{\infty}\frac{\lambda^k}{(k!)^\nu} $$ is the normalizing constant. The value \(Z(\lambda,\nu)\) ensures that the probabilities over all nonnegative integer counts sum to one.

The restriction \(\nu>0\) ensures that the defining series converges for every \(\lambda>0\). To see why, let \(w_y=\lambda^y/(y!)^\nu\) be the unnormalized weight at count \(y\). The ratio of successive weights is $$ \frac{w_{y+1}}{w_y}=\frac{\lambda}{(y+1)^\nu}, $$ which approaches zero as \(y\) increases when \(\nu>0\). Thus the weights eventually decrease sufficiently rapidly for their sum to be finite. Dividing each weight by that finite sum produces a probability distribution.

What the Dispersion Parameter Changes

When \(\nu=1\), the normalizing constant is \(Z(\lambda,1)=e^\lambda\). Therefore $$ P(Y=y)=\frac{\lambda^y}{y!e^\lambda}, $$ which is the Poisson probability mass function with mean and variance \(\lambda\). For \(\nu\ne1\), the factorial is raised to a different power, changing how quickly the weights for larger counts diminish. Values \(\nu>1\) penalize larger counts more strongly than the Poisson model does; values \(0<\nu<1\) penalize them less strongly. These changes can produce variance below or above the mean, respectively, although the exact mean and variance depend on both \(\lambda\) and \(\nu\).

The distinction between \(\lambda\) and the mean matters in applications. In a regression model, one may specify a linear predictor for \(\log(\lambda)\), but that does not make \(\log(\lambda)\) the log of the conditional mean except in the Poisson special case. Some software instead offers mean-parameterized CMP models. Their parameterization must be checked: it is not interchangeable with the rate parameterization above without a conversion.

Moment identities: Under the CMP distribution, the mean and variance are $$ E(Y)=\frac{\partial \log Z(\lambda,\nu)}{\partial \log \lambda}, \qquad \operatorname{Var}(Y)=\frac{\partial^2 \log Z(\lambda,\nu)}{\partial (\log \lambda)^2}. $$ Equivalently, the mean is the normalized first-moment sum, and the variance is the normalized second-moment sum minus the squared mean.

These identities follow directly from the probability mass function. Write \(\theta=\log\lambda\), so each unnormalized weight is \(e^{y\theta}/(y!)^\nu\). Differentiating the convergent series for \(Z\) with respect to \(\theta\) gives $$ \frac{\partial Z}{\partial\theta} =\sum_{y=0}^{\infty}\frac{y e^{y\theta}}{(y!)^\nu}. $$ Dividing by \(Z\) gives \(E(Y)\), and hence \(\partial\log Z/\partial\theta=E(Y)\). Differentiating once more yields $$ \frac{\partial^2\log Z}{\partial\theta^2} =\frac{\sum_y y^2 e^{y\theta}/(y!)^\nu}{Z} -\left(\frac{\sum_y y e^{y\theta}/(y!)^\nu}{Z}\right)^2 =\operatorname{Var}(Y). $$ This also shows that the variance is not obtained simply by reading \(\lambda\) or \(\nu\) from the model specification.

Worked Example: The Poisson Special Case

Let \(Y\) follow a CMP distribution with \(\lambda=2\) and \(\nu=1\). Find its distribution and moments.

Since \(\nu=1\), the normalizing constant is $$ Z(2,1)=\sum_{y=0}^{\infty}\frac{2^y}{y!}=e^2\approx7.3891. $$ For example, the probability of zero is \(P(Y=0)=1/e^2\approx0.1353\), and the probability of two is $$ P(Y=2)=\frac{2^2}{2!e^2} =\frac{4}{2(7.3891)} \approx0.2707. $$ The distribution is exactly Poisson with mean \(2\) counts and variance \(2\) counts squared. This equality is a special property of \(\nu=1\); it should not be assumed for other CMP parameter values.

Calculating Moments from the Weights

For particular parameter values, the normalizing constant and moments can be calculated by summing the weights. Define $$ S_0=\sum_{y=0}^{\infty}w_y,\qquad S_1=\sum_{y=0}^{\infty}y w_y,\qquad S_2=\sum_{y=0}^{\infty}y^2 w_y, \qquad w_y=\frac{\lambda^y}{(y!)^\nu}. $$ Then \(Z=S_0\), \(E(Y)=S_1/S_0\), and \(\operatorname{Var}(Y)=S_2/S_0-(S_1/S_0)^2\). In practice, the series is evaluated numerically with enough terms to make the omitted tail negligible. The successive-weight ratio above is useful for checking how quickly the terms shrink.

Worked Example: A CMP Distribution with Variance Below Its Mean

Suppose \(Y\) has \(\lambda=1\) and \(\nu=2\). Calculate the mean and variance. The weights begin $$ w_0=1,\quad w_1=1,\quad w_2=\frac14,\quad w_3=\frac1{36},\quad w_4=\frac1{576},\ldots $$ Summing the series gives \(S_0=Z(1,2)\approx2.279585\). The weighted first-moment sum is \(S_1\approx1.590636\), so $$ E(Y)=\frac{S_1}{S_0} \approx\frac{1.590636}{2.279585} \approx0.6977747\ \text{counts}. $$ For the second moment, there is a simplifying identity. For every integer \(y\ge1\), $$ y^2\frac{1}{(y!)^2}=\frac{1}{((y-1)!)^2}. $$ Consequently, $$ S_2=\sum_{y=1}^{\infty}\frac{1}{((y-1)!)^2}=Z(1,2), \qquad E(Y^2)=\frac{S_2}{S_0}=1. $$ It follows that $$ \operatorname{Var}(Y)=E(Y^2)-[E(Y)]^2 =1-(0.6977747)^2 \approx0.5131\ \text{counts}^2. $$ Here the variance is less than the mean. The result also illustrates why accurate normalization and moment sums matter: the second moment is exactly \(1\), not an approximation obtained by dividing rounded sums.

Worked Example: A More Concentrated Count Pattern

Now let \(\lambda=3\) and \(\nu=2\). The initial weights are $$ 1,\quad 3,\quad 2.25,\quad 0.75,\quad 0.140625,\quad 0.016875,\ldots $$ Their sum, including the small remaining tail, is \(S_0\approx7.158997\). The weighted sums are \(S_1\approx10.40595\) and \(S_2\approx21.4770\). Therefore $$ E(Y)\approx\frac{10.40595}{7.158997} \approx1.45355\ \text{counts}, $$ and $$ E(Y^2)\approx\frac{21.4770}{7.158997}\approx3.0000, \qquad \operatorname{Var}(Y)\approx3.0000-(1.45355)^2 \approx0.8872\ \text{counts}^2. $$ The mean is not \(3\), despite \(\lambda=3\). The variance is again below the mean. The normalized distribution, not the rate parameter alone, determines both quantities.

Worked Example: A CMP Distribution with Variance Above Its Mean

Consider \(\lambda=1\) and \(\nu=0.5\). The weights are \(w_y=1/\sqrt{y!}\). Summing them gives \(S_0\approx3.4695\); the first- and second-moment weighted sums are approximately \(S_1=5.2967\) and \(S_2=15.6172\). Thus $$ E(Y)\approx\frac{5.2967}{3.4695} \approx1.5266\ \text{counts}, $$ and $$ E(Y^2)\approx\frac{15.6172}{3.4695} \approx4.5013. $$ Using the unrounded moments gives $$ \operatorname{Var}(Y)=E(Y^2)-[E(Y)]^2 \approx4.5013-(1.52665)^2 \approx2.1707\ \text{counts}^2. $$ Here the variance exceeds the mean. This example and the preceding ones show how changing \(\nu\) allows CMP distributions to represent both more concentrated and more variable counts than a Poisson distribution with comparable mean.

Using CMP for Count Responses

A CMP response model is appropriate when the observed response consists of nonnegative integer counts and a Poisson distribution’s conditional mean–variance restriction is inadequate. In a generalized linear mixed model, it can be used as the conditional response distribution. For example, given random effects \(b_i\), an observation \(Y_{ij}\) might have a CMP distribution with rate \(\lambda_{ij}\) and dispersion \(\nu\). The model must specify how the rate depends on covariates and, if present, random effects. Conditional independence of responses given those random effects is an additional modeling assumption when that factorization is used.

The distributional choice does not correct every possible mismatch. CMP still assigns probability only to nonnegative integer counts. It does not automatically account for excess zeros, omitted predictors, dependence left unexplained by the random effects, or changes in dispersion across observations. A common-\(\nu\) specification, for instance, assumes one dispersion parameter applies across the modeled observations unless the model explicitly allows otherwise.

The alternatives answer different modeling needs. A Poisson model is simpler and imposes equality of conditional mean and variance. Negative binomial models provide a probability likelihood with particular forms of overdispersion; they do not generally provide CMP’s underdispersion behavior. Quasi-Poisson specifies a mean–variance relationship for inference but is not a full probability likelihood. CMP is a full count likelihood with flexible dispersion, but its normalizing constant and mean calculations can make estimation more computationally demanding. The choice should reflect the response support, the mean–variance pattern, and the scientific model—not just which distribution is easiest to fit.

Diagnostics, Pitfalls, and Limits

After fitting a CMP model, assess whether its assumptions and fitted probabilities describe the data adequately. Compare observed and fitted count frequencies, including the zero frequency and the upper tail; examine residual patterns against fitted values and predictors; and check whether conclusions change under plausible alternative count distributions. In a mixed model, these checks must also be interpreted in light of the assumed random-effects structure. A flexible conditional response distribution cannot compensate for an unsuitable dependence model.

  • Do not equate \(\lambda\) with the mean. That equality holds for the Poisson special case \(\nu=1\), not generally for CMP.
  • Do not treat \(\nu\) as a direct variance multiplier. The variance depends on both parameters through the normalized distribution; calculate or estimate it.
  • Do not infer that every unusual count pattern is dispersion. Excess zeros, dependence, or a misspecified mean structure can also create apparent variance mismatch.
  • Check numerical convergence. A truncated series that omits material tail weight can distort \(Z\), the mean, the variance, and fitted probabilities.

CMP’s flexibility has limits. The exact mean is generally not available as a simple closed-form function of \(\lambda\) and \(\nu\), and numerical work may be necessary. Parameter estimates can also be difficult to interpret directly on a mean scale. For reporting, provide conditional means or predicted probabilities when relevant, as well as the parameterization used. Finally, variance agreement alone is not proof of a suitable probability model: the full count distribution and the model’s conditional-independence and random-effects assumptions still matter.

Key takeaway: CMP assigns probability to nonnegative integer counts using weights \(\lambda^y/(y!)^\nu\). The parameter \(\nu\) extends the Poisson model beyond its mean–variance equality, but \(\lambda\) is not generally the mean, and moments must be obtained from the normalized distribution.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. What CMP parameter values recover a Poisson distribution, and what are the mean and variance in that case?
  2. For a general CMP model, why can the rate parameter \(\lambda\) not simply be reported as the mean?
  3. For \(\lambda=1,\nu=2\), if \(E(Y^2)=1\) and \(E(Y)\approx0.6978\), calculate the variance and compare it with the mean.
  4. A fitted CMP model assigns \(\nu=0.6\). Does this alone give the exact variance? Explain what further calculation is needed.
  5. Name two possible reasons, other than the response dispersion parameter, for an observed count distribution to disagree with a fitted Poisson model.

Solutions. (1) Setting \(\nu=1\) gives the Poisson distribution with mean \(\lambda\) and variance \(\lambda\). (2) The mean is \(S_1/S_0\), which depends on the normalized infinite series; it equals \(\lambda\) only in the Poisson case. (3) \(\operatorname{Var}(Y)=1-(0.6978)^2\approx0.5131\) counts squared, which is below the mean of about \(0.6978\) counts. (4) No. Calculate \(S_0,S_1,S_2\) at the fitted \(\lambda\) and \(\nu\), then use \(\operatorname{Var}(Y)=S_2/S_0-(S_1/S_0)^2\). (5) Examples include excess zeros, a misspecified mean structure, or residual dependence not captured by the model.

Clinical Biostats