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 sumwith 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 withIf 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]
Random: Probability, Mathematical Statistics, Stochastic Processes by Kyle Siegrist. The Poisson Process, Compound Poisson Processes, Definition; Properties: mean, variance, and generating-function conditioning proof; Compound Poisson Distributions: count independent of the sequence
For an original example, choose and jumps taking values one and two with equal probability. Keep the independence assumptions above. ThenHere , , and . The law of total expectation and law of total variance giveThus 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
The plotted probability masses stop at 20, although the support of a probability distribution is unbounded. The omitted tail probability isThis 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.
Probability: Theory and Examples (fifth edition) by Rick Durrett 4.1 Conditional Expectation 2026-10-13
Cited passages: the definition starts on printed p. 205. Equation (4.1.5) and Theorem 4.1.13 on p. 212 give the law of total expectation and nested tower property. Theorem 4.1.15 on p. 213 gives the conditional mean as an orthogonal projection and the best predictor under mean squared error.
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.
Reduction of compound lotteries 2026-10-25
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 responsibilityIt 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]
Finite Mixtures. Finite Mixtures, section Recovering posterior mixture proportions: Bayes formula for label probabilities conditional on the observation, component parameters, and mixing weights
For the Two-Gaussian mixture example, the component density ratio is , so the posterior probability ratio and the mixture responsibilities areAt 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.
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.
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.
Two-Gaussian mixture example 2026-10-14
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, thenIn 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.
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 giveThe 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.


