Exercise 13.3 · Q7: Insured drivers: a scooter driver, given an accident,
An insurance company insured 2000 scooter drivers, 4000 car drivers and 6000 truck drivers. The probability of an accidents are 0.01, 0.03 and 0.15 respectively. One of the insured persons meets with an accident. What is the probability that he is a scooter driver?
Let : the insured person is a scooter driver, : a car driver, : a truck driver, and : the person meets with an accident.
, and form a partition of the sample space (each insured person drives exactly one of these).
Number insured: .
By the theorem of total probability,
By Bayes' theorem,
The probability that he is a scooter driver is .
Want the reason behind every step, the basics and the checks?
An accident can happen to a scooter, car or truck driver, and the numbers of drivers give the chance of each kind. Truck drivers are the most numerous and by far the most accident-prone, so most accidents are theirs. Bayes' theorem gives the scooter drivers' small share of all accidents: their route to an accident divided by all three routes.
- Given
- 2000 scooter, 4000 car and 6000 truck drivers are insured. The probability of an accident is 0.01 for a scooter driver, 0.03 for a car driver and 0.15 for a truck driver. One insured person has an accident.
- To find
- The probability that this person is a scooter driver: .
- Plan
- (1) Name the three causes and the result; check the partition. (2) Turn the counts into and the decimals into fractions. (3) Total probability with three terms. (4) Bayes' theorem.
Basics you need
For a person picked at random from the 12000 insured, . Basics: classical probability
0.01, 0.03 and 0.15 are the chances of an accident for a scooter, car and truck driver, in that order: they are , , . Lesson: conditional probability
is the sum of three paths, and is the path divided by . Lesson: Bayes' theorem
, and add easily. Basics: dividing by a fraction
Solution
Name the events
Let
- : the insured person is a scooter driver;
- : the insured person is a car driver;
- : the insured person is a truck driver;
- : the insured person meets with an accident.
, , form a partition of the sample space (all insured persons): the three groups do not overlap, together they make up all insured people, and none is empty.
The type of vehicle is the cause; the accident is the observed result. The question treats each insured person as belonging to exactly one of the three groups.Partition: pairwise disjoint, exhaustive, nonzero probabilities (Section 13.5.1). Lesson: Bayes' theoremThe six probabilities as fractions
There are insured people, so
and the accident rates, converted from decimals, are
The person who has the accident is one of the insured, and before we know about the accident each insured person is equally likely, so a group's share of the 12000 is its probability. "The probability of an accidents are 0.01, 0.03 and 0.15 respectively" (the book's "an accidents" means "an accident") gives the accident chance inside each group, in the order scooter, car, truck. These are conditional probabilities.for equally likely outcomes. Basics: classical probabilityThe chance of an accident
Since , , form a partition, by the theorem of total probability
The tree for Question 7. The rose path (scooter, then accident) has product ; the car and truck accident paths (green) have and . Together, . An accident happens to exactly one kind of driver, so the three path probabilities add. Keeping unsimplified makes the next step easy, because the 600 cancels.Multiply along a path, add the paths. Basics: tree diagramsA scooter driver, given an accident: Bayes' theorem
By Bayes' theorem,
The top is the scooter path; the bottom is all accident paths. Out of every 52 parts of accident probability, only 1 belongs to scooter drivers.Dividing by a fraction is multiplying by its flip. Basics: dividing by a fractionA quick sense check
For the other drivers, and . Then .
Scooter drivers are of the insured but only of the accidents, because they have the lowest accident rate; truck drivers have of the accidents.
Given an accident, it happened to exactly one kind of driver, so the three updated probabilities must add to 1.The posterior probabilities of a partition add to 1. Lesson: Bayes' theorem
The probability that the person who met with an accident is a scooter driver is . (Textbook answer: .)
Expected accidents in each group: scooter drivers, car drivers and truck drivers, so in all. The scooter share is , the same as .
- Answering 0.01. That is , the chance that a scooter driver has an accident, not the chance that an accident victim is a scooter driver.
- Answering . That is the share of scooter drivers among the insured, before we know about the accident.
- Adding 0.01, 0.03 and 0.15. The accident rates must first be weighted by the size of each group.
- Taking as each. The groups have different sizes, 2000, 4000 and 6000.
- With counts given, the first-stage probabilities are the group sizes over the total; with rates given, the second-stage probabilities are the rates themselves.
- Expected counts (here, accidents per group) give a quick check of any Bayes answer.
- The same shape with machines and defective items is book Example 19 (Examples 15 to 21); the equal-chance three-cause version is Question 6.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Partition of a sample space | Step 1 | Section 13.5.1 (Lesson: Bayes' theorem) |
| for equally likely outcomes | Step 2 | Classical probability, Class XI (Basics: classical probability) |
| Conditional probability | Step 2 | Section 13.2 (Lesson: conditional probability) |
| Theorem of total probability (three events) | Step 3 | Section 13.5.2 (Lesson: Bayes' theorem) |
| Bayes' theorem | Steps 4, 5 | Section 13.5; Example 19 has three machines (Examples 15 to 21) |
| Fractions with a common denominator; dividing by a fraction | Steps 3, 4 | Arithmetic (Basics: dividing by a fraction) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →