Chi-bar-squared distribution 2026-10-14
A chi-bar-squared distribution is a mixture distribution , where and , and denotes a point mass at zero. It arises when a Gaussian likelihood is optimized under inequality constraints: projection onto a constraint cone selects different dimensions according to which inequalities are active. For example, if are independent standard Gaussian random variables, then has distribution . On it is ; on it is . Symmetry makes the sign of independent of , proving the stated weights and component laws.
Conditional variance Created 2026-09-28 Updated 2026-10-14
The conditional variance measures the remaining squared uncertainty after specified information has been used to form a conditional mean. For a real square-integrable random variable and a sub-sigma-algebra , let . ThenIt is a -measurable random variable, nonnegative almost surely, rather than necessarily a single number. With the information , its value is the variance in the group identified by . Its expected value is the mean squared error of predicting by its conditional mean.[ref]
In the exact mixture distribution in law of total expectation, group contains around mean two, and group contains around mean eight. Both groups have conditional variance four because their deviations from their own means are with equal probabilities. Therefore . Meanwhile, the two group means have variance . The law of total variance givesDirect calculation gives and , checking the decomposition.
For any square-integrable -measurable predictor , the error identity isThe cross term vanishes because . Thus using the conditional mean minimizes mean squared error, while conditional variance quantifies what this information still cannot predict. This is the orthogonal projection interpretation in L2 space.[ref]
Exponential-mixture differential equation for survival probability Created 2026-10-07 Updated 2026-10-14
For a mixture distribution of exponential distributions, introduce one convolution state for each rate . It satisfies . Together with the survival integro-differential equation these form a constant-coefficient first-order system; applying the differential operators eliminates the convolution states. For equal mixing weights at rates one and one half, with , the result is . The original integral equation supplies initial conditions lost in elimination.
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 positive claim sizes, a random sum of independent claims is zero exactly when its count is zero. Its law is a mixture distribution of a zero atom of mass and, with weight , a random sum whose count has the zero-truncated claim-count distribution. An independent Bernoulli random variable multiplying that positive component gives the same law. This is distinct from arbitrarily inserting additional zeros into an otherwise unchanged count law.
Hyperexponential distribution Created 2026-10-07 Updated 2026-10-14
A finite mixture distribution of exponential distributions with rates and nonnegative weights summing to one. Its expected value is and its moment-generating function is on the common finite domain. The mixture chooses one component for each observation; it is not a sum of independent exponential variables.
Law of total expectation Created 2026-09-24 Updated 2026-10-14
The law of total expectation makes averaging in stages reliable, provided the outer stage uses the actual probabilities of the groups. For an integrable random variable and a sub-sigma-algebra ,Replacing each outcome by its group's conditional mean preserves the overall expected value. In the definition of conditional expectation, take the event to obtain this identity.[ref]
For a complete finite example, choose a group with probability and with probability . Within group , is or with equal conditional probabilities; within group , it is or with equal conditional probabilities. Thus the joint probability distribution puts probabilities on . The conditional means are two and eight. Consequently,Direct averaging of the four values gives the same . Taking the unweighted average of the two group means instead gives five, which describes a different choice of group probabilities. This is why the outer weighting matters.
The formula is useful when conditioning on a first choice makes the remaining experiment simple. It can replace a large outcome enumeration by smaller calculations within groups. In a mixture distribution, it combines component means using mixture weights; in a random sum of independent claims, it separates the number of summands from their individual expected values under the stated independence assumptions. The same averaging step appears in the law of total variance.
Law of total probability Created 2026-09-24 Updated 2026-10-18
Let be a countable measurable partition of the sample space, with positive probabilities. For any event , the law of total probability givesThe pieces are disjoint events, so add their masses and use the definition of conditional probability. Zero-mass partition pieces can be omitted without changing the answer.
For the coin selection in probability, let mean the -head coin was selected and let mean the first toss was heads. Then . Each conditional answer describes one possible hidden situation; its weight describes how often that situation occurs under the model. This decomposition is useful whenever a simple conditional model sits behind a more complicated marginal probability distribution.
The law of total probability combines local conditional probabilities into one overall probability. The measurable partition must cover the sample space with pairwise disjoint events: every elementary outcome belongs to exactly one part. Its probabilities are the weights of a weighted mean, and they sum to one.[ref]
Random: Probability, Mathematical Statistics, Stochastic Processes by Kyle Siegrist. Probability Spaces, §4 Conditional Probability, Basic Theory, Conditioning and Bayes' Theorem: countable partition formula and weighted-average interpretation
For an original constructed example, make a finite set of 1,000 items: 600 belong to and 400 to . Mark exactly 60 items in and 100 in , and let the event mean that the selected item is marked. Select an item using the uniform distribution on a finite set. These are prescribed counts, so the resulting probabilities are exact properties of this construction:The conditional probability uses only the 600 items in as its denominator. The probability of the intersection uses all 1,000 items instead: . Similarly, . Adding the two disjoint events gives
An unweighted arithmetic mean of the two conditional probabilities would give . That is the answer to a different selection rule: choose either group with probability , then select uniformly within that group. Here the first group contains more items, so selecting uniformly among all items gives it weight . In fact, if its weight were , the overall probability would be . Moving the weight from to lowers the result by , explaining exactly why is too large for the original model.
The same construction is a mixture distribution: first select a group with its mixture weight, then select an item within that group. Multiplying the weight by its conditional probability gives the probability of reaching through that group; adding the contributions gives the law of total probability. For example, an item in has selection probability , and an item in has selection probability , recovering the original uniform distribution on a finite set.
No assumption of independent events is needed. In this construction differs from , so and are not independent events. Also and are disjoint events with positive probabilities, so they cannot be independent events: their intersection has probability zero, whereas . The measurable partition supplies exclusive alternatives, not an independence assumption.
For a short proof, the intersection pieces have union and are pairwise disjoint events. Apply countable additivity, then substitute the definition of conditional probability on every positive-mass part:A zero-probability event has . Omit it: writing would divide by zero. Countability ensures that the union of the omitted zero-probability events also has probability zero. Overlapping parts would double-count their intersections, and incomplete coverage would omit the probability of in the uncovered region.[ref]
Random: Probability, Mathematical Statistics, Stochastic Processes by Kyle Siegrist. Probability Spaces, §4 Conditional Probability: The Basic Definition requires a positive conditioning probability; Conditioning and Bayes' Theorem proves total probability by partition intersections
Reversing the question gives one compact application of Bayes' theorem. Among the 160 marked items, 100 belong to , so its conditional probability after observing isThe law of total probability supplied the denominator by collecting every way that can occur. Its usefulness lies in choosing a measurable partition where the conditional probabilities are simple, then combining them without losing the relative sizes of the alternatives.
Law of total variance Created 2026-09-24 Updated 2026-10-14
The law of total variance separates the spread of a population into spread inside groups and spread between their means. For a real square-integrable random variable , so that , and another random variable on the same probability space,The first term averages the conditional variance over the possible information ; the second measures how much the conditional mean changes with that information. There is no independence assumption, and need not be numerical or have finite variance. Conditioning is useful precisely when knowing tells us something about . See MIT tutorial on using conditional expectation and variance.
More generally, the available information can be a sub-sigma-algebra of the ambient probability space. With , the existing conditional expectation definition givesTaking recovers the displayed formula. The conditional mean and conditional variance are themselves random variables: before learning the group, we do not yet know which group average or group spread will apply. Their outer expectation and variance turn these varying quantities into numbers.
For a fully explicit mixture distribution, choose a group or with equal probabilities. In group , choose or with equal conditional probabilities; in group , choose or with equal conditional probabilities. Thus the complete joint probability distribution consists of , each with probability , and no other outcomes. The conditional means are and . Squaring the deviations and gives conditional variances and , respectively. The law of total expectation gives the overall mean .
The within-group contribution to variance isFor the between-group contribution, the conditional mean takes values and , each three units from the overall mean. Consequently,We can check this without any conditioning: the discrete random variable takes values with equal probabilities, soEquivalently, its second moment is , and subtracting the squared mean gives . These are population variances, with the stated probabilities as weights, rather than estimates using the corrected denominator of a sample variance.
The figure makes the two sources of spread visible. The outcomes in group cluster tightly around , while those in group sit farther apart around . Replacing every outcome by its conditional mean removes the internal spread but leaves the separation between groups. Conversely, subtracting each group's conditional mean aligns the two groups around zero. Averaging only the conditional variances would miss nine units of variance; retaining only the conditional means would miss five. Neither summary alone describes the whole population.
Two modifications clarify what each contribution measures. Shift group to outcomes and group to outcomes , keeping all four probabilities equal. Both conditional means are now , while the conditional variances remain . The between-group contribution vanishes, and total variance is just . Group membership still tells us how uncertain an outcome is, even though the best point prediction stays the same. Alternatively, let every outcome in group equal and every outcome in group equal . Now both conditional variances vanish, and all nine units of total variance come from group separation. Knowing the group predicts the outcome perfectly. These limiting cases distinguish differences in average outcome from differences in internal spread; the original mixture distribution contains both.
The same calculation answers a prediction question. If the group is hidden, the best constant prediction is the overall mean , with mean squared error , by variance as the minimum mean squared error of a constant. If the group is revealed, predict for and for . The errors become , and their mean squared error is . Knowing the group therefore improves the best achievable mean squared error by , exactly the between-group contribution. This is an interpretation relative to the information available: the remaining uncertainty could shrink further if additional information were revealed.
For any square-integrable measurable function used as a predictor, write . The prediction identity isThus predicting with the regression function gives the conditional expectation and minimizes mean squared error over every permitted predictor, including nonlinear ones. This minimizes average squared error, not the error for each individual outcome. See Berkeley Statistics 201A notes, sections 36–37.
Why do the two pieces add cleanly? Put . Its conditional expectation given is zero, so and for every square-integrable measurable function . In particular, and are uncorrelated random variables. Splitting and squaring therefore leaves no cross term after taking expectation. Geometrically, the conditional expectation is an orthogonal projection in the L2 space, and the law of total variance is its Pythagorean theorem for centered random variables.
In our example, the four products are , which average to zero. Yet and are not independent: observing identifies group , while observing identifies group . This is a concrete instance of heteroscedasticity, with different conditional variances despite zero conditional means of the errors. A group can predict uncertainty even when it cannot predict the error's sign.
The law of total variance is useful whenever aggregated data conceal distinct groups. Changing mixture weights changes both contributions, so the weighting must match the population being described. For example, giving group weight changes the overall mean to , the within-group variance contribution to , and the between-group contribution to , making the total . Group differences account for spread and prediction gains; assigning them a causal explanation requires a separate causal inference argument.
Mixture allocation indicator 2026-10-14
Generate a finite mixture model by drawing a categorical variable with , then drawing from the mixture component . The indicator random variables satisfy : exactly one mixture component generates each draw. The joint probability distribution obeys , and the law of total probability gives the mixture distribution after summing out .[ref]
For independent draws from this statistical model, draw a fresh for each . Drawing one shared latent variable for an entire collection is a different joint probability distribution: its individual marginal distributions can match the same mixture distribution while its observations are dependent.
Mixture component 2026-10-14
A mixture component is the conditional distribution of given a component label . Its probability density function integrates to one; its weighted contribution to the mixture distribution integrates to the mixture weight . Thus a mixture component is a distribution, rather than a region assigned to it by a clustering rule.
Mixture model Created 2026-09-24 Updated 2026-10-14
A mixture model represents a population probability distribution by choosing one mixture component at random and then drawing from its probability distribution. For a finite mixture model whose mixture components have probability density functions , the resulting mixture distribution has probability density functionThe mixture weights ensure and . For discrete random variables the same formula uses probability mass functions; without either kind of density, write for component distributions . A zero mixture weight makes that mixture component inactive.[ref]
Finite Mixtures. Finite Mixtures, sections Latent discrete parameterization and Summing out the responsibility parameter: nonnegative normalized weights, categorical labels, and the sum of weighted normal densities
The mixture components need not occupy disjoint bins of . Two normal distributions both have positive probability density functions everywhere, so the same value can plausibly come from either mixture component. The Two-Gaussian mixture example makes this overlap visible, and its mixture responsibilities quantify the remaining uncertainty about the latent variable. This is useful when a single normal distribution cannot represent the population's shape, but a fitted mixture model alone does not establish that its mixture components are real biological or social groups.
Neutrino directional-coincidence model 2026-10-18
How much does a small directional uncertainty help? Consider an original idealized model: a source direction fixed in advance, uniform background directions over the full sphere, and circular acceptance radius . The accepted solid angle and single-event background probability areThe derivation integrates the area element on a unit sphere. For small in radians, : halving the radius quarters the accidental acceptance, to leading order. At acceptance vanishes; at it covers the full sphere. The solid angle has units of steradians; is dimensionless.
For , take a deliberately crude point spread function: stipulate that every signal direction lies uniformly inside that cap. The signal and background probability density functions per steradian are inside the cap and zero outside, and everywhere. Both integrate to one. For an event inside the cap their likelihood ratio isThis ratio compares two specified directional models; it is not the probability that the event came from the source. Such a conditional probability would additionally require prior source odds and the other selection information. For fixed source fraction among selected events, a normalized mixture distribution has density . For independent events the likelihood is the product of those densities; its ratio to background alone isOutside-cap events contribute factors rather than being silently discarded. At , ; for a full-sky cap, and every gives . A directional model that cannot distinguish source from background carries no directional evidence.
Chosen angular acceptance, directional likelihood and repeated background opportunities
. Original exact spherical-cap calculation and uniform-cap signal model. Radii and event counts are chosen illustrations, not IceCube angular resolutions or discovery data. The fixed source direction and independent uniform background assumptions are essential. Details.As an original numerical example, radii and give and , respectively: nearly a hundredfold difference. For a fixed number of independent background events, the binomial distribution givesWith chosen , those radii give approximately and . A small single-event acceptance can become a common coincidence after many opportunities. This probability concerns a fixed cap, rather than a scan for the most favorable cap anywhere. For independent searches with common local tail probability , the corresponding global tail probability is ; overlapping sky searches generally violate that independence. Actual source tests must include directional response, nonuniform exposure, energy information and the look-elsewhere effect in their null calibration.
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.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 41 1 i Solution Created 2026-10-03 Updated 2026-10-14
Let . For , the resulting compound Poisson distribution hasThus the merged claim size probability distribution is a rate-weighted mixture distribution, not an equally weighted mixture distribution unless the rates agree.
To prove this without any moment-generating function assumption, let be the characteristic function of a claim of type . Conditioning on its Poisson distribution count givesIndependence of the aggregate risks therefore givesThe weighted characteristic function inside is precisely that of the displayed mixture distribution. This is the transform of a sum of independent claims with independent count , proving the claim by uniqueness of characteristic functions. This is Poisson superposition of insurance portfolios. If , all risks make no claims almost surely and ; the severity law is then irrelevant.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 43 1 Solution Created 2026-10-03 Updated 2026-10-14
Condition on the claim count, defining the empty sum to be zero. Independence gives . By the law of total expectation,For nonnegative claims this also follows from Tonelli theorem; for signed claims finite and ensure integrability. Conditional independence likewise givesThis random-sum transform identity holds wherever the composed series is finite, or as an extended nonnegative expectation. It is not permission to use an algebraic continuation outside the convergence domain.
For the zero-based geometric distribution, summing the geometric series givesThe exponential distribution of mean has for . ThereforeThe stricter bound is necessary: the geometric series requires . At and above that series diverges; at and above even one claim has an infinite transform. Thus the displayed rational expression represents the moment-generating function only on its stated domain.
Since all claims are strictly positive, exactly when , so . Splitting the transform givesUniqueness of the moment-generating function identifies a mixture distribution with a zero atom of weight and an exponential positive component of weight and rate . In particular,The density integrates to , not one. One can also verify it directly: conditional on , the sum has Erlang distribution density . Multiplying by and summing over gives , the same density. This is the zero-based geometric sum of exponential variables.
Under excess of loss reinsurance, the ceded amount for each claim is , and the monthly reduction is their random sum. The tail integral formula for moments givesConditioning on again yieldsThe retained payment is ; it is generally not .
Under aggregate stop loss reinsurance, the reduction is . The aggregate tail is for , soThe prefactor is positive. Equality with the per-claim recovery is equivalent to , giving the unique reinsurance retentionThis is the relation for equal expected recoveries from excess of loss and stop loss; since , the aggregate reinsurance retention exceeds the individual reinsurance retention. These are reductions in claim payouts, before any reinsurance premium is deducted.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 45 1 Solution 2026-10-14
Condition on the claim count distribution. If and , then independence of the count and the independent and identically distributed random variables givesThe empty sum is zero. The law of total expectation and law of total variance therefore prove the random sum of independent claims formulasFor the variance calculation assume the count and severity have finite second moments; the expectation identity needs the corresponding integrability. Nonnegative claims also permit the expectation identity with extended nonnegative values.
Represent each policy payment as , where is a Bernoulli random variable of parameter , independent of its severity. Equivalently, specifies the payment distribution conditional on a claim. ThenIndependence of the policies makes their variances add. PutThe heterogeneous individual claims model consequently has
For the Poisson approximation, define the severity mixture distributionLet be the individual characteristic functions. Conditioning on each Poisson count and then multiplying transforms of the independent policy payments givesThis is Poisson superposition of insurance portfolios. By the uniqueness theorem for characteristic functions,with count and severities independent. Its compound Poisson distribution has distribution functionwhere is the convolution distribution of independent severities and is the distribution concentrated at zero. Characteristic functions avoid assuming that severity moment-generating functions exist. Since and , the random-sum formulas give
Use to distinguish the second, compound-binomial approximation from the Poisson one. It has with and the same severity law . Thus and . Applying the random sum of independent claims identities again givesHence
Both approximations match the exact expected value. The Cauchy-Schwarz inequality gives , proving the variance comparison for compound portfolio approximations:The excess variances are respectively and . The compound-binomial model is therefore closer in variance; equality with the exact variance occurs when all are equal. This variance comparison is not a general ordering of approximation errors or tail probabilities.
The Poisson replacement is useful when all claim probabilities are small: it replaces the individual restriction of at most one claim by an unrestricted Poisson count, and the variance error is of second order in those probabilities. The compound-binomial replacement retains a count bounded by , but pools both frequencies and severity laws and can lose policy-specific information. If all and all agree, it is exactly the original portfolio law. In a heterogeneous portfolio, agreement of means, or even variances, does not make either approximate law exact. Neither approximation is guaranteed accurate merely by having many policies.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 48 3 ii Solution Created 2026-10-03 Updated 2026-10-14
Group the two terms containing to obtain the mixture distributionThe first component is a Standard Cauchy distribution. The second is normalized becauseFor this symmetric component, let . Its density is , and hence its cumulative distribution function and quantile function areThe independent sign is positive or negative with equal probability. For one sample, use the next three independent uniforms in the given sequence and returnThe Cauchy branch follows from its quantile function, while the other branch follows from the magnitude law and fair sign just derived. Independence of the branch selection and component draws therefore gives exactly the displayed mixture distribution. Discard the zero-probability endpoint draw to keep the computation finite, and use a fresh block of three uniforms for the next sample. This is the symmetric rational mixture sampler.
One can alternatively use the root solution's rejection sampling with a Standard Cauchy distribution proposal. The density ratio is , bounded by because . Accept the Cauchy draw with probability using a fresh independent uniform.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 37 2 Solution Created 2026-10-03 Updated 2026-10-14
For excess of loss reinsurance with retention , the direct insurer caps its payment at and the reinsurer pays the excess. ThusLet and . These are independent Bernoulli random variables, independent of . Since , its conditional law given is a binomial distribution. Conditioning on therefore gives the Bernoulli thinning identityHere the probability generating function may be evaluated on , and the identity extends wherever the transforms converge.
The positive reinsurer marks have the conditional law . HenceThe independent-mark representation is justified as follows. Conditional on any fixed count and pattern of exceedance indicators, the positive excesses are independent with this same conditional law; that law depends neither on the number of exceedances nor on their locations. Averaging over the indicator pattern thus leaves the positive mark sequence independent of . We may extend it by additional independent copies if needed, giving with the stated independence.
Now write . For exponential distribution claim sizes of mean ,Thus is exponential with the original mean , by memorylessness of the exponential distribution. The original zero-based geometric distribution count has . ConsequentlyThis is the geometric count under Bernoulli thinning, withFinally use the Laplace transform of a nonnegative random variable, keeping the mass at zero. For ,The last expression is the transform of a mixture distribution: mass at zero and, with probability , an exponential distribution of rate . Uniqueness of the Laplace transform identifies this zero-based geometric sum of exponential variables:Equivalently, and its positive density is . Therefore the requested exceedance probability isThe prefactor is essential: the aggregate is zero whenever no claim crosses the retention.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 40 2 Solution Created 2026-10-03 Updated 2026-10-14
The state-space model as printed supplies only uncorrelated white noise. That is insufficient for the claimed normal conditional distributions. For example, take normal, independent process noises taking values equally often, and independent Gaussian observation noises. With and no previous observations, is a two-component shifted mixture distribution, not normal for . Its characteristic function is , which has zeros, whereas a normal characteristic function has none. Similarly a non-Gaussian observation noise prevents the asserted conditional normal law for .
The intended scalar Gaussian Kalman recursion requires and independent of each other and of the previous state and observation history. Assume these Gaussian independence conditions, , , and the given normal filtering law. Conditional on the past, is a sum of independent normals, henceThe new observation noise is independent of and the past, so . Write and . The independent normal pair shows directly thatThe covariance comes from the common term. Applying the conditional multivariate normal distribution formula with as the conditioned coordinate gives the Kalman filter updateThe final expression verifies nonnegativity of the posterior variance.
For , defineThe recursions become and . If , then and, with ,The nonnegative solution is the steady-state local-level Kalman gain:For the limit is zero; for it lies strictly between zero and one. These are exact conditional-law results under the additional Gaussian assumptions, not consequences of the weaker printed noise description alone.






