Exercise 13.3 · Q11: Three operators: defective item produced by A,
A manufacturer has three machine operators A, B and C. The first operator A produces 1% defective items, where as the other two operators B and C produce 5% and 7% defective items respectively. A is on the job for 50% of the time, B is on the job for 30% of the time and C is on the job for 20% of the time. A defective item is produced, what is the probability that it was produced by A?
(The book prints "where as", a misprint for "whereas".)
Let : the item is produced by operator A, : by operator B, : by operator C, and : the item is defective.
, and form a partition of the sample space (each item is produced by exactly one operator).
Taking the share of time on the job as the share of items produced,
By the theorem of total probability,
By Bayes' theorem,
The probability that the defective item was produced by A is .
Want the reason behind every step, the basics and the checks?
A defective item was made by A, B or C. Operator A is on the job longest, but A's defect rate is by far the lowest, so A makes only a small share of the defective items. Bayes' theorem gives that share: A's route to a defective item divided by all three routes.
- Given
- Operators A, B and C produce 1%, 5% and 7% defective items. A is on the job 50% of the time, B 30% and C 20%. A defective item has been produced.
- To find
- The probability that it was produced by A: .
- Plan
- (1) Name the three causes and the result; check the partition. (2) Turn the percentages into fractions, reading time on the job as share of items. (3) Total probability with three terms. (4) Bayes' theorem.
Basics you need
, , , and for the defect rates. Basics: classical probability
"B and C produce 5% and 7% defective items respectively" gives and . 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 item is produced by operator A;
- : the item is produced by operator B;
- : the item is produced by operator C;
- : the item is defective.
, , form a partition of the sample space (the items produced): each item is produced by exactly one operator, and each operator produces some items.
The operator is the cause; "defective" is the result we observe. We write for the result because A, B and C already name the operators.Partition: pairwise disjoint, exhaustive, nonzero probabilities (Section 13.5.1). Lesson: Bayes' theoremThe six probabilities as fractions
The question gives each operator's share of the time on the job. Reading that as each operator's share of the items produced (the operators work at the same rate), the chance that an item was produced by each operator is
and the defect rates, converted from percentages, are
The question does not say how fast each operator works; the intended reading (and the one behind the book's answer ) is that items are produced at the same rate whoever is on the job, so time shares are item shares. The defect rates are measured inside each operator's own output, so they are conditional probabilities.; a rate inside one group is a conditional probability. Lesson: conditional probabilityThe chance of a defective item
Since , , form a partition, by the theorem of total probability
The tree for Question 11. The rose path (operator A, then defective) has product ; the B and C defective paths (green) have and . Together, . A defective item comes from exactly one operator, so the three path probabilities add. Keeping unsimplified makes the next step easy, because the 1000 cancels.Multiply along a path, add the paths. Basics: tree diagramsProduced by A, given defective: Bayes' theorem
By Bayes' theorem,
The top is operator A's path to a defective item; the bottom is all three paths. Out of every 34 parts of defect probability, only 5 belong to A. The fraction is in lowest terms, since has no factor 5.Dividing by a fraction is multiplying by its flip. Basics: dividing by a fractionA quick sense check
For the other operators, and . Then .
Operator A produces half of all items but only of the defective ones, because A's defect rate is the lowest.
A defective item was produced by exactly one operator, 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 defective item was produced by A is . (Textbook answer: .)
Picture 1000 items. A produces 500 of them, and are defective; B produces 300, with defective; C produces 200, with defective. So items are defective, and A's share is .
- Answering . That is A's share of all items, before we know the item is defective.
- Answering 1%. That is , the chance that A's item is defective, not the chance that a defective item is A's.
- Mixing up the pairs. The 1%, 5%, 7% defect rates and the 50%, 30%, 20% time shares belong to A, B, C in that order.
- Adding the percentages without weights. means nothing here; each rate must be weighted by its operator's share.
- When the causes are shares of time, check that they add to 100% (here ) and read them as the first-stage probabilities.
- A large share of the work with a low defect rate can still mean a small share of the defects.
- Book Example 19 has the same three-machine shape (Examples 15 to 21); Question 8 is the two-machine version.
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) |
| Percentages as probabilities | 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) |
| Common denominators; 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 →