Basic Concepts of Probability
Although typically we expect the conditional probability to be different from the probability
of
, it does not have to be different from
. When
, the occurrence of
has no effect on the likelihood of
. Whether or not the event
has occurred is independent of the event
.
Using algebra it can be shown that the equality holds if and only if the equality
holds, which in turn is true if and only if
. This is the basis for the following definition.
Definition
If and
are not independent then they are dependent.
The formula in the definition has two practical but exactly opposite uses:
1. In a situation in which we can compute all three probabilities , and
, it is used to check whether or not the events
and
are independent:
2. In a situation in which each of and
can be computed and it is known that
and
are independent, then we can compute
by multiplying together
and
:
EXAMPLE 23
A single fair die is rolled. Let and
. Are
and
independent?
Solution:
In this example we can compute all three probabilities , and
. Since the product
is not the same number as
, the events
and
are not independent.
EXAMPLE 24
The two-way classification of married or previously married adults under 40 according to gender and age at first marriage in Note 3.48 "Example 21" produced the table
E | W | H | Total | |
---|---|---|---|---|
M | 43 | 293 | 114 | 450 |
F | 82 | 299 | 71 | 452 |
Total | 125 | 592 | 185 | 902 |
Determine whether or not the events F: "female" and E: "was a teenager at first marriage" are independent.
Solution:
The table shows that in the sample of 902 such adults, 452 were female, 125 were teenagers at their first marriage, and 82 were females who were teenagers at their first marriage, so that
Since
is not the same as
we conclude that the two events are not independent.
EXAMPLE 25
Many diagnostic tests for detecting diseases do not test for the disease directly but for a chemical or biological product of the disease, hence are not perfectly reliable. The sensitivity of a test is the probability that the test will be positive when administered to a person who has the disease. The higher the sensitivity, the greater the detection rate and the lower the false negative rate.
Suppose the sensitivity of a diagnostic procedure to test whether a person has a particular disease is 92%. A person who actually has the disease is tested for it using this procedure by two independent laboratories.
a. What is the probability that both test results will be positive?
b. What is the probability that at least one of the two test results will be positive?
Solution:
a. Let denote the event "the test by the first laboratory is positive" and let
denote the event "the test by the second laboratory is positive". Since
and
are independent,
b. Using the Additive Rule for Probability and the probability just computed,
EXAMPLE 26
The specificity of a diagnostic test for a disease is the probability that the test will be negative when administered to a person who does not have the disease. The higher the specificity, the lower the false positive rate.
Suppose the specificity of a diagnostic procedure to test whether a person has a particular disease is 89%.
a. A person who does not have the disease is tested for it using this procedure. What is the probability that the test result will be positive?
b. A person who does not have the disease is tested for it by two independent laboratories using this procedure. What is the probability that both test results will be positive?
Solution:
a. Let denote the event "the test result is positive". The complement of
is that the test result is negative, and has probability the specificity of the test,
. Thus
b. Let denote the event "the test by the first laboratory is positive" and let
denote the event "the test by the second laboratory is positive". Since
and
are independent, by part (a) of the example
EXAMPLE 27
The reliability of a system can be enhanced by redundancy, which means building two or more independent devices to do the same job, such as two independent braking systems in an automobile.
Suppose a particular species of trained dogs has a chance of detecting contraband in airline luggage. If the luggage is checked three times by three different dogs independently of one another, what is the probability that contraband will be detected?
Solution:
Let denote the event that the contraband is detected by the first dog,
the event that it is detected by the second dog, and
the event that it is detected by the third. Since each dog has a
of detecting the contraband, by the Probability Rule for Complements it has a
chance of failing. In symbols,
, and
Let denote the event that the contraband is detected. We seek
. It is easier to find
, because although there are several ways for the contraband to be detected, there is only one way for it to go undetected: all three dogs must fail. Thus
, and
But the events , and
are independent, which implies that their complements are independent, so
Using this number in the previous display we obtain
That is, although any one dog has only a chance of detecting the contraband, three dogs working independently have a
chance of detecting it.
Probabilities on Tree Diagrams
Some probability problems are made much simpler when approached using a tree diagram. The next example illustrates how to place probabilities on a tree diagram and use it to solve a problem.
EXAMPLE 28
A jar contains 10 marbles, 7 black and 3 white. Two marbles are drawn without replacement, which means that the first one is not put back before the second one is drawn.
a. What is the probability that both marbles are black?
b. What is the probability that exactly one marble is black?
c. What is the probability that at least one marble is black?
Solution:
A tree diagram for the situation of drawing one marble after the other without replacement is shown in Figure 3.6 "Tree Diagram for Drawing Two Marbles". The circle and rectangle will be explained later, and should be ignored for now.
Figure 3.6
Tree Diagram for Drawing Two Marbles
The numbers on the two leftmost branches are the probabilities of getting either a black marble, 7 out of 10 , or a white marble, 3 out of 10 , on the first draw. The number on each remaining branch is the probability of the event corresponding to the node on the right end of the branch occurring, given that the event corresponding to the node on the left end of the branch has occurred. Thus for the top branch, connecting the two Bs, it is , where
denotes the event "the first marble drawn is black" and
denotes the event "the second marble drawn is black". Since after drawing a black marble out there are 9 marbles left, of which 6 are black, this probability is
.
The number to the right of each final node is computed as shown, using the principle that if the formula in the Conditional Rule for Probability is multiplied by , then the result is
a. The event "both marbles are black" is and corresponds to the top right node in the tree, which has been circled. Thus as indicated there, it is
.
b. The event "exactly one marble is black" corresponds to the two nodes of the tree enclosed by the rectangle. The events that correspond to these two nodes are mutually exclusive: black followed by white is incompatible with white followed by black. Thus in accordance with the Additive Rule for Probability we merely add the two probabilities next to these nodes, since what would be subtracted from the sum is zero. Thus the probability of drawing exactly one black marble in two tries is
c. The event "at least one marble is black" corresponds to the three nodes of the tree enclosed by either the circle or the rectangle. The events that correspond to these nodes are mutually exclusive, so as in part (b) we merely add the probabilities next to these nodes. Thus the probability of drawing at least one black marble in two tries is
Of course, this answer could have been found more easily using the Probability Law for Complements, simply subtracting the probability of the complementary event, "two white marbles are drawn," from 1 to obtain .
As this example shows, finding the probability for each branch is fairly straightforward, since we compute it knowing everything that has happened in the sequence of steps so far. Two principles that are true in general emerge from this example:
Probabilities on Tree Diagrams
- The probability of the event corresponding to any node on a tree is the product of the numbers on the unique path of branches that leads to that node from the start.
- If an event corresponds to several final nodes, then its probability is obtained by adding the numbers next to those nodes.