Actuarial Notes

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 of F, before E is observed.
  • P(F \mid E) is the posterior probability of F, after E is observed.
  • P(E \mid F) is the likelihood of E when F holds.

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 F be "is high-risk" and E be "files a claim", so P(F) = 0.20 and P(E \mid F) = 0.40.
  • By the law of total probability, P(E) is 0.40(0.20) + 0.10(0.80), which is 0.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_n are 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.1839 for mean 1 and \frac{e^{-3}\,3^2}{2!} = 0.2240 for mean 3.
  • P(E) is 0.60(0.1839) + 0.40(0.2240), which is 0.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}), not P(\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

Actuarial Notes