Conditional Probability

Introduction

So far in this course, we have looked at individual singular events and unions of multiple singular events. This topic explores when we have an event which is linked to previous events before it. We define this as an event with the condition of another event - "probability of EE, given FF":

P(EF)=P(EF)P(F)\Bbb{P}(E|F) = \dfrac{\Bbb{P}(E \cap F)}{\Bbb{P}(F)}

Independence

Two events are said to be independent if the following holds:

P(EF)=P(E)P(F)\Bbb{P}(E \cap F) = \Bbb{P}(E)\Bbb{P}(F)

This means that the probability of either event occurring has no effect on the other. Events being independent is generally not equivalent to events being mutually exclusive.

This also affects conditional probability calculations, if EE and FF are independent and E=∅̸E = \not \emptyset then:

P(EF)=P(EF)P(F)=P(E)\Bbb{P}(E|F) = \dfrac{\Bbb{P}(E \cap F)}{\Bbb{P}(F)} = \Bbb{P}(E)

Sequence of events

For any given sequence of events, we can say they are all independent if:

P(E1E2...En)=i=1nP(Ei)\Bbb{P}(E_1 \cap E_2 \cap ... \cap E_n) = \displaystyle\prod_{i=1}^n \Bbb{P}(E_i)

There is also a multiplication rule for probabilities:

P(E1E2...En)=P(E1)P(E2E1),...,P(EnE1...En1)\Bbb{P}(E_1 \cap E_2 \cap ... \cap E_n) = \Bbb{P}(E_1)\Bbb{P}(E_2|E_1) \\, ... \\, \Bbb{P}(E_n|E_1 \cap ... \cap E_{n-1})

Law of total probability

Suppose we were to represent the sample space as a union of mutually exclusive events.

S=F1F2...FnS = F_1 \cup F_2 \cup ... \cup F_n

We could then express any given event in that sample space as the following:

P(E)=P(EF1)P(F1)+...+P(EFn)P(Fn)\Bbb{P}(E) = \Bbb{P}(E|F_1)\Bbb{P}(F_1) + ... + \Bbb{P}(E|F_n)\Bbb{P}(F_n)

Bayes theorem

Extending everything we have covered in this topic, we have seen different ways to approach conditions in probability. This culminates in a formula that is often applied to these situations depending on the information you are given.

P(EF)=P(FE)P(E)P(F)\Bbb{P}(E|F) = \dfrac{\Bbb{P}(F|E)\Bbb{P}(E)}{\Bbb{P}(F)}