Lecture 2 Prob&Statistics
Lecture 2 Prob&Statistics
• Sample spaces & events (MR 2.1) • Multiplication and total probability
▶ Counting techniques (MR 2.2) rules (MR 2.6)
• The concept of probability • Independence (MR 2.7)
▶ Axioms of probability
▶ Algebraic rules for probabilities • Bayes’ Theorem (MR 2.8)
• Addition rules (MR 2.4) ▶ Simpson’s Paradox
• Conditional probability (MR 2.5)
Axioms of Probability
In any sample space S with numbers P(E ) assigned to all events E , P can be interpreted
as a probability, if it satisfies
(i) P(S) = 1.
(ii) 0 ≤ P(E ) ≤ 1 for any event E .
(iii) For two events E1 , E2 with E1 ∩ E2 = ∅:
Proof:
P(A ∩ B)
P(B|A) = .
P(A)
−→ Interpretation: P(B|A) is the relative frequency of B among the trials that produce
an outcome in event A.
• Question 3: You get the information that the person had been infected. Based on
only this information, what is the probability that the person is vaccinated?
S = E1 ∪ E2 ∪ · · · ∪ Ek and Ei ∩ Ej = ∅ ∀i ̸= j.
• P(A) =
• P(B) =
• P(A ∩ B) =
• P(A|B) =
What is the probability that you cannot get to the 7th floor by elevator?
∏
k
P(E1 ∪ E2 ∪ · · · ∪ Ek ) = 1 − (1 − P(Ei )).
i=1
P(B|A)P(A)
P(A|B) =
P(B)
P(B|A)P(A)
P(A|B) =
P(B)
S = E1 ∪ E2 ∪ . . . ∪ Ek and Ei ∩ Ej = ∅ ∀i ̸= j.
Then
P(A|E1 )P(E1 )
P(E1 |A) = .
P(A|E1 )P(E1 ) + P(A|E2 )P(E2 ) + · · · + P(A|Ek )P(Ek )
E1 = {Normal} ,
E2 = {Lung Cancer} ,
E3 = {Sarcoidosis}
Under the presence of symptoms consistent with biopsy, what are the probabilities for the
diagnoses E1 , E2 and E3 ?
Figure: Wikipedia
Figure: J. v. Kügelen, L. Gresele, B. Schölkopf: Simpson’s paradox in Covid - 19 case fatality rates: a mediation analysis of age-related
causal effects. IEEE transactions on artificial intelligence 2.1 (2021): 18-27.
Figure: J. v. Kügelen, L. Gresele, B. Schölkopf: Simpson’s paradox in Covid - 19 case fatality rates: a mediation analysis of age-related
causal effects. IEEE transactions on artificial intelligence 2.1 (2021): 18-27.