
170 Measurement and Data Analysis for Engineering and Science
technique’s reliability (the probability to identify correctly). For this problem, p
1
= 0.14
and p
2
= 0.73 for part [a] and p
2
= 0.90 for part [b]. Substitution of these values into
Equation 5.41 yields P = 0.31 for part [a] and P = 0.59 for part [b]. First, note that
the probability that a sweep event will be detected is only 31 % with a 73 % reliability
of the experimental technique. This in part is because of the relatively low percentage
of sweep event occurrences during the period of operation. Second, an increase in the
technique’s reliability from 73 % to 90 %, or by 17 %, increases the probability from
31 % to 59 %, or by 28 %. An increase in technique reliability increases the probability
of correct detection relatively by a greater amount.
Example Problem 5.9
Statement: Suppose that 4 % of all transistors manufactured at a certain plant
are defective. A test to identify a defective transistor is 97 % accurate. What is the
probability that a transistor identified as defective actually is defective?
Solution: Let event A denote that the transistor actually is defective and event B
that the transistor is indicated as defective. What is P r[A | B]? It is known that P r[A]
= 0.04 and P r[B | A] = 0.97. It follows that Pr[A
0
] = 1 − P r[A] = 0.96 and Pr[B | A
0
]
= 1 − P r[B | A] = 0.03 because the set of all possible events are mutually exclusive
and exhaustive. Direct application of Bayes’ rule gives
P r[A | B] =
(0.97)(0.04)
(0.97)(0.04) + (0.03)(0.96)
= 0.57.
So, there is a 57 % chance that a transistor identified as defective actually is defective.
At first glance, this percentage seems low. Intuitively, the value would be expected to
be closer to the accuracy of the test (97 %). However, this is not the case. In fact, to
achieve a 99 % chance of correctly identifying a defective transistor, the test would
have to be 99.96 % accurate!
It is important to note that the way statistics are presented, either in the
form of probabilities, percentages, or absolute frequencies, makes a notice-
able difference to some people in arriving at the correct result. Studies [6]
have shown that when statistics are expressed as frequencies, a far greater
number of people arrive at the correct result. The previous problem can be
solved again by using an alternative approach [6].
Example Problem 5.10
Statement: Suppose that 4 % of all transistors manufactured at a certain plant
are defective. A test to identify a defective transistor is 97 % accurate. What is the
probability that a transistor identified as defective actually is defective?
Solution:
• Step 1: Determine the base rate of the population, which is the fraction of defective
transistors at the plant (0.04).
• Step 2: Using the test’s accuracy and the results of the first step, determine the
fraction of defective transistors that are identified by the test to be defective (0.04
× 0.97 = 0.04).
• Step 3: Using the fraction of good transistors in the population and the test’s false-
positive rate (1 − 0.97 = 0.03), determine the fraction of good transistors that are
identified by the test to be defective (0.96 × 0.03 = 0.03).