Professional Documents
Culture Documents
Theory
Background
Games of chance and gambling in the 17 th
century sparked interests in probability theory
Axiom 2: P(S) = 1
Definition of Probability
Experiment: toss a coin twice
Sample space: possible outcomes of an experiment
S = {HH, HT, TH, TT}
Event: a subset of possible outcomes
A={HH}, B={HT, TH}
Probability of an event : a number assigned to an event, i.e.,
P(A)
Axiom 3:
If an experiment can result in any one of ‘N’ different equally
likely outcomes, and if exactly ‘n’ of these outcomes correspond to
event A, then the probability of event A is:
P(A) = n / N
Example
A coin is tossed twice. What is the probability that at least
1 head occurs?
Example:
A = {You catch Covid-19}
B = {Joe Biden catches Covid-19}
Pr( B ) Pr( A | B )
Pr( B | A)
Pr( A)
Example:
Pr(R) = 0.8
Pr(W|R) R R R: It is a rainy day
Information
Pr(W|R)
R W
Inference
Pr(R|W)
Bayes’ Rule
R R
R: It rains
W 0.7 0.3
W: The grass is wet
W 0.3 0.7
Information: Pr(E|H)
Hypothesis H Evidence E
Posterior Likelihood
Inference: Pr(H|E) Prior
Pr( E | H ) Pr( H )
Pr( H | E )
Pr( E )
Bayes’ Rule
R R
R: It rains
W 0.7 0.3
W: The grass is wet
W 0.3 0.7
Information: Pr(E|H)
Hypothesis H Evidence E
Posterior Likelihood
Inference: Pr(H|E) Prior
Pr( E | H ) Pr( H )
Pr( H | E )
Pr( E )
Reference
Chapter 2: Probability & Statistics for
Engineers & Scientists, 9th edition, Walpole et
al, Prentice Hall (2012).