Common-coin averaging 2026-10-14
In the copied-coin model, for every , so the sample mean is exactly , however large is. Its expected value is and its variance is , matching each observation's marginal variance. The off-diagonal covariances in the variance of a sum explain the difference:
For an IID sample, those off-diagonal terms are zero. Repeating the same random input therefore does not create the reduction in fluctuations obtained from fresh independent draws. The general common-plus-individual structure is described by compound-symmetry covariance.
If are independent random variables, each with the uniform distribution on for , then has the symmetric triangular distribution
The convolution of probability densities gives . The overlap of these two intervals has length for and is empty otherwise, proving the formula. By linearity of expectation and the variance of a sum,
For , its upper-tail probability is .
A useful model for elapsed time measured from two independently truncated clock readings uses as the display resolution and as the endpoint-offset difference. Independence is essential: uniform marginal probability distributions alone do not imply this triangular distribution. For example gives with certainty. In general, with the same uniform marginals, .
Efron–Stein inequality Created 2026-09-24 Updated 2026-10-18
The Efron–Stein inequality bounds the variance of a complicated output by the effect of replacing one input at a time. Let be mutually independent random variables, not necessarily identically distributed, and for a measurable function , with . Take with having the same probability distribution as , all inputs mutually independent. Define
Use the same function , keeping every other input fixed. Then
The expected value averages over both the original inputs and their replacements. An infinite right side gives a trivial bound; under the stated square-integrable condition every term is finite.[ref]
For a concrete four-state example, take independent Bernoulli random variables with and , and set . This output records whether either input is one. The states have respective probabilities , so
Replacing changes only when and . A fresh Bernoulli draw can repeat the old value: the replacement is not a forced flip. By independence, the expected value of the squared change is
Similarly,
Thus Efron–Stein inequality gives . The larger second contribution reflects both its replacement probability and how often the other input leaves the output sensitive to it.
Figure 1.
Four weighted states explain the Efron–Stein inequality resampling contributions
. Original constructed model: independent Bernoulli random variables with parameters and , and . Each node shows its joint probability. Directed arrow labels are joint probabilities of the original state and replacement value, rather than conditional transition probabilities. Only solid edges change ; same-state replacements and the dashed edges contribute zero. Both directions count before the factor . Details.
For the same inputs, consider instead . The variance of a sum of independent random variables gives
Here and , so the Efron–Stein inequality is exact: . More generally, for with square-integrable summands, each contribution equals and these variances add exactly.
Independence is essential. Let for a single Bernoulli random variable with parameter , and take . Its variance is one. If each coordinate is nevertheless replaced by an independent draw from its marginal Bernoulli distribution, each squared-change expected value is , giving the false proposed upper bound . Replacement now creates off-diagonal states and that the original input never visits. The original coordinates fail the hypothesis of Efron–Stein inequality.
Figure 2.
The Efron–Stein inequality can be loose, exact, or inapplicable when independence fails
. Exact enumeration in three constructed models: the four-state maximum has variance and bound ; the weighted sum on the same independent inputs has variance and bound ; the dependent model has variance one but marginal replacement produces , which is not a valid bound. Stacked contributions are half the squared-change expected values. The third panel deliberately violates the theorem's assumption. Details.
The attraction is local calculation: a function may involve many inputs, yet changing one can have a simple effect. Each half squared-change expected value supplies a coordinate's contribution to an upper budget for the total variance. Applying Chebyshev's inequality then bounds a tail probability using that budget. These contributions need not partition the actual variance, as the maximum example shows.
The name commemorates Bradley Efron and Charles M. Stein. Their 1981 paper The Jackknife Estimate of Variance appeared in The Annals of Statistics, volume 9, issue 3, pp. 586–596.[ref]
Place balls independently and uniformly into boxes. If indicates that box is empty, then , , and, for ,
Indeed all balls avoid one specified box with probability and two specified boxes with probability . The indicator random variable identities give the expectations, variances, and covariance. Finally proves strict negativity. Thus the number of empty boxes has and by the variance of a sum.
Suppose the variances of a sequence of random variables are bounded by and whenever , for a fixed nonnegative integer . The Cauchy-Schwarz inequality bounds each remaining covariance in absolute value by . In the variance of a sum, there are at most off-diagonal pairs, proving the displayed bound. The Chebyshev inequality makes the average minus its mean converge to zero in probability. If all means equal , the average therefore converges in probability to . Independence of every summand is unnecessary.
For uniform sampling without replacement from a population of objects, the finite population correction accounts for the reduced spread caused by drawing distinct objects. For the marked-object count in a hypergeometric distribution, put . Then
Relative to the corresponding binomial distribution, the variance is multiplied by and the standard deviation by . The square-root convention for the correction is used in Philip Stark's discussion of sample sums.[ref]
The factor has a direct interpretation. For , replacement makes no difference and . For , the entire population is observed and the marked count is exactly , so . In the ten-object, five-draw example, and . The exceptional population size is deterministic and should be handled directly rather than inserting it into a zero denominator.
A short explanation uses an indicator random variable for a marked object at draw . Each has expected value and variance . For distinct draw positions ,
Since , the variance of a sum includes individual terms and ordered covariance terms, giving the displayed correction. Linearity of expectation still gives despite this dependence.
For arbitrary fixed real population values, use for population size and for sample size. Write the finite population mean , the finite population variance and . Under simple random sampling without replacement, the sample mean satisfies
Thus is the variance factor relative to , while is the exact variance ratio to independent uniform sampling with replacement, whose sample mean has variance . The standard error uses the square root of the corresponding factor. These formulas agree because ; the denominator convention must be specified. The sample mean under simple random sampling gives a derivation and an exact six-value example.
Independent random variables Created 2026-09-24 Updated 2026-10-25
Random variables are independent when, for every choice of Borel sets ,
The requirement covers all these events, not only one selected combination of values. Equivalently, the generated sigma-algebras are independent sigma-algebras, or the joint probability distribution is the product measure of the marginal distributions. For an infinite family, the same condition must hold for every finite subfamily. For random elements, replace Borel sets by measurable sets in their specified target spaces.
For discrete random variables, checking every entry of the joint probability mass function is enough:
Summing this identity over the desired sets proves the event formulation. For general real-valued random variables, checking point probabilities alone can say nothing: a pair with no point masses has even when . The all-set definition avoids that trap. See Gautam Iyer, Conditional Probability and Independence, definitions 12, 16 and 18 and proposition 19, with the continuous case treated in his [ref].
For a concrete comparison, let be independent fair bits: each has a Bernoulli distribution with parameter . Their joint probability mass function, with rows and columns , is
All four entries equal the product of the corresponding row and column totals, . For example, : learning one bit leaves the other one's probability distribution unchanged.
Now keep a fair but set . The same marginal distributions give the same product table, yet the actual joint probability mass function is
Here differs from , and . Thus matching marginal distributions does not establish independence. Grinstead and Snell formulate the discrete product criterion in Introduction to Probability, section 4.1, definition 4.4, printed page 143.
Figure 1.
Independence compares every joint probability with the product of the marginals
. Each row compares an actual joint probability mass function with its product of marginal distributions. Marginal totals are shown at the right and bottom of every table; each whole table sums to one. The last example has zero covariance but a visibly different joint table. Details.
Independence is stronger than zero covariance. For square-integrable independent random variables, , so they are uncorrelated random variables. The converse fails: take with a discrete uniform distribution on and . Direct calculation gives
Nevertheless, is a nonconstant function determined by . The event is exactly the event , so , whereas . The positive and negative contributions to the covariance cancel without erasing the statistical dependence.
The usefulness of independence is that a large joint probability distribution can be assembled from small pieces. For fair independent bits, each of the patterns has probability . Products also simplify expected values, and vanishing cross covariances simplify the variance of a sum. Separate measurable functions of independent random variables remain independent: each output event is already an input event, so the defining product rule still applies. These are consequences of a model's independence assumption; whether the assumption describes actual observations is a question for statistical inference.
Multinomial aggregation 2026-10-14
If has a multinomial distribution with trials, group its categories into disjoint nonempty sets covering all categories. The grouped counts in the displayed equation have the multinomial distribution
Each original trial belongs to exactly one group, its group probability is the sum of its category probabilities, and grouping preserves independence between trials. This gives the rule without summing the original probability mass function over every possible internal count pattern.
For the four-trial example with probabilities , merge the last two categories. Their total has the binomial distribution , so and . The same variance follows from the variance of a sum:
Ignoring the negative covariance would give , although the two counts share a fixed total. Multinomial aggregation lets the resolution of category labels change while retaining a consistent model for the counts.
Pairwise independent random variables Created 2026-09-29 Updated 2026-10-14
Random variables are pairwise independent when every two distinct members are independent random variables. Each pair's joint probability distribution must factor for all its events; examining only a pair's covariance is insufficient. Full independence implies pairwise independence by taking the other sets in the definition to be the whole target spaces. The reverse implication fails once there are three or more variables.
Pairwise independence is enough to add variances: for a finite family of square-integrable pairwise independent random variables,
because all cross covariances vanish in the variance of a sum. Thus pairwise independence can support calculations about the size of fluctuations while failing to determine the full joint probability distribution. The following example makes that distinction visible.
The parity construction of pairwise independent bits turns two independent fair bits into three pairwise independent random variables. With , , and , their allowed triples are , each of probability . Every coordinate has the Bernoulli distribution with parameter . Every pair has the same joint probability mass function:
All twelve pair cells equal the product of the corresponding probabilities in their marginal distributions. This establishes pairwise independent random variables, a requirement involving every pair of value-events, rather than merely one chosen event per coordinate. For general real-valued random variables , the requirement is
for every pair of Borel sets . For these binary random variables, checking all four cells of each pair suffices: any value-event is a union of the checked cells. In fact, for binary random variables, independence of their one-value events also gives the other cells by taking complements. Siegrist gives the all-set definition and its connection to indicator random variables in Random Services: independence of random variables.
The full joint probability mass function tells a different story:
The integer parity of is always even. Any two bits determine the third: , , and . Each coordinate is independent of either other coordinate individually, but is dependent on the pair together. For example, the conditional probabilities satisfy and . See also pairwise independence does not imply joint independence for the general distinction.
The constraint changes the sum's probability distribution without changing its expected value or variance. Let . Only gives ; each other allowed triple gives . Direct calculation gives
The same variance follows from the variance of a sum: each Bernoulli distribution has variance , and pairwise independent random variables have zero cross covariances. Linearity of expectation gives the expected value even without independence.
For comparison, the sum of three mutually independent fair bits has the binomial distribution :
Both sums have identical expected values and variances, but never takes the values one or three. Even their third moments differ: , whereas . Pairwise independence preserves these first two sum summaries while allowing a different joint probability distribution and a different sum law. The calculation is an exact finite example.
Figure 1.
Pairwise independence preserves the mean and variance but changes the sum distribution
. The parity construction of pairwise independent bits gives sum probabilities ; three mutually independent fair bits give the binomial distribution probabilities . Both expected values are and both variances are . Details.
Use the usual assumption that the two die scores are independent random variables. A fair score has expected value and variance . Linearity of expectation and the variance of a sum therefore give
Count the ordered pairs of scores to obtain the probability mass functions
On these attainable probability supports, the maxima occur at and , each with probability ; the minima occur at and , each with probability . Outside the respective probability support, the mass is zero.
They are not independent: implies equal die scores and hence is an even number, so , whereas . In fact : this is an example of uncorrelated random variables that are dependent.
Write and let be the triangle count in a binomial random graph. For every three-element set of vertices, let be the indicator random variable that its three edges are present. Then
For two distinct triples , their indicator random variables are independent random variables unless they share an edge. Sharing just one vertex still leaves the sets of relevant edges disjoint. If they share an edge, their union has five edges, and therefore
There are unordered pairs of distinct triangles in a graph sharing an edge: choose that edge, and then choose their two additional vertices. The variance of a sum consequently gives the exact formula
For sufficiently large , the hypothesis ensures , so . Dropping negative terms and simplifying the binomial coefficients,
Here as well. The event implies . Applying the Chebyshev inequality from part (i) gives the requested conclusion:
Thus the triangle count is concentrated around its expectation throughout this range of the binomial random graph.
The autocovariance vanishes beyond lag . For an ordinary consecutive sum, variance of a sum gives
The last sum is finite. For , . Counting all coefficient pairs gives
For the odd-indexed sample the lag- autocovariance is , so the same finite-sum argument gives . Only coefficient pairs of the same parity contribute. If and , the odd-subsample limit is
This is the odd-subsample long-run variance of a moving average. Equivalently it is in the cycles convention. Under the printed invertibility assumption and positive noise variance, the polynomial is nonzero at both and , so both limits are positive. The same formulas also hold without invertibility, when cancellations can make a limit zero.
Let be the indicator random variable of . Then , so linearity of expectation gives
Using variance of a sum and
we obtain
For the circular array, let indicate that bulbs and are both on, with indices read modulo . Then . Non-neighbouring indicators are independent, while
There are individual terms and ordered neighbouring pairs in the double covariance sum, so
The event is exactly . If , Markov inequality gives
If , then implies . By Chebyshev inequality,
Therefore in the second regime.
For random variables with finite second moments, the variance of a sum is
No independence assumption is needed.
Write , so . Each product has mean one, and its variance is
Adjacent products share one factor, giving covariance one by part (a)(iii). Products whose indices differ by at least two involve disjoint independent random variables, so their covariance is zero. There are adjacent pairs. By the variance of a sum,
The random variable is the sum . The linearity of expectation gives
Multiplication by reverses the mean but preserves the variance. Under the independence assumption used in part (b), the variance of a sum gives
Thus both predictions agree with the direct integrals. For the actual elapsed time, adding twenty-five changes the mean to twenty-five minutes and leaves the variance at minute squared.
Without independence, the correct expression is when both marginals are uniform. This explains why independent endpoint errors must be part of the intended model rather than a consequence of the display format.
For finite second moments, the general variance of a sum formula is
Each distinct unordered pair appears once in the second sum and twice when the full square is expanded. No independence assumption is needed.
Assume finite second moments and write . Expanding the squared centered sum gives
This variance of a sum identity does not require independence; the covariance term records the contribution that would otherwise be lost.
Put for . Independence of the underlying exponentials gives and
By the covariance of overlapping independent products, adjacent terms have covariance one. Terms separated by at least two indices use disjoint independent factors, so their covariance is zero. There are adjacent pairs. Linearity of expectation and the variance of a sum formula therefore yield
In particular, the products themselves are not independent merely because the original are.