Prerequisites from 6.1. The finite-model definitions and formulas of 6.1 finite probability models are restated first, so that this unit can be read on its own. The new material begins at the section “Probability models and information”.
A sample space lists possible outcomes of a modeled experiment. An event is a subset. A probability assignment satisfies , , and additivity for disjoint events; in a general probability model this extends to countable disjoint unions. For a finite sample space it is enough to assign nonnegative probabilities to outcomes summing to one and add them over events.
Consequently and
To derive the second identity, split into disjoint pieces , , and , then count the overlap only once.
Uniform counting, , is valid only if the finite elementary outcomes are equally likely. A short list of named categories does not make them equally likely.
The multiplication principle counts sequential choices: if stage one has options and each has stage-two options, there are ordered choices. Selecting distinct objects in order from gives . Ignoring order divides by , because each selected -element subset has exactly orderings. Hence
For , define . It renormalizes the possible outcomes after restricting to event . It follows that .
Events are independent when . When , this is equivalent to . Disjoint events with positive probabilities are not independent: their intersection is empty while the product of their probabilities is positive.
If partition the sample space with positive probabilities, then
This is the law of total probability, obtained by adding the disjoint pieces . If , Bayes' formula is
A random variable assigns a real number to each outcome. In this finite model, its distribution is and
The two expressions for the expectation agree by grouping outcomes with the same value. For real constants , distributing the finite outcome sum gives
Thus linearity needs no independence. With and , expanding the square gives
Define the joint distribution by , where the comma means intersection of the two events. Its marginal sums are and , because the corresponding events form disjoint partitions. The variables are independent precisely when for every pair of values. Under this condition,
Define the covariance by . Expanding the square and using linearity proves
For two random variables with finite second moments, independence is sufficient for variance additivity; more generally, their variances add exactly when their covariance is zero. Expanding the variance of a sum produces a cross term , which vanishes for independent variables. Identical marginal distributions alone do not remove that term. All sums used in the proof here are finite, so their rearrangement requires no convergence assumption.
A Bernoulli variable equals one with probability and zero with probability . Thus . Since , .
Let be a nonnegative integer and let be Bernoulli variables with the same success probability . For , mutual independence means that for every ,
This is joint independence, not merely independence of every pair. Set . If and , an ordered outcome with successes has probability . There are distinct choices of its success positions, and those events are disjoint. Therefore
The endpoint cases are stated separately, without evaluating : when , ; when , ; all other values have probability zero. If , the empty sum is with probability one, for every . These are all included in the binomial family.
For and , the displayed probabilities sum to by the binomial theorem; each degenerate case also has total probability one. Linearity gives . Mutual independence implies pairwise independence by summing the joint factorization over the other coordinates, each of whose marginal probabilities sums to one. Hence for . Expanding the squared centered sum now gives
The expectation and variance formulas also hold in the endpoint and empty-sum cases, where is constant. Sampling without replacement generally does not satisfy the mutual-independence assumption.
Probability models and information
Correct fraction arithmetic can still answer the wrong probability question if the experiment, observation procedure or independence assumptions are missing. We use hypothetical finite models to examine hidden conditions, pairwise versus mutual independence, and a host protocol whose details affect an observed posterior. Prerequisites are finite sample spaces, conditional probability, Bayes' formula, expectation and basic counting.
1. Sample-space descriptions
If , the finite conditional-probability ratio is undefined, not automatically zero.
The experiment must specify which outcomes are equally likely. A uniformly selected unordered subset has a different sample description from an ordered sequence, but either is valid if probabilities are assigned consistently. Counting ordered outcomes in the numerator and unordered outcomes in the denominator mixes two sample spaces and is invalid even when both counts are individually correct.
2. Conditional independence need not survive mixing
Choose a hidden coin type with equal probabilities: type H has head probability and type L has head probability . After choosing one type, toss that same coin twice independently conditional on its type. The conditional assumption is explicit; it is not independence after forgetting the type.
Let mean first toss heads and mean second toss heads. Total probability gives . But
not . The events are positively associated in the mixed model. A head makes the high-head type more plausible: , so
The second toss has not been physically altered by the first; the information about the shared hidden type has changed.
For two equally likely types with head probabilities , the same argument gives
Thus equal type biases remove this source of dependence, while unequal biases create it. Replacing each conditional probability by a marginal average and then multiplying would erase exactly this term.
3. Pairwise is weaker than mutual independence
Events are mutually independent if for every nonempty set of indices ,
Pairwise independence imposes this condition only for two-element sets . For three events, the three pair conditions and the triple-intersection condition are all required; the singleton conditions are automatic.
Toss two independent fair bits , with four equally likely outcomes. Let , and . Each has probability . Each pair has exactly one common outcome, so every pairwise intersection has probability , equal to the product. Yet
They are pairwise independent but not mutually independent. Mutual independence justifies the three-event product because its definition includes the triple-intersection condition; pairwise independence alone does not justify that product.
Conditioning on leaves only outcomes and , each with conditional probability . In that conditional model, and always occur together, so , while . Originally independent events can become dependent after selecting a shared condition. The new sample space, not just the notation, has changed.
4. An observation protocol is part of the likelihood
There are three closed boxes, one prize placed uniformly at random. A player first selects box one. A host knows the prize location, always opens an unselected nonprize box, and then offers a switch to the other unopened box. Without conditioning on which box the host opens, switching wins exactly when the player's first choice was wrong, hence with probability . This argument does not require the host's tie-breaking to be uniform, only the stated knowledge and always-open/always-offer protocol.
Now suppose the player observes that the host opened box three. Let denote prize location, and let be the probability the host opens box three when , the case where either unselected box is available. Then
Bayes' rule gives
Uniform tie-breaking means and gives . Always choosing the larger-numbered available box gives and posterior . Never choosing box three when both are available gives and posterior one after that observation. The observation is more or less informative under different protocols, even though the unconditional switch success stays .
There is no contradiction: averaging the conditional outcomes under the corresponding protocol recovers the same unconditional chance. A purported solution that says “one losing box was opened, so the two remaining boxes must be equally likely” supplies neither the relevant likelihoods nor a valid symmetry argument. The host used knowledge to choose the observation, breaking that naive symmetry.
5. Odds expose likelihood versus prior belief
Let be a hypothesis with , and let observed event have positive conditional probabilities under both and . Applying the conditional definition twice yields
The first factor is a likelihood ratio; the second is prior odds. Their product is posterior odds. Evidence can favor a previously unlikely hypothesis without making it more likely than its alternative. Specifically a likelihood ratio greater than one raises its probability, but whether its posterior exceeds one half also depends on the prior odds. This is an algebraic statement about a specified model, not a guarantee about the truth of an actual hypothesis.
Concept lensAlgebraic
Evidence adds on the log-odds scale
Taking logarithms turns the odds identity into a sum: log posterior odds equal log prior odds plus the log of the likelihood ratio. If two observations are conditionally independent given and also given , the likelihood ratio of is the product of the two ratios, so their log contributions simply add. The mixed-coin model is an instance, with the high-head type as hypothesis: each head has likelihood ratio , two heads give , and the even prior odds become posterior probability for that type.
6. Sampling without replacement: expectation does not require independence
Let be integers with , , and . Draw objects sequentially without replacement from distinct objects, of which are marked; at each step choose uniformly among all remaining objects. Every ordered sample of distinct objects then has the same probability. Forgetting order gives the uniform distribution on -element subsets, since each subset has exactly orders. Let count marked selections. For each of the draw positions, define indicator for a marked object and zero otherwise. By symmetry each object is equally likely at a fixed position, so each indicator has marginal probability when . The indicators need not be independent; in degenerate cases such as or , they are constant. For , linearity gives
When , necessarily and , so . When , the permitted draws give a deterministic count, hence . No multiplication of joint probabilities was used, so independence is unnecessary. In contrast, variance of a sum includes covariance terms unless independence or another zero-covariance condition is established. The binomial model from independent replacement trials cannot simply be imposed on this experiment.
For and , the ordered objects at any two distinct draw positions are uniform among the ordered pairs of distinct objects. Exactly such pairs are both marked. Therefore . If , there are no such pairs and the covariance sum is empty. Subtracting gives covariance with . Thus
The finite-population factor makes the variance zero when every object is drawn, as it must: then deterministically. This provides a model-consistency check beyond algebraic substitution.
Proof X-ray
Exchangeability, not independence, carries the variance formula
The derivation never multiplies probabilities of different draws. Two symmetry facts do all the work: a single draw position is uniform over the objects, and two distinct positions are uniform over the ordered pairs of distinct objects. Linearity turns the first fact into the mean. The second gives , and the covariance is negative because a marked object drawn at one position is no longer available at another. The variance expansion then has diagonal terms and off-diagonal ones, and .
Worked examples
Worked example 6.2.1
(One sample space at a time)
Two cards are drawn without replacement from a well-shuffled standard deck. Find the probability that both are aces, first with unordered and then with ordered outcomes, and identify the mixed calculation.
Unordered. All two-card subsets are equally likely, and of them consist of two aces, so the probability is . Ordered. All ordered pairs of distinct cards are equally likely, and of them are two aces, giving again. Each unordered pair corresponds to exactly two ordered pairs, so both numerator and denominator double. The mixed fraction counts unordered favorable outcomes over ordered possible outcomes and is wrong by exactly that factor of .
Worked example 6.2.2
(Evidence from one and from two positive tests)
In a hypothetical model, a condition has prior probability . A test is positive with probability given and given . Find the posterior probability of after one positive result, and after two positive results that are conditionally independent given and given .
The likelihood ratio of one positive result is , and the prior odds are . Posterior odds are , so
The evidence multiplies the odds by , yet the posterior stays below one half because the prior odds were small. For two positive results, conditional independence makes the likelihood ratio , so the posterior odds are and the posterior probability is about . On the log-odds scale the second result adds the same amount as the first; it is the conversion back to probabilities that makes the two steps look so different.
Worked example 6.2.3
(Mean and variance of a sample without replacement)
From objects of which are marked, draw without replacement. Find , and for the number of marked objects drawn.
Here . The section's formulas give
The binomial value would describe five draws with replacement; the factor records the negative covariance between draws. For , all subsets are equally likely and of them avoid the marked objects, so . The mean needed only linearity; this probability needed the full uniform-subset model.
Graded synthesis and diagnostics
- Logical distinction. Prove that two disjoint events with positive probabilities are not independent. Give a finite example of independent events with a nonempty intersection.
- Hidden mixture. Derive the dependence gap for equally likely hidden types, then identify exactly when the two head events are independent in that model.
- Conditional selection. In the two-bit example, compute , and , and diagnose the claim that independence is always preserved by conditioning.
- Host protocol. Derive the observed-box-three switch posterior for general . Explain how it can vary while the unconditional switching success remains .
- Evidence. Prove that a likelihood ratio greater than one raises under the positive-probability assumptions above. Does it force ?
- Sampling. Derive the variance formula for without-replacement sampling from the indicator pair probabilities. Treat separately rather than dividing by .
Full solutions
- Disjointness gives intersection probability zero, whereas positive marginal probabilities have a positive product; independence would equate those unequal numbers. For a nonempty independent example, on the four fair two-bit outcomes take and . Their marginals are and their intersection is the single outcome , with probability .
- Conditional independence gives joint probability , while each marginal is . Their difference is . The events are independent exactly when this gap is zero, namely , including boundary biases. Conditional independence given type held throughout; this conclusion concerns the model after mixing.
- Given , the two surviving outcomes are equally likely. Each marginal is and the intersection has conditional probability , not the product . Thus independence is not generally preserved by conditioning. In this selected model the two events coincide, so the changed dependence has an explicit sample-space explanation.
- The three joint weights for and are . Normalizing makes the switch-success posterior . Unconditionally a first incorrect choice occurs with probability and the protocol then necessarily leaves the prize in the switch box; a first correct choice makes switching lose. Conditioning on one particular host action selects different mixtures of those initial cases as changes, without altering their original probabilities.
- Write prior odds and likelihood ratio . Posterior odds are . The map is increasing for positive because cross multiplication preserves the inequality, so posterior probability exceeds prior probability. It need not exceed one half: if , posterior odds remain below one. For instance a sufficiently small positive prior satisfies that inequality for any fixed finite likelihood ratio.
- Each indicator has variance . For distinct positions, covariance is . Expanding the squared centered sum gives . For , the permitted is zero or one; is respectively zero or the deterministic marked count, so variance is zero directly. If , only the empty draw is permitted and again ; formulas involving are not used.
Quick checks
Quick check
(In the hidden-coin model of section 2, the first toss shows heads and the second shows tails. Find the posterior probability of the high-head type and the probability that a third toss of the same coin shows heads.)
Compute the likelihood ratio of the observed sequence.
Solution · Answer
Given type H the sequence HT has probability , and given type L it has probability . The likelihood ratio is , so the posterior equals the prior: . Conditional independence given the type then gives . One head and one tail carry no net evidence about the type.
Quick check
(With two independent fair bits , let , and . Are and independent? Are mutually independent?)
List the outcomes in each intersection.
Solution · Answer
and has probability , so and are independent; the same computation applies to and , and are independent by construction. But , because contradicts . Its probability differs from , so the three events are pairwise but not mutually independent.
Quick check
(In the host model of section 4, suppose . Find , and check that switching still wins with unconditional probability .)
Compute the posterior after each possible host action and average with the probabilities of those actions.
Solution · Answer
The formula gives , and . If the host opens box two instead, the likelihoods are for , for and for , so and . Averaging the switch-success probabilities, .
Summary and terms
Conditional independence concerns a model after fixing information; marginal independence concerns it after that information is averaged out. Mutual independence controls joint intersections beyond pairs. A protocol specifies how an observation is selected, hence its likelihood. A covariance records a cross term in variance and need not vanish when expectation is additive. The experiment and information flow must be specified before probability formulas can be applied meaningfully.