For known size , the negative binomial distribution is an exponential family with natural parameter and cumulant . A generalized linear model can use a logarithmic link function for its mean, even though that link is not canonical. Jointly estimating the size changes the family and variance function, requiring additional updates beyond a single fixed-family GLM fit; this is what
MASS::glm.nb does.In the stationary law of a two-resource linear flow network, the local counts are independent geometric variables with parameters . Conditional on local counts , the through count has a negative binomial distribution with mean . With positive loads, it is correlated with each local count, even though those two local counts are independent. Degenerate zero-load cases must be distinguished from the positive-load assertion.
Negative binomial regression 2026-09-24
Negative binomial regression models overdispersed counts with a negative binomial distribution, commonly using a logarithmic link for the mean.
Negative binomial series 2026-10-06
For a nonnegative integer and , this specialization of the binomial series sums the normalizing coefficients of a negative binomial distribution.
Panjer claim-count class 2026-10-07
The nonnegative integer laws whose probabilities satisfy this recurrence for all . Their probability generating function solves . This is the count class used in the Panjer aggregate algorithm; the count recurrence itself should be distinguished from that aggregate recursion. It includes the Poisson distribution, binomial distribution, and negative binomial distribution with suitable parameters.
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 2 10F b Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 6 d Solution Created 2026-10-03 Updated 2026-10-07
Keep baseline covariates fixed and put , , and for . Integration of a Poisson count over the Gamma component givesThis negative binomial distribution has mean and variance . Therefore the unconditional one-term distribution is the zero-inflated negative binomial distributionIn particular its zero probability is , not simply . As this becomes a Zero-inflated Poisson distribution.
The mixing effect has , and . The law of total variance and law of total covariance now giveEquivalently, for , and . This also supplies raw second moments by adding . Dependence arises from both shared heterogeneity and shared structural zeros, even when the positive random effect is constant.
The printed moment variance matches the hierarchical variance at the same parameter values, but its printed off-diagonal covariance is . Equality would require , or . It is therefore false to claim that the two approaches consistently estimate all the same parameters in general.
The precise distinction is between consistency of mean ratios and identification of structural parameters. In the hierarchical model, with , both the quadratic variance coefficient and the covariance coefficient in terms of the marginal mean areFor the moment parameterization, writing its parameters as , these coefficients are and . Its intercept is identifiable from the mean only as . Matching the true first two moments demands . One solution always isFor there is also a solution , , , with the corresponding shifted intercept. Indeed eliminating gives . This is moment aliasing in a shared zero-inflated count model: matching the moments does not identify the actual structural-zero probability.
For a concrete counterexample take . Then and . The only admissible moment-matching choice is , with an intercept shifted by ; it cannot recover the true structural-zero proportion 0.2. Correct marginal means can give consistent term and baseline-covariate slopes with sandwich standard errors; they do not justify consistent estimation of the intended , or latent intercept. Nor does a mean-only estimating equation identify at all. Full-distribution inference provides information beyond these first two moments.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 34 1 c Solution Created 2026-10-03 Updated 2026-10-06
Conditioning on the intensity in the Poisson mixture givesThus has the negative binomial distribution with two successes and success probability , counting failures; explicitly for . The probability generating function is finite for real .
The claim-size moment-generating function is . Substituting into the aggregate moment-generating function and using givesPut , the moment-generating function of an exponential distribution with rate . The identitythen yieldsThe gamma-mixed Poisson aggregate with exponential claims has three nonnegative mixture weights summing to one. By uniqueness of the moment-generating function near zero, the aggregate distribution isHere is the Dirac measure at zero. In particular , consistently with . The positive components have respective expected values and ; their mixture distribution accounts for the possibility of no aggregate payout.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 39 5 Solution Created 2026-10-03 Updated 2026-10-06
A feasible per-flow allocation satisfies for each active route and . It has proportional fairness if every feasible competitor obeysBy the first-order inequality for the strictly concave logarithm, this is equivalent to maximizing weighted logarithmic utility over the feasible allocations. Inactive-route rates are immaterial; set them to zero as a convention.
Write , , , and . The capacity constraints are and . For , put . Each active local route uses its remaining capacity . Omitting constants, the utility isIts maximum has ; when , the maximum is the endpoint . Hence for active routesThese formulas also give and when . When there is no allocated service. Equivalently, the aggregate route rates for areThis is the proportionally fair allocation on a two-resource linear network for a two-resource linear flow network.
For independent Poisson processes of documents and independent document sizes with exponential distribution of rate , the memorylessness of the exponential distribution makes the population a continuous-time Markov chain. Its transition intensities areThe departure intensity sums the independent completion hazards . There is no departure on an inactive route. Set , with .
To prove the proposed stationary distribution, define the balance function of a flow-level networkFor an active local route, , while for the through route this ratio is . Thus . The weightssatisfy detailed balance on every arrival-departure pair:Each total jump rate is bounded by , so the chain is a nonexplosive Markov chain; normalized detailed-balance weights therefore give its stationary distribution, the stationary law of a two-resource linear flow network.
Use the negative binomial series to sum first over :The remaining two geometric series giveAll summands are nonnegative. Consequently the sum is finite exactly under the stability conditions for a two-resource linear flow networkThese say that the offered load on each unit-capacity resource is strictly below one. Equality is insufficient: at least one geometric series then diverges. If all arrival rates are positive, the chain is irreducible and the normalizable law is its unique equilibrium law.
Finally put , . Summing over yieldsThus the two local-route counts are independent, each with geometric distribution on the nonnegative integers. The conditional through-route count has negative binomial distributionFor positive traffic rates this depends on the local counts, so all three route counts are not independent. More quantitatively, , and likewise for . If zero arrival rates are allowed, the exceptional independent cases are , or , when the relevant counts are deterministic zero. This distinction is local-count independence with through-flow dependence.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 206 1 b Solution Created 2026-10-03 Updated 2026-10-05
For fixed known , take the natural parameter of an exponential familyThe negative binomial distribution has log-likelihoodThus this is a negative binomial exponential family, with dispersion parameter in the convention of part (a). The carrier contains the Gamma function and depends on the fixed size , which need not be an integer. Differentiating the cumulant function of an exponential family givesThereforeThe size controls overdispersion relative to a Poisson distribution; it is different from the unit dispersion parameter used by this fixed-size generalized linear model. Another common convention applies to the scaled response : then and . Keeping track of the response scale prevents confusing these two representations. At the law is concentrated at zero and is obtained as a boundary limit, rather than by a finite natural parameter of an exponential family.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 206 1 e Solution Created 2026-10-03 Updated 2026-10-05
Let and . Under the proposed zero-inflated negative binomial model, independence gives the likelihood functionThe positive-count factor uses the ordinary, untruncated negative binomial distribution. With , the log-likelihood isFor latent indicators , the complete-data log-likelihood iswhere is allowed only when . This separation is what makes the expectation-maximization algorithm convenient.
Past exam of the mathematics course of the University of Cambridge 2022 ia Paper 2 11F c Solution Created 2026-09-24 Updated 2026-09-25
For the process to stop on toss , the last toss must be the th head, while the first tosses must contain exactly heads. Hence the negative binomial distribution gives
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 5J Solution Created 2026-09-23 Updated 2026-09-25
For , the last flip must be the th head. Among the preceding flips, exactly are tails and are heads. There are choices for their positions, and every resulting sequence has probability . The negative binomial stopping argument therefore givesso has the failures-before-the-th-success negative binomial distribution.
To put the mass function into exponential family form, setSince ,whereThus the natural parameter of an exponential family is , and the Fisher-Neyman factorization theorem shows that is a sufficient statistic. This is the negative binomial exponential family.