3.4 Bayes theorem
Thomas Bayes (1702-1761), a clergyman and amateur statistician,
was ignored by his contemporaries but has had a profound effect on
modern statistical thinking.
Often interest is in the probability of given but information
is given in terms of the probability of given .
Bayes theorem provides the basis for transforming this
information.
Theorem 3.20 (Bayes theorem).
If and are events in the
sample space with then
|
|
|
|
|
Proof.
end
Therefore
|
|
|
The result follows on rearrangement.
∎
Another way to express this theorem is
|
|
|
|
|
using the law of total probability.
To evaluate the right hand side we require the probabilities
, , and .
When more than two possibilities are present, as when
form a partition of the sample space ,
Bayes’ formula extends to
|
|
|
|
|
|
|
|
|
|
Exercise 3.21.
For the whooping cough exercise above (Example 3.17 on p3.17),
find the probability that a child
is vaccinated given the occurrence of whooping cough.
Solution.
|
|
|
|
|
|
|
|
|
|
Exercise 3.22.
Return to the disease example (Example 3.19 on p3.19). If you receive a positive test result, what is the probability that you have the disease?
Solution.
Recall that is the event “have disease”, with and .
Also that is the event “positive test result”, with and .
Using Bayes’ theorem, we see that
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|