Bayes Theorem
Study guides: Exam P-1, Exam ACIA-CAPSTONE
Bayes' Theorem is the rule that reverses a conditional probability: it finds P(F \mid E) from P(E \mid F). For events E and F with P(E) > 0, the probability of F given E is
P(F \mid E) = \frac{P(E \mid F)\,P(F)}{P(E)}
P(F)is the prior probability ofF, beforeEis observed.P(F \mid E)is the posterior probability ofF, afterEis observed.P(E \mid F)is the likelihood ofEwhenFholds.
20% of an insurer's policyholders are high-risk and 80% are low-risk. A high-risk policyholder files a claim with probability 0.40, and a low-risk one with probability 0.10. A policyholder files a claim. What is the probability that they are high-risk?
- Let
Fbe "is high-risk" andEbe "files a claim", soP(F) = 0.20andP(E \mid F) = 0.40.- By the law of total probability,
P(E)is0.40(0.20) + 0.10(0.80), which is0.16.P(F \mid E) = \frac{0.40 \times 0.20}{0.16} = 0.50.- The claim raised the probability of high-risk from the prior 0.20 to the posterior 0.50.
Bayes' theorem for a partition
When the events F_1, F_2, \ldots, F_n partition the sample space, the probability of F_j given E is
P(F_j \mid E) = \frac{P(E \mid F_j)\,P(F_j)}{\sum_{i=1}^{n} P(E \mid F_i)\,P(F_i)}
F_1, \ldots, F_nare mutually exclusive and exhaustive: every outcome is in exactly one of them.
The denominator is P(E), found by the law of total probability. The likelihood P(E \mid F_i) can come from each class's distribution: a Poisson probability for a claim count, or a survival probability P(T > t) for "still in force at time t".
60% of drivers have a Poisson claim count with mean 1, and 40% have mean 3. A driver has exactly 2 claims. What is the probability that the driver has mean 3?
- The likelihood of 2 claims is
\frac{e^{-1}\,1^2}{2!} = 0.1839for mean 1 and\frac{e^{-3}\,3^2}{2!} = 0.2240for mean 3.P(E)is0.60(0.1839) + 0.40(0.2240), which is0.2000.- The probability that the driver has mean 3 is
\frac{0.40 \times 0.2240}{0.2000} = 0.448.
Reading the likelihood as the posterior A test flags 95% of defective items and 10% of good ones, and 2% of items are defective. "Flags 95% of defective items" is
P(\text{flagged} \mid \text{defective}), notP(\text{defective} \mid \text{flagged}). The posterior is\frac{0.95 \times 0.02}{0.95 \times 0.02 + 0.10 \times 0.98} = 0.162, far below 0.95.
Practice questions
- Exam ATPA Practice Question 33
- Exam MAS-I Practice Question 11
- Exam MAS-I Practice Question 157
- Exam MAS-I Practice Question 158
- Exam MAS-I Practice Question 159
- CAS Exam MAS-II Fall 2018, Question 28
- CAS Exam MAS-II Fall 2018, Question 31
- CAS Exam MAS-II Fall 2019, Question 19
- CAS Exam MAS-II Spring 2019, Question 30
- SOA Exam P Sample Question 6
- SOA Exam P Sample Question 18
- SOA Exam P Sample Question 19
- SOA Exam P Sample Question 20
- SOA Exam P Sample Question 21
- SOA Exam P Sample Question 22
- SOA Exam P Sample Question 24
- SOA Exam P Sample Question 25
- SOA Exam P Sample Question 26
- SOA Exam P Sample Question 27
- SOA Exam P Sample Question 127
- SOA Exam P Sample Question 133
- SOA Exam P Sample Question 135
- SOA Exam P Sample Question 150
- SOA Exam P Sample Question 151
- SOA Exam P Sample Question 154
- SOA Exam P Sample Question 172
- SOA Exam P Sample Question 186
- SOA Exam P Sample Question 194
- SOA Exam P Sample Question 198
- SOA Exam P Sample Question 199
- SOA Exam P Sample Question 264
- SOA Exam P Sample Question 265
- SOA Exam P Sample Question 288
- SOA Exam P Sample Question 306
- SOA Exam P Sample Question 309
- SOA Exam P Sample Question 314
- SOA Exam P Sample Question 316
- SOA Exam P Sample Question 318
- SOA Exam P Sample Question 329
- SOA Exam P Sample Question 334
- SOA Exam P Sample Question 359
- SOA Exam P Sample Question 363
- SOA Exam P Sample Question 370
- SOA Exam P Sample Question 377
- SOA Exam P Sample Question 398
- SOA Exam P Sample Question 408
- SOA Exam P Sample Question 455
- SOA Exam P Sample Question 468
- SOA Exam P Sample Question 498
- SOA Exam P Sample Question 506