The Law of Total Probability
Study guide: Exam P-1
The Law of Total Probability is the rule that finds the probability of an event E by splitting the sample space into scenarios. If the events F_1, F_2, \ldots, F_n partition the sample space, the probability of E is
P(E) = \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.- Each term is the joint probability
P(E \cap F_i), by the multiplication rule. - With two scenarios,
FandF^c, the law has two terms,P(E \mid F)\,P(F)andP(E \mid F^c)\,P(F^c).
The law gives the denominator of Bayes' theorem.
A portfolio is 30% young drivers, 50% middle-aged and 20% senior. Their claim probabilities are 0.20, 0.10 and 0.15. What is the probability that a driver chosen at random has a claim?
Class F_iP(F_i)P(E \mid F_i)P(E \cap F_i)Young 0.30 0.20 0.060 Middle-aged 0.50 0.10 0.050 Senior 0.20 0.15 0.030
- Each row is the share of the portfolio that is in that class and has a claim.
- The rows don't overlap, so they add to
P(E) = 0.14.
Conditioning on a random variable
The scenarios can be the values of a discrete random variable X, since the events \{X = x\} partition the sample space:
P(E) = \sum_x P(E \mid X = x)\,P(X = x)
Two independent claim counts
XandYare each 0, 1 or 2 with probabilities 0.5, 0.3 and 0.2. What is the probability that they are equal?
- Given
X = x, the counts are equal whenY = x, which has probabilityP(Y = x)by independence.P(X = Y)is0.5^2 + 0.3^2 + 0.2^2, which is0.38.
For a continuous random variable Y with density f(y), the sum becomes an integral:
P(E) = \int_{-\infty}^{\infty} P(E \mid Y = y)\,f(y)\,dy
Given its risk parameter
\Lambda = \lambda, a policy has no claims in a year with probabilitye^.\Lambdais uniform on(0, 2). What is the probability of no claims?
- The density of
\Lambdais\frac{1}{2}on(0, 2).- The probability of no claims is
\begin{aligned} &\int_0^2 e^{-\lambda} \cdot \tfrac{1}{2}\,d\lambda \\ &= \frac{1 - e^{-2}}{2} \\ &= 0.432 \end{aligned}
Repeated trials of an unknown class
When the same unknown class F_i produces two events E_1 and E_2, independent within each class, the first event is evidence about the class. The probability of E_2 given E_1 is
P(E_2 \mid E_1) = \frac{\sum_{i} P(E_1 \mid F_i)\,P(E_2 \mid F_i)\,P(F_i)}{\sum_{i} P(E_1 \mid F_i)\,P(F_i)}
25% of drivers are risky and claim in a year with probability 0.4. The rest claim with probability 0.1. Years are independent given the class. A driver claimed last year. What is the probability that they claim next year?
- The denominator is the probability of a claim last year:
0.25(0.4) + 0.75(0.1) = 0.175.- The numerator is the probability of claims in both years,
0.25(0.4)^2 + 0.75(0.1)^2, which is0.0475.P(E_2 \mid E_1) = \frac{0.0475}{0.175} = 0.271, higher than 0.175, because last year's claim makes the risky class more likely.
An unweighted average The plain average of the three claim probabilities above,
\frac{0.20 + 0.10 + 0.15}{3} = 0.15, treats every class as a third of the portfolio. The answer is 0.14, because eachP(E \mid F_i)must be weighted byP(F_i).
Practice questions
- CAS Exam MAS-II Spring 2019, Question 30
- SOA Exam P Sample Question 7
- SOA Exam P Sample Question 84
- SOA Exam P Sample Question 121
- SOA Exam P Sample Question 123
- SOA Exam P Sample Question 148
- SOA Exam P Sample Question 151
- SOA Exam P Sample Question 154
- SOA Exam P Sample Question 162
- SOA Exam P Sample Question 186
- SOA Exam P Sample Question 198
- SOA Exam P Sample Question 199
- SOA Exam P Sample Question 211
- SOA Exam P Sample Question 264
- SOA Exam P Sample Question 265
- SOA Exam P Sample Question 299
- SOA Exam P Sample Question 309
- SOA Exam P Sample Question 314
- SOA Exam P Sample Question 316
- SOA Exam P Sample Question 329
- 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 457
- SOA Exam P Sample Question 460
- SOA Exam P Sample Question 468
- SOA Exam P Sample Question 498
- SOA Exam P Sample Question 530
- SOA Exam P Sample Question 540
- SOA Exam P Sample Question 544
- SOA Exam P Sample Question 546
- SOA Exam P Sample Question 547
- SOA Exam P Sample Question 548
- SOA Exam P Sample Question 564
- SOA Exam P Sample Question 568
- SOA Exam P Sample Question 572
- SOA Exam P Sample Question 647
- Exam P Practice Question 10