Probability generating function of an independent random sum Created 2026-10-18 Updated 2026-10-25
Let be a nonnegative integer-valued random variable, and let be nonnegative integer-valued independent and identically distributed random variables, with common probability generating function . Require the whole sequence to be independent of , so are jointly independent. Set the random sum
with the empty sum equal to zero. Given , the probability generating function of an independent sum yields the conditional expectation . By the law of total expectation,
The composition is valid because . Merely making the independent of each other does not preserve their conditional laws when depends on them. This is the probability generating function version of transform composition for an independent random sum.
For a Poisson distribution count with mean , substitution into gives a compound Poisson distribution with
If the jumps have finite second moment, conditioning also gives mean and variance . The extra spread comes from randomness in the count as well as randomness in the jumps.[ref]
For an original example, choose and jumps taking values one and two with equal probability. Keep the independence assumptions above. Then
Here , , and . The law of total expectation and law of total variance give
Thus the aggregate is not itself a Poisson distribution, whose mean and variance would coincide.
To recover the probability mass function without repeated differentiation, use and compare coefficients:
For example, . As an independent check, expanding gives
Figure 1.
A random number of one-or-two jumps gives a compound Poisson count
. The upper diagram separates the Poisson distribution count, the independent and identically distributed jumps, and their random sum. Below are calculated coefficients of for , with the omitted tail probability reported explicitly. They are exact model probabilities evaluated numerically, not observed data; the displayed masses have not been renormalized. Details.
The plotted probability masses stop at 20, although the support of a probability distribution is unbounded. The omitted tail probability is
This model has bounded jumps and an unbounded count. Its entire probability generating function does give a finite moment-generating function at every real argument, but the general random sum composition only guarantees the stated domain.
Random sum of independent claims Created 2026-10-06 Updated 2026-11-05
For independent claim sizes with common expected value and variance , independent of the nonnegative integer count , the aggregate satisfies and . Its moment-generating function is wherever finite. These identities follow from the law of total expectation and law of total variance.
A compound lottery first selects branch with probability and then outcome with conditional probability . Its reduced lottery assigns the total probability . The law of total expectation gives the same expected utility in either description:
This rule assumes that only the final outcome matters. A preference for a particular randomization procedure requires including that procedure in the outcome description; it cannot be captured by changing the arithmetic of expected utility on a fixed outcome set.
For fixed statistical parameters and , Bayes' theorem gives the mixture responsibility
It is the conditional expectation of the mixture allocation indicator. This posterior probability concerns the hidden label, with held fixed; it does not require a prior distribution over . For a continuous , use the density ratio to define this conditional distribution, rather than dividing probabilities of the zero-probability event .[ref]
For the Two-Gaussian mixture example, the component density ratio is , so the posterior probability ratio and the mixture responsibilities are
At the two unweighted component densities are equal, so the mixture responsibilities equal the mixture weights: , . At , the second component density is twice the first and its mixture responsibility is . Equal mixture responsibilities instead occur at : the more frequent second mixture component is favored even slightly to the left of the midpoint.
Figure 1.
Posterior responsibilities change with x while the stipulated mixture weights stay fixed
. Original analytic responsibilities for the same two-Gaussian mixture, with prior label probabilities shown as dotted horizontal lines. Both responsibilities remain strictly between zero and one at every finite x; the vertical marker denotes equal posterior probabilities, not disjoint component supports. Details.
The mixture weights describe membership before learning ; mixture responsibilities describe membership after learning . The law of total expectation gives under this statistical model, although varies across individual values. In fitting by the expectation-maximization algorithm, evaluate mixture responsibilities at the current statistical parameters and recompute them after an update.
Draw one random variable , taking values zero and two with equal probabilities. Conditional on , generate a Poisson point process on the real line with constant rate . This is a Cox process directed by the random measure : the same rate is shared by every window. It is a locally finite simple point process and a stationary point process. The law of total expectation gives ; the law of total variance and law of total covariance give, for bounded Borel sets with ,
The conditional covariance vanishes by independence, but the shared conditional means fluctuate together. This distinguishes conditional from unconditional independence.[ref]
For a window of length , the exact probability mass function is
In particular, its void probability functional is , compared with for the unit-rate Poisson point process. Whole realizations can be empty or comparatively crowded, while their mean density remains one. This example demonstrates shared-rate statistical dependence, rather than a model of short-range offspring clusters.
For an almost surely finite total progeny of a branching process, let be the offspring probability generating function and that of the total, including one ancestor. Conditional on children, the total is one plus the sum of independent descendant totals. Independence and the law of total expectation give for , including the empty-product case . If the offspring expected value is , differentiation for gives . The denominator is positive because . Letting and using the monotone convergence theorem on the derivative series proves , establishing finiteness rather than assuming it. For Poisson branching process offspring, .
Transform composition for an independent random sum Created 2026-10-14 Updated 2026-10-31
For independent identically distributed summands, independent also of the count , conditioning on gives . The law of total expectation gives the composition of the count's probability generating function with the summand's moment-generating function. This identity is valid as an extended nonnegative expectation; finiteness near zero requires additional exponential-integrability assumptions.
Stipulate an original Gaussian mixture distribution with mixture weights , , component means , , and component variances both equal to one. These are chosen statistical parameters, with no observed sample or fitting. If is the standard normal distribution probability density function, then
In the figure, the two colored curves are weighted probability density functions, with areas and . Adding their heights at every gives the black curve. Neither colored curve stops at a dividing line.
Figure 1.
Stipulated two-Gaussian mixture: weighted component densities and their sum
. Original analytic curves for component means and , component variances one, and mixture weights and . No observed points, histogram, or fitted parameters are used. Details.
The law of total expectation and law of total variance give the total mean and variance:
All of the extra variance comes from variation between component means. Equivalently, the second moment is , so the variance is .
A mixture distribution is different from a deterministic linear combination of random variables. If independent and are drawn and , then has a normal distribution with the same mean but variance , rather than . Every draw of uses both random variables. A draw from the mixture distribution instead uses , where the mixture allocation indicators are independent of and select exactly one of them. The expression for adds densities, not simultaneous random outcomes.
Waiting time to observe both Bernoulli outcomes Created 2026-10-14 Updated 2026-11-05
In independent trials with two outcomes of probabilities and , let include the first trial and the trial that first completes the pair. Conditional on the first outcome, has a geometric distribution of parameter or , with mixture weights . The law of total expectation and law of total variance give
The final term in the unsimplified variance is the variance of the two conditional means; omitting it is incorrect unless . Both outcomes must have positive probability for these finite formulas.