Aggregation of macroparasite burdens 2026-10-14
If host-specific equilibrium mean burden has a gamma distribution, conditional Poisson distributions produce a Poisson-gamma mixture, hence a negative binomial distribution. With mean and shape , its zero-burden probability is . Decreasing increases aggregation: a smaller infected-host prevalence can accompany the same mean burden and more heavily infected individuals.
Claim count 2026-10-14
The number of insurance claims in a specified exposure period. Its probability generating function combines with the moment-generating function of an independent claim size through the random-sum transform identity. A Poisson distribution, geometric distribution, or negative binomial distribution provides a possible count model, with different dispersion and zero-claim probabilities.
Compound mixed Poisson distribution 2026-10-14
A compound mixed Poisson distribution is a random sum of independent claims whose count has a Poisson mixture law: conditional on a nonnegative random intensity , has Poisson distribution with parameter . The claim sizes are independent and identically distributed random variables, independent of the intensity and count mechanism. If is their moment-generating function, then wherever finite. A gamma distribution intensity of shape and rate gives a negative binomial distribution count with shape and success probability . Independent intensities with common gamma rate add their shapes by additivity of independent gamma distributions with a common rate.
For independent rate- exponential distribution claims and a zero-based negative binomial distribution count of shape and parameter , the random-sum transform identity gives . This equals the transform of a compound binomial distribution with count and rate- claim sizes. Conditional on its positive count , the total has Erlang distribution, whose survival function is the inner exponential-polynomial sum. Conditioning yields the displayed finite mixture distribution formula for . It replaces an infinite mixture and includes the zero-total atom through the omitted term.
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.Let for and , with . Write . Summing the joint probability mass function with the differentiated geometric series identity gives . By Bayes' theorem,Thus , given , has the failure-count negative binomial distribution for successes and success parameter . Its conditional expectation is for itself. The shift by , the number of retained successes, must be retained when identifying the posterior distribution.
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.
Suppose independent Bernoulli trials give a player a win with probability , and the match ends when either player reaches wins. The player's match-win probability isFor a win with losses, the final trial must be a win. The preceding trials contain exactly wins and losses; the binomial coefficient counts their arrangements. Because , the opponent cannot already have won, and because the player has only previous wins, the match has not ended earlier. Summing the disjoint terminal events gives the formula, a truncated negative binomial distribution sum. The constant game-win probability must describe independent games, or equivalently remain the same conditional on every previous history.
Mixed Poisson distribution 2026-10-14
A mixture of Poisson distributions over a nonnegative random intensity. With exposure and prior density , its probability mass function is . A gamma mixing distribution gives a negative binomial distribution. Counts sharing the same latent intensity are conditionally independent, but generally dependent after mixing.
Negative binomial deviance 2026-10-14
With known size , the mean-dependent log mass of a negative binomial distribution is . Its derivative is , so the saturated mean is , including its boundary value zero. Subtracting the fitted log mass from that maximum gives the displayed deviance. This formula needs no fitted-intercept cancellation. As , its second term tends to and it becomes the full Poisson deviance.
Negative binomial distribution Created 2026-09-24 Updated 2026-10-20
The negative binomial distribution counts failures before a target number of successes in successive independent Bernoulli trials with constant success probability . In this stopping model, is a positive integer and . On the failures-before-the-th-success convention, the random variable takes values ; for , its probability mass function isThe binomial coefficient counts possible arrangements before the final success, as explained by the negative binomial stopping argument. At , every trial succeeds: with probability one, so its expected value and variance are both zero. This handles the endpoint without needing to interpret . At , the target is never reached and there is no proper finite waiting-count law.
For a worked example, toss a fair coin until the second head, calling heads and tails . Thus and . Exactly two failures means that the second success is on trial four. The complete stopped sequences are , and ; each has probability , giving . The first three masses areBoth and are modes, each with mass : there is no unique mode here. Later masses decrease, since for .
The expected value and variance of the failures count areIf instead counts all trials, including the successes, then andFor the fair-coin example, , , and . Shifting the count changes its expected value but preserves its variance. When , has the failures-count geometric distribution, while has the all-trials geometric distribution. The two conventions and the moments are treated in Kyle Siegrist, The Negative Binomial Distribution, Random Services.
Negative binomial failure counts for success probability 1/2 and targets of one, two and five successes
. Details. The negative binomial distribution is useful when a procedure runs until it collects a target number of successes: for example, obtaining usable samples from independent attempts with a stable acceptance probability. A binomial distribution instead counts successes in a fixed number of trials. The attractive connection is that these two experimental questions can be answered from the same trial sequence, using the negative binomial stopping argument. For the failures count and , the positive mean satisfies , so the law allows overdispersion relative to a Poisson distribution. At , both quantities vanish and the inequality is not strict. The separate Poisson-gamma mixture explains another way this count law arises; its noninteger shape parameters do not represent a literal target number of successes.
When each observation counts untagged captures before the th tagged capture with immediate replacement, its negative binomial distribution has success probability . For independent runs, the log-likelihood is plus a constant. Differentiation gives the displayed estimator and expected Fisher information. For an interior true parameter, its asymptotic variance is . A confidence interval for transforms to for the population size, with endpoint order reversed.
For the negative binomial distribution with mean and size , the one-observation score function in the mean is . Its size derivative is , whose expectation is zero. Thus the expected Fisher information matrix is diagonal in . Regular interior maximum-likelihood estimators have zero asymptotic cross covariance, without necessarily being independent in finite samples.
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 Created 2026-10-06 Updated 2026-10-18
For a nonnegative integer and , this specialization of the binomial series sums the normalizing coefficients of a negative binomial distribution.
Negative binomial stopping argument Created 2026-09-24 Updated 2026-10-31
For the negative binomial distribution with positive integer target and success probability , the th success occurs after exactly failures only if the final trial is a success, while the preceding trials contain failures and successes. Choosing the failure locations gives the binomial coefficient . Each such stopped sequence has probability by independence, and the sequences describe mutually exclusive events, so their probabilities add. This proves the probability mass function. Counting arrangements among all positions would wrongly include sequences that already reached the target earlier. The same argument is used for three heads in MIT 18.05, spring 2022, problem set 9 solutions, problem 2(b).
A short route to normalization and moments is to split the failures count into successive waiting blocks:where counts failures after success and before success , with starting at the first trial. Fresh independent Bernoulli trials make the blocks independent, each with the failures-count geometric distribution. Each block has total mass by the geometric series, so their sum also defines a normalized probability distribution. The linearity of expectation and variance additivity for independent random variables give and . This makes the moments transparent without a long calculation of sums. For , every block is zero.
Negative-binomial sum of exponential claims 2026-10-14
Let and let the original independent count have negative binomial distribution with probability mass function on . With unit-rate exponential distribution severities, its moment-generating function is for . Thus it also has a random sum of independent claims representation with independent binomial distribution count and rate- exponential distribution steps. For the law is . The hurdle decomposition of a positive random sum therefore has zero mass and positive density .
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 2001 iii Paper 52 3 Solution Created 2026-10-03 Updated 2026-10-14
A microparasite typically multiplies within an infected host on a much shorter time scale than between-host transmission. A useful first model classifies hosts by infection status. A macroparasite, such as an adult parasitic worm, instead requires a count of parasites per host: two infected hosts can carry very different within-host parasite burdens. These are modelling distinctions rather than a rule determined only by an organism's physical size.
For a microparasite with no lasting immunity, a homogeneous SIS model isThe basic reproduction number is , and the prevalence describes the infected-host fraction. A SIR model adds an immune class, and a SEIR model adds a latent class. Contact structure, age, susceptibility, recovery rate and infectiousness can require several such classes. Then a next-generation matrix or operator, rather than a single averaged contact rate, sets the invasion threshold. Stochastic epidemic models are relevant to early extinction and finite populations; network or spatial models represent nonuniform contact opportunities.
For a simple macroparasite burden model, let be the fraction of hosts carrying adult worms. Assume acquisitions at rate , independent adult-worm losses at rate , and a number of infective stages in a well-mixed environmental reservoir. The immigration-death worm-burden model hasThis birth-death process needs the burden distribution or its probability generating function, not just an infected/not-infected partition. Its mean satisfies . With host number fixed and each adult producing infective stages at rate , one possible environmental closure isFor this asexual, unsaturated transmission approximation, one worm's basic reproduction number is . Growth above the invasion threshold requires additional density regulation if a finite endemic burden is sought. Sex-dependent mating would change this closure.
With constant external exposure , the equilibrium burden follows a Poisson distribution with mean , giving infected-host prevalence . If exposure rates vary across hosts as a gamma distribution, the Poisson-gamma mixture gives a negative binomial distribution with mean and aggregation parameter :The same mean burden can therefore coexist with very different prevalence and highly infected subgroups. Aggregation of macroparasite burdens affects treatment coverage, burden-dependent host mortality, immunity and parasite fecundity. For sexually reproducing worms, hosts need both sexes for fertile output; a mean alone may not determine it. With independent equally likely sexes and Poisson burden, the probability of both sexes is , illustrating mating-limited macroparasite transmission and its low-burden bottleneck.
Both microparasite and macroparasite models need heterogeneous exposure and host responses. The special extra difficulty for macroparasites is translating a distributed worm burden, and possibly worm sex or developmental stage, into transmission and host harm. Conversely, complicated within-host microparasite processes can also require more than a binary host state when the simple fast-within-host approximation fails.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 35 1 Solution Created 2026-10-03 Updated 2026-10-14
Condition on the claim count. The empty random sum of independent claims is zero, and independence gives . Therefore the random-sum transform identity iswherever the composition is finite. This follows directly from the law of total expectation, rather than replacing the random count by its mean.
Put . For the specified negative binomial distribution, the negative binomial series gives . A rate- exponential distribution has moment-generating function . HenceThe last expression is exactly the moment-generating function of a compound binomial distribution with independent count and severitiesThe moment-generating function exists in a neighborhood of zero, so its uniqueness identifies the distributions. In particular, the new claim sizes have mean , not , and both aggregate distributions have an atom at zero. This is the negative-binomial sum of exponential claims representation with the severity rate explicitly retained.
Conditional on , the aggregate has Erlang distribution with density on . Repeated integration by parts of its tail givesIndeed, after substituting , the integral reduces recursively to the corresponding integral with exponent , terminating at . Applying the law of total probability yields the original infinite mixture distribution tailApplying the same argument to the compound binomial distribution gives instead the finite Erlang-mixture tail for a negative-binomial exponential aggregate:The two tails are equal. The binomial representation replaces an infinite sum by a finite exact calculation, eliminating the need to choose a claim-count truncation and control its omitted tail. The inner sums can be evaluated recursively, using for their exponential-weighted terms.

