Let be the absorption time. Its expectation is finite: from every interior state, a string of at most successive left moves reaches , and the probability of such a string is at least . Hence the Markov property gives , a geometric tail bound, and .
For , one step is always spent before absorption or the remaining walk. Apply first-step analysis and the law of total expectation to the three possible first moves. The conditional expectations of the remaining absorption time are , respectively; independence of future moves gives the same law as a fresh random walk from the new position. Thuswhich rearranges toThe term also appears when the walk stays at , because staying still consumes a step.
The conditional expectation given an event of positive probability isApply the law of total probability to each event :This is the law of total expectation. Interchanging the sums is justified by nonnegative terms, for example by Tonelli theorem, so it remains valid when the expectation is infinite.
The finite-partition form of the law of total expectation statesBecause the events form a partition of a sample space of the sample space, pointwise. Multiply by and use linearity of expectation to obtainAn event of zero probability contributes zero to the middle expression and is omitted from the final expression, so no undefined conditional expectation is multiplied by zero.
For an integrable discrete random variable, the conditional expectation given an event of positive probability isThe sum ranges over the possible values of ; integrability ensures absolute convergence.
For , the success probability is , and the definition of conditional expectation on an event givesThereforeAt the value is zero because the trial has already ended. At the left absorbing state , conditioning on success would be undefined because it has zero probability. The formula concerns the successful trajectories, so it need not equal the unconditional mean .
Compute the conditional expectation from the possible increments:Therefore and . This calculation uses the conditional independence of the two selections, not independence of the successive counts .
Poisson mixture Created 2026-10-05 Updated 2026-10-07
A model with for a nonnegative random intensity. Conditional expectation and total variance give and , explaining overdispersion. A Poisson-gamma mixture gives the negative binomial distribution.
For a submartingale with , its positive part is a submartingale by the conditional Jensen inequality. Thus the displayed conditional expectations increase in . Their limits are finite almost surely and have expectations at most , by the monotone convergence theorem. Conditional monotone convergence and the tower property of conditional expectation give . Moreover . Consequently is a nonnegative supermartingale, , and . The resulting martingale need not have uniform integrability.
Post-randomization adjustment changes a treatment estimand Created 2026-10-07 Updated 2026-10-14
A treatment consequence is not interchangeable with a baseline covariate in an intention-to-treat analysis. Let randomized be independent of , and let actual intervention use be , with and independent centered errors. The assignment changes the mean outcome by one. But the conditional expectation has coefficient zero on . Thus adjustment for the post-randomization variable changes the estimand even in a simple identified linear regression.
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.
Three players with positive integer holdings exchange a token by choosing an unordered active pair uniformly, then choosing the transfer direction fairly. Let be the conserved total, and the stopping time of the first elimination. Given holdings before , the conditional expectation of the change of their product is : transfers in each pair decrease the mean product by the third holding. Thus the displayed stopped process is a martingale. Its nonnegative product term gives , so the monotone convergence theorem first proves integrability of . The bounded product then vanishes by the dominated convergence theorem, yielding . Continuing the deterministic time term beyond elimination instead produces a submartingale.
Rao-Blackwellization Created 2026-10-06 Updated 2026-10-07
Replace an estimator by its conditional expectation given selected information. The mean is unchanged and the variance cannot increase, by the law of total variance. In simulation this produces conditional Monte Carlo estimators. Sufficiency is needed for the classical inferential strengthening, but not for the elementary variance reduction identity.
Regression toward the mean Created 2026-10-03 Updated 2026-10-14
Regression toward the mean is a tendency for measurements selected because they are extreme to be less extreme on repetition. A large first reading can combine a persistent signal with unusually positive measurement error; a fresh error need not repeat that contribution. This can change the selected group's mean even when the underlying signal stays fixed and no intervention occurs.
The claim concerns a conditional expectation, not a rule that every individual moves toward the population mean. Some second readings are more extreme. Nor does an observed change establish a causal effect: selection alone can produce it. The following original normal distribution model makes both distinctions quantitative.
Repeated-measurement latent signal model 2026-10-14
Imagine an instrument measuring the same fixed quantity twice on each unit. Across units the persistent signal is a latent variable; the two measurement errors are fresh, mutually independent random variables, also independent of . Assume they have mean zero and common finite variance , while has mean and variance . ThenThus the Pearson correlation coefficient is when . Both measurements retain the same marginal mean and variance. Repetition does not make the entire population collapse toward ; it changes what we expect after selecting on .
For , further assuming normal distributions for and both measurement errors gives the conditional expectationSince , this predicted reading is closer to than is. Independence and zero mean errors alone do not justify this linear conditional expectation: without the normal distribution assumption the same expression is the linear least-squares projection, and the actual conditional expectation can be nonlinear. Correlated errors, a changing signal, or different error variances require their own model; a noisy reading by itself supplies no universal shrinkage factor.
Repeated singleton-removal allocation 2026-10-31
In repeated uniform balls-in-bins allocation, remove each ball that is alone in its bin and independently reallocate all remaining balls in the next round. If balls remain, the conditional expectation of the next count is for , and zero for . The surviving-ball indicator random variables need not be independent. For two balls and two bins, both remain with probability after rounds, so .
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.
Risk-neutral pricing Created 2026-09-29 Updated 2026-10-14
In a finite-state discrete-time financial market, a replicable terminal financial payoff has the displayed value under any equivalent martingale measure for the bank account numéraire. Here represents current information and conditional expectation averages over future states. The self-financing portfolio's discounted portfolio wealth is a martingale, so its current value equals the discounted expectation of its terminal value. In an incomplete market, nonreplicable claims need not have a unique price; continuous-time extensions require further conditions on admissible trading strategies and integrable discounted wealth.
For the European call option in the example,Discounting the physical expected value instead gives when , or when . Those amounts describe discounted physical expectations, not the replicating portfolio's cost. Holding fixed is crucial: changing beliefs can influence traded prices in a richer financial market model.
Selection on an extreme first measurement 2026-10-14
Select units with first reading , keep that membership fixed, and measure the same units again. The first reading now has a truncated normal distribution. For a general finite threshold , write for the standard normal density and for the standard normal distribution function. Since ,The tower property of conditional expectation lets us average the line over the selected group.[ref] At this givesThe average second reading is below the selection threshold even though every selected first reading exceeded it. This is a group expectation; any finite generated group's sample mean fluctuates around it. Selecting again on would define a different group and answer a different question.
The latent variable decomposition makes the apparent drop especially clear. Gaussian conditioning gives and . ThusThe first measurement error has zero unconditional mean, but positive selected mean. The second measurement error stays centered because it is independent of selection on . The persistent signal never changed.
Simple kriging Created 2026-10-05 Updated 2026-10-18
Simple kriging assumes a known mean function. If and are known, center the observations, predict the residual, and add back the target mean:For known zero mean, these reduce to and . Completing the covariance quadratic form giveswhich proves minimum error variance among predictors of the form . No sum-to-one constraint is needed: the known mean already supplies the offset. In the exponential example from ordinary kriging, imposing known zero mean gives weights , prediction , and error variance . The smaller error variance uses additional knowledge of the mean; it is not a free improvement when the mean is unknown.
If has a joint multivariate normal distribution, the displayed prediction is exactly , and is its conditional variance. A conditional expectation minimizes mean squared error among all square-integrable functions of the observations. Without a joint multivariate normal distribution, simple kriging remains the best predictor in the specified affine class, but the conditional expectation may be nonlinear and its conditional variance may depend on . Thus Gaussian process regression and the second-moment kriging construction agree under these assumptions, while having different starting points.[ref]
State estimation Created 2026-10-03 Updated 2026-10-13
State estimation infers an unobserved state of a dynamical system from its observations and a model of its evolution. An observed position can help estimate an unobserved velocity; repeated noisy observations can help distinguish changes in the state from measurement noise. The result should describe both an estimate and its uncertainty. A Kalman filter does this exactly for a linear Gaussian state-space model, maintaining a conditional expectation and conditional covariance.
The time at which information is available matters. Causal state filtering estimates the present state from observations available now. State prediction estimates a future state from those same observations. Later observations can improve an estimate of a past state, but that is a different information set from the one a live controller had. Kalman explicitly distinguishes these estimation tasks in A New Approach to Linear Filtering and Prediction Problems (1960), section Optimal Estimates.



