For any event A we can define tile indicator variable Xa as
For any event A, we can define tile indicator variable Xa as follows Show that two events A and B are independent exactly when their indicator variables Xa and Xb are uncorrelated (have correlation coefficient p = 0).
Solution
They are independent if and only if Pr(XA=1 &XB=1)=pq , where XA=1 with probability p
XA=0 with probability 1- p
where XB=1 with probability q
XB=0 with probability 1- q
covariance between XA and XB COV(XAXB)=E(XAXB) - E(XA)E(XB) =E(XAXB) -pq
E(XAXB) =0.Pr(XAXB=0) +1.Pr(XAXB=1)=
XAXB=1 , if and only if XB=1 and XB=1 Pr(XAXB=1)
So if the covariance is 0 or correlation is 0 then Pr(XA =1 and XB=1)=pq or Pr(XAXB=1)=pq
therefore two events A and B are independent when their indicator variables XA , XB are uncorrelated.
