Correlated binary variables

ID: correlated-binary-variables

Let be a fair bit, let be an independent Bernoulli random variable with , and set , where is exclusive or. Thus flips the first bit. This constructs a binary symmetric channel with a fair input, for . The joint probability mass function is
The column sums show that is also a fair bit, whatever is. Both marginal distributions therefore have information entropy one bit. Given , only the flip decision remains unknown, giving conditional entropy , where
is the binary entropy, with . The chain rule for information entropy and the definition of mutual information now give
Take . The four joint probabilities, in row order, are . Directly from the definition of joint entropy,
Conditioning on either value of gives probabilities and for the two values of , hence
Adding would overcount by exactly . These are average uncertainties under the stipulated probability distribution; the four possible pairs are still represented by four distinct outcomes.
Figure 1.
A correlated binary pair contains one bit plus the remaining flip uncertainty
. Original exact-model joint probability mass function for . The bars compare the sum of marginal information entropies with the joint entropy from the chain rule for information entropy. The hatched portion is the mutual information counted twice by the marginal sum. Values are calculated, not empirical frequencies. Details.
There is another way to see the decomposition: is a bijection. It merely relabels the four outcomes, so it preserves joint entropy. The independence of and then gives . Describing the initial bit and the flip decision separates shared uncertainty from new uncertainty.
At , the bits are identical: , so and . At , they are complementary: , with exactly the same conditional entropy and mutual information. In either case, observing one determines the other. At , all four joint probabilities are ; the bits are independent, , and . Perfect disagreement is therefore just as informative as perfect agreement.
Figure 2.
Identical and complementary bits both reveal one full bit of information
. Original calculated curves for the constructed pair : joint entropy , conditional entropy , and mutual information , all in bits. The horizontal line marks the one-bit information entropy of either marginal distribution. Reflection about exchanges likely agreement with likely disagreement while preserving these quantities. Details.
For , guessing succeeds with probability , better than guessing . Changing to replaces by and preserves mutual information, since the relabeling is invertible. What matters is how well the observation distinguishes the input, rather than how often its symbol matches the input. The same symmetry makes the binary entropy curve peak at independence, while the mutual information curve reaches its minimum there.

New to topics? Read the docs here!