Alex John Quijano
11/01/2021
Independence vs Dependence
Conditional probability Notation
Introduction to law of total probability and Bayes’ theorem
Let \(A\) and \(B\) be events.
\[P(A \cap B) = P(A)P(B)\] \[P(A|B) = P(A)\] \[P(B|A) = P(B)\]
\[P(A|B) = \frac{P(A \cap B)}{P(B)} \text{, where} P(B) \ne 0\] \[P(B|A) = \frac{P(A \cap B)}{P(A)} \text{, where} P(A) \ne 0\]
10:10
Let \(A\) and \(B\) be events.
\[P(A|B) = \frac{P(B|A)P(A)}{P(B)}\]
where \(P(B) \ne 0\).
Using the law of total probability, we can write Bayes’ theorem as \[P(A|B) = \frac{P(B|A)P(A)}{P(B)} = \frac{P(B|A)P(A)}{\sum_{i=1}^{n} P(B \cap A_i)} = \frac{P(B|A)P(A)}{\sum_{i=1}^{n} P(B|A_i)P(A_i)}.\]
10:10
Today, we discussed the following:
Law of total probability
Bayes’ theorem
COVID testing example
Next, we will discuss:
More on Bayes’ theorem
More on the COVID testing example