Bayes' Formula and Independence: Scott Sheffield
Bayes' Formula and Independence: Scott Sheffield
Bayes' Formula and Independence: Scott Sheffield
600: Lecture 7
Bayes formula and independence
Scott Sheffield
MIT
Outline
Bayes formula
Independence
Outline
Bayes formula
Independence
Recall definition: conditional probability
P(B|A)P(A)
I Bayes formula P(A|B) = P(B) is often invoked as tool
to guide intuition.
Bayes theorem
P(B|A)P(A)
I Bayes formula P(A|B) = P(B) is often invoked as tool
to guide intuition.
I Example: A is event that suspect stole the $10, 000 under my
mattress, B is event that suspect deposited several thousand
dollars in cash in bank last week.
Bayes theorem
P(B|A)P(A)
I Bayes formula P(A|B) = P(B) is often invoked as tool
to guide intuition.
I Example: A is event that suspect stole the $10, 000 under my
mattress, B is event that suspect deposited several thousand
dollars in cash in bank last week.
I Begin with subjective estimates of P(A), P(B|A), and
P(B|Ac ). Compute P(B). Check whether B occurred.
Update estimate.
Bayes theorem
P(B|A)P(A)
I Bayes formula P(A|B) = P(B) is often invoked as tool
to guide intuition.
I Example: A is event that suspect stole the $10, 000 under my
mattress, B is event that suspect deposited several thousand
dollars in cash in bank last week.
I Begin with subjective estimates of P(A), P(B|A), and
P(B|Ac ). Compute P(B). Check whether B occurred.
Update estimate.
I Repeat procedure as new evidence emerges.
Bayes theorem
P(B|A)P(A)
I Bayes formula P(A|B) = P(B) is often invoked as tool
to guide intuition.
I Example: A is event that suspect stole the $10, 000 under my
mattress, B is event that suspect deposited several thousand
dollars in cash in bank last week.
I Begin with subjective estimates of P(A), P(B|A), and
P(B|Ac ). Compute P(B). Check whether B occurred.
Update estimate.
I Repeat procedure as new evidence emerges.
I Caution required. My idea to check whether B occurred, or is
a lawyer selecting the provable events B1 , B2 , B3 , . . . that
maximize P(A|B1 B2 B3 . . .)? Where did my probability
estimates come from? What is my state space? What
assumptions am I making?
Bayesian sometimes used to describe philosophical view
Bayes formula
Independence
Outline
Bayes formula
Independence
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
I Equivalent statement: P(E |F ) = P(E ). Also equivalent:
P(F |E ) = P(F ).
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
I Equivalent statement: P(E |F ) = P(E ). Also equivalent:
P(F |E ) = P(F ).
I Example: toss two coins. Sample space contains four equally
likely elements (H, H), (H, T ), (T , H), (T , T ).
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
I Equivalent statement: P(E |F ) = P(E ). Also equivalent:
P(F |E ) = P(F ).
I Example: toss two coins. Sample space contains four equally
likely elements (H, H), (H, T ), (T , H), (T , T ).
I Is event that first coin is heads independent of event that
second coin heads.
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
I Equivalent statement: P(E |F ) = P(E ). Also equivalent:
P(F |E ) = P(F ).
I Example: toss two coins. Sample space contains four equally
likely elements (H, H), (H, T ), (T , H), (T , T ).
I Is event that first coin is heads independent of event that
second coin heads.
I Yes: probability of each event is 1/2 and probability of both is
1/4.
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
I Equivalent statement: P(E |F ) = P(E ). Also equivalent:
P(F |E ) = P(F ).
I Example: toss two coins. Sample space contains four equally
likely elements (H, H), (H, T ), (T , H), (T , T ).
I Is event that first coin is heads independent of event that
second coin heads.
I Yes: probability of each event is 1/2 and probability of both is
1/4.
I Is event that first coin is heads independent of event that
number of heads is odd?
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
I Equivalent statement: P(E |F ) = P(E ). Also equivalent:
P(F |E ) = P(F ).
I Example: toss two coins. Sample space contains four equally
likely elements (H, H), (H, T ), (T , H), (T , T ).
I Is event that first coin is heads independent of event that
second coin heads.
I Yes: probability of each event is 1/2 and probability of both is
1/4.
I Is event that first coin is heads independent of event that
number of heads is odd?
I Yes: probability of each event is 1/2 and probability of both is
1/4...
Independence
I Say E and F are independent if P(EF ) = P(E )P(F ).
I Equivalent statement: P(E |F ) = P(E ). Also equivalent:
P(F |E ) = P(F ).
I Example: toss two coins. Sample space contains four equally
likely elements (H, H), (H, T ), (T , H), (T , T ).
I Is event that first coin is heads independent of event that
second coin heads.
I Yes: probability of each event is 1/2 and probability of both is
1/4.
I Is event that first coin is heads independent of event that
number of heads is odd?
I Yes: probability of each event is 1/2 and probability of both is
1/4...
I despite fact that (in everyday English usage of the word)
oddness of the number of heads depends on the first coin.
Independence of multiple events