You note that your officer is happy on 60% of your calls, so you assign a probability of his being happy on your visit as 0.6 or 6/10. You have noticed also that if he is happy, he accedes to your request with a probability of 0.4 or 4/10 whereas if he is not happy, he accedes to the request with a probability of 0.1 or 1/10. You call one day, and he accedes to your request. What is the probability of his being happy?
Bayes' Theorem and Probability Distribution · Question 23 of 49
You note that your officer is happy on 60% of your calls, so you assign a probability of his being happy on your visit…
Solution:
Key idea: Bayes' theorem. If the events are mutually exclusive, together cover every possibility, and an event is known to have happened, then , where the theorem of total probability gives .
Step 1 — Name the events.
We name the possible causes (the hypotheses) and the observed result, so that each probability has a clear meaning.
- : the officer is happy
- : the officer is not happy
- : the officer accedes to your request
Step 2 — Write the probability of each hypothesis.
The officer is happy with probability 0.6, so the officer is not happy with probability .
Step 3 — Write the probability of under each hypothesis.
A happy officer accedes with probability 0.4, and an unhappy officer with probability 0.1.
Step 4 — Find the total probability of .
By the theorem of total probability, we multiply the probability of each hypothesis by the chance of under it and add the results.
Step 5 — Apply Bayes' theorem.
Bayes' theorem divides the term of the sum above by the total probability .
Check: The other hypothesis has , and the two posterior probabilities add to 1, as they must.
Therefore, given that the request was granted, the probability that the officer was happy is .
