A random number generator that returns an integer is run twice. The notation for conditional probability is P(even on 2nd run|odd on 1st run) .
Which notation is the probability of the two events being not independent?
Choices
P(even on 2nd run|odd on 1st run)=P(even on 2nd run)
P(even on 2nd run|odd on 1st run)=P(odd on 1st run and even on 2nd run)/P(odd on 1st run)
P(even on 2nd run|odd on 1st run)=P(odd on 1st run)/P(even on 2nd run)
P(even on 2nd run|odd on 1st run)=P(even on 2nd run)/P(odd on 1st run)
so much text...A={even on 2nd run}B={odd on 1st run}ChoicesP[A|B]=P[A]P[A|B]=P[B∩A]P[B]P[A|B]=P[B]P[A]P[A|B]=P[A]P[B]
1) is true if A and B are independent
2) is always true
3) may or may not be true depending on A and B, it being true doesn't say anything about independence of A and B
4) if A and B are independent then P[A|B] = P[A], and thus this choice shows A and B are not independent