Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 2.7 - Pairwise independence does not imply mutual independence
Exercise 2.7 - Pairwise independence does not imply mutual independence
Answers
Consider three boolean variables , and take values in 0 or 1 with equal possibility independently and . It is easy to prove that is independent with or , but given both and , the value of is determined and thereby the mutual independence fails. For a detailed examination, denote the space of experiment outcomes by
with the first component denote the value of , the second is for . Then generates the -algebra:
generates:
generates:
One can easily check that each pair out of the triplet and is a pair of independent -algebra, hence meets the pairwise independence.
However, each pair out of the triplet and can span the entire . Then we would have counter examples, e.g., consider
Then
Hence the mutual independence does not hold.
This example comes from cryptography. The only theoretical secure (defined by Shannon) encryption system is the one-pad cipher book. With the message denoted by in binary code, the encryption is done by XOR with a binary key drawn from a cipher book. The result is ciphertext . From a statistical point of view, is equally likely to be the ciphertext of any message, hence the adversary cannot break the security (since the ciphertext can be equally understood as any message, so no specific message prevails). But the encryption is a deterministic process (by using a strictly one-pad cipher book, this cipher is resistant to chosen-plaintext attack as well), so the mutual independence fails.