Home page for accesible maths 1 Probability (review)

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

1.4 Conditional Probability

The probability of an event depends not just on the experiment itself but on other information you are given about the experiment. Conditional probability forms a framework in which this additional information can be incorporated.

If A and B are two events then, as long as 𝖯⁡(B)>0, the conditional probability of A given B is written as 𝖯⁡(A|B) and calculated from

𝖯⁡(A|B)=𝖯⁡(A∩B)/𝖯⁡(B).

Note that this is a probability since:

  1. Positivity: 𝖯⁡(A∩B)≥0 and 𝖯⁡(B)>0 so 𝖯⁡(A|B)≥0.

  2. Finiteness: 𝖯⁡(Ω|B)=𝖯⁡(Ω∩B)/𝖯⁡(B)=1.

  3. Additivity: Let A1 and A2 be disjoint sets (A1∩A2=∅). Then A1∩B and A2∩B are also disjoint, so (law of total probability)

    𝖯⁡([A1∪A2]∩B)=𝖯⁡([A1∩B]∪[A2∩B])=𝖯⁡(A1∩B)+𝖯⁡(A2∩B).

    Dividing by 𝖯⁡(B) gives: 𝖯⁡(A1∪A2|B)=𝖯⁡(A1|B)+𝖯⁡(A2|B).

    When events A and B are independent 𝖯⁡(A|B)=𝖯⁡(A).

It is often easiest to evaluate 𝖯⁡(A∩B) using 𝖯⁡(A∩B)=𝖯⁡(A|B)⁢𝖯⁡(B)=𝖯⁡(B|A)⁢𝖯⁡(A).

Bayes theorem inverts the ordering of conditioning for events A and B:

𝖯⁡(B|A)=𝖯⁡(A|B)⁢𝖯⁡(B)/𝖯⁡(A).