-- Jan 30 In-Class Exercise Thread
For 2 coin toss, there are 4 possible outcomes, HH, TT, HT, TH. Thus, the sample space S = {HH, TT, HT, TH}.
For X, there are 2 outcomes, HH, HT meet the requirement, thus, Pr{X} = 0.5.
For Y, there are 2 outcomes, TH, HH meet the requirement, thus, Pr{Y} = 0.5.
For Z, there are 2 outcomes, HT, TH meet the requirement, thus, Pr{Z} = 0.5
`P(X \cap Y) = P(HH) = 1/4 = 0.25, P(X) * P(Y) = 0.5 * 0.5 = 0.25`.
Since `P(X \cap Y) = P(X) * P(Y)`, X and Y are independent.
`P(Y \cap Z) = P(TH) = 1/4 = 0.25, P(Y) * P(Z) = 0.5 * 0.5 = 0.25`.
Since `P(Y \cap Z) = P(Y) * P(Z)`, Y and Z are independent.
`P(X \cap Z) = P(HT) = 1/4 = 0.25, P(X) * P(Z) = 0.5 * 0.5 = 0.25`.
Since `P(X \cap Z) = P(X) * P(Z)`, X and Z are independent.
Therefore, X, Y, and Z are pairwise independent.
`P(X \cap Y \cap Z) = 0`, P(X) * P(Y) * P(Z) = 0.5 * 0.5 * 0.5 = 0.125.
Since `P(X \cap Y \cap Z)` != P(X) * P(Y) * P(Z), X, Y, and Z are not mutually independent.
(
Edited: 2019-02-03)
For 2 coin toss, there are 4 possible outcomes, HH, TT, HT, TH. Thus, the sample space S = {HH, TT, HT, TH}.
For X, there are 2 outcomes, HH, HT meet the requirement, thus, Pr{X} = 0.5.
For Y, there are 2 outcomes, TH, HH meet the requirement, thus, Pr{Y} = 0.5.
For Z, there are 2 outcomes, HT, TH meet the requirement, thus, Pr{Z} = 0.5
@BT@P(X \cap Y) = P(HH) = 1/4 = 0.25, P(X) * P(Y) = 0.5 * 0.5 = 0.25@BT@.
Since @BT@P(X \cap Y) = P(X) * P(Y)@BT@, X and Y are independent.
@BT@P(Y \cap Z) = P(TH) = 1/4 = 0.25, P(Y) * P(Z) = 0.5 * 0.5 = 0.25@BT@.
Since @BT@P(Y \cap Z) = P(Y) * P(Z)@BT@, Y and Z are independent.
@BT@P(X \cap Z) = P(HT) = 1/4 = 0.25, P(X) * P(Z) = 0.5 * 0.5 = 0.25@BT@.
Since @BT@P(X \cap Z) = P(X) * P(Z)@BT@, X and Z are independent.
Therefore, X, Y, and Z are pairwise independent.
@BT@P(X \cap Y \cap Z) = 0@BT@, P(X) * P(Y) * P(Z) = 0.5 * 0.5 * 0.5 = 0.125.
Since @BT@P(X \cap Y \cap Z)@BT@ != P(X) * P(Y) * P(Z), X, Y, and Z are not mutually independent.