Contents
- Preface
1Sampling and Data
- Introduction
- 1.1Definitions of Statistics, Probability, and Key Terms
- 1.2Data, Sampling, and Variation in Data and Sampling
- 1.3Frequency, Frequency Tables, and Levels of Measurement
- 1.4Experimental Design and Ethics
- 1.5Data Collection Experiment
- 1.6Sampling Experiment
- Key Terms
- Chapter Review
- Practice
- Homework
- Bringing It Together: Homework
- References
- Solutions
10Hypothesis Testing with Two Samples
- AAppendix A Review Exercises (Ch 3–13)
- BAppendix B Practice Tests (1–4) and Final Exams
- CData Sets
- DGroup and Partner Projects
- ESolution Sheets
- FMathematical Phrases, Symbols, and Formulas
- GNotes for the TI-83, 83+, 84, 84+ Calculators
- HTables
- Index
3.3
Two Basic Rules of Probability
In calculating probability, there are two rules to consider when you are determining if two events are independent or dependent and if they are mutually exclusive or not.
The Multiplication Rule
If A and B are two events defined on a sample space, then P(A AND B) = P(B)P(A|B).
This equation can be rewritten as P(A AND B) = P(B)P(A|B), the multiplication rule.
If A and B are independent, then P(A|B) = P(A). In this special case, P(A AND B) = P(A|B)P(B) becomes P(A AND B) = P(A)P(B).
A bag contains four green marbles, three red marbles, and two yellow marbles. Mark draws two marbles from the bag without replacement. The probability that he draws a yellow marble and then a green marble is
Notice that . After the yellow marble is drawn, there are four green marbles in the bag and eight marbles in all.
The Addition Rule
If A and B are defined on a sample space, then P(A OR B) = P(A) + P(B) − P(A AND B).
Draw one card from a standard deck of playing cards. Let H = the card is a heart, and let J = the card is a jack. These events are not mutually exclusive because a card can be both a heart and a jack.
If A and B are mutually exclusive, then P(A AND B) = 0. Then P(A OR B) = P(A) + P(B) − P(A AND B) becomes
P(A OR B) = P(A) + P(B).
Draw one card from a standard deck of playing cards. Let H = the card is a heart and S = the card is a spade. These events are mutually exclusive because a card cannot be a heart and a spade at the same time. The probability that the card is a heart or a spade is
Example 3.14
Klaus is trying to choose where to go on vacation. His two choices are: A = New Zealand and B = Alaska.
- Klaus can only afford one vacation. The probability that he chooses A is P(A) = .6 and the probability that he chooses B is P(B) = .35.
- P(A AND B) = 0 because Klaus can only afford to take one vacation.
- Therefore, the probability that he chooses either New Zealand or Alaska is P(A OR B) = P(A) + P(B) = .6 + .35 = .95. Note that the probability that he does not choose to go anywhere on vacation must be .05.
Example 3.15
Carlos plays college soccer. He makes a goal 65 percent of the time he shoots. Carlos is going to attempt two goals in a row in the next game. A = the event Carlos is successful on his first attempt. P(A) = .65. B = the event Carlos is successful on his second attempt. P(B) = .65. Carlos tends to shoot in streaks. The probability that he makes the second goal given that he made the first goal is .90.
Problem
a. What is the probability that he makes both goals?
Show solution
Solution
a. The problem is asking you to find P(A AND B) = P(B AND A). Since P(B|A) = .90: P(B AND A) = P(B|A) P(A) = (.90)(.65) = .585.
Carlos makes the first and second goals with probability .585.
Problem
b. What is the probability that Carlos makes either the first goal or the second goal?
Show solution
Solution
b. The problem is asking you to find P(A OR B).
P(A OR B) = P(A) + P(B) − P(A AND B) = .65 + .65 − .585 = .715
Carlos makes either the first goal or the second goal with probability .715.
Problem
c. Are A and B independent?
Show solution
Solution
c. No, they are not, because P(B AND A) = .585.
P(B)P(A) = (.65)(.65) = .423
.423 ≠ .585 = P(B AND A)
So, P(B AND A) is not equal to P(B)P(A).
Problem
d. Are A and B mutually exclusive?
Show solution
Solution
d. No, they are not because P(A and B) = .585.
To be mutually exclusive, P(A AND B) must equal zero.
Try It 3.15
Helen plays basketball. For free throws, she makes the shot 75 percent of the time. Helen must now attempt two free throws. C = the event that Helen makes the first shot.
P(C) = .75. D = the event Helen makes the second shot. P(D) = .75. The probability that Helen makes the second free throw given that she made the first is .85. What is the probability that Helen makes both free throws?
Example 3.16
A community swim team has 150 members. Seventy-five of the members are advanced swimmers. Forty-seven of the members are intermediate swimmers. The remainder are novice swimmers. Forty of the advanced swimmers practice four times a week. Thirty of the intermediate swimmers practice four times a week. Ten of the novice swimmers practice four times a week. Suppose one member of the swim team is chosen randomly.
Problem
a. What is the probability that the member is a novice swimmer?
Show solution
Solution
a. There are 150 members; 75 of these are advanced, and 47 of these are intermediate swimmers. So there are 150 − 75 − 47 = 28 novice swimmers. The probability that a randomly selected swimmer is a novice is
Problem
b. What is the probability that the member practices four times a week?
Show solution
Solution
b.
Problem
c. What is the probability that the member is an advanced swimmer and practices four times a week?
Show solution
Solution
c. There are 40 advanced swimmers who practice four times per week, so the probability is
Problem
d. What is the probability that a member is an advanced swimmer and an intermediate swimmer? Are being an advanced swimmer and being an intermediate swimmer mutually exclusive? Why or why not?
Show solution
Solution
d. P(advanced AND intermediate) = 0, so these are mutually exclusive events. A swimmer cannot be an advanced swimmer and an intermediate swimmer at the same time.
Problem
e. Are being a novice swimmer and practicing four times a week independent events? Why or why not?
Show solution
Solution
e. No, these are not independent events.
P(novice AND practices four times per week) = .0667
P(novice)P(practices four times per week) = .0996
.0667 ≠ .0996
Try It 3.16
A school has 200 seniors of whom 140 will be going to college next year. Forty will be going directly to work. The remainder are taking a gap year. Fifty of the seniors going to college are on their school's sports teams. Thirty of the seniors going directly to work are on their school's sports teams. Five of the seniors taking a gap year are on their schools sports teams. What is the probability that a senior is taking a gap year?
Example 3.17
Felicity attends a school in Modesto, CA. The probability that Felicity enrolls in a math class is .2 and the probability that she enrolls in a speech class is .65. The probability that she enrolls in a math class GIVEN that she enrolls in speech class is .25.
Let M = math class, S = speech class, and M|S = math given speech.
Problem
- What is the probability that Felicity enrolls in math and speech?
Find P(M AND S) = P(M|S)P(S). - What is the probability that Felicity enrolls in math or speech classes?
Find P(M OR S) = P(M) + P(S) − P(M AND S). - Are M and S independent? Is P(M|S) = P(M)?
- Are M and S mutually exclusive? Is P(M AND S) = 0?
Show solution
Solution
a. P(M AND S) = P(M|S)P(S) = .25(.65) = .1625
b. P(M OR S) = P(M) + P(S) − P(M AND S) = .2 + .65 − .1625 = .6875
c. No, P(M|S) = .25 and P(M) = .2.
d. No, P(M AND S) = .1625.
Try It 3.17
A student goes to the library. Let events B = the student checks out a book and D = the student checks out a DVD. Suppose that P(B) = .40, P(D) = .30, and P(D|B) = .5.
- Find P(B AND D).
- Find P(B OR D).
Example 3.18
Researchers are studying one particular type of disease that affects women more often than men. Studies show that about one woman in seven (approximately 14.3 percent) who live to be 90 will develop the disease. Suppose that of those women who develop this disease, a test is negative 2 percent of the time. Also suppose that in the general population of women, the test for the disease is negative about 85 percent of the time. Let B = woman develops the disease and let N = tests negative. Suppose one woman is selected at random.
Problem
a. What is the probability that the woman develops the disease? What is the probability that woman tests negative?
Show solution
Solution
a. P(B) = .143; P(N) = .85
Problem
b. Given that the woman develops the disease, what is the probability that she tests negative?
Show solution
Solution
b. Among women who develop the disease, the test is negative 2 percent of the time, so P(N|B) = .02
Problem
c. What is the probability that the woman has the disease AND tests negative?
Show solution
Solution
c. P(B AND N) = P(B)P(N|B) = (.143)(.02) = .0029
Problem
d. What is the probability that the woman has the disease OR tests negative?
Show solution
Solution
d. P(B OR N) = P(B) + P(N) − P(B AND N) = .143 + .85 − .0029 = .9901
Problem
e. Are having the disease and testing negative independent events?
Show solution
Solution
e. No. P(N) = .85; P(N|B) = .02. So, P(N|B) does not equal P(N).
Problem
f. Are having the disease and testing negative mutually exclusive?
Show solution
Solution
f. No. P(B AND N) = .0029. For B and N to be mutually exclusive, P(B AND N) must be zero.
Try It 3.18
A school has 200 seniors of whom 140 will be going to college next year. Forty will be going directly to work. The remainder are taking a gap year. Fifty of the seniors going to college are on their school's sports teams. Thirty of the seniors going directly to work are on their school's sports teams. Five of the seniors taking a gap year are on their school's sports teams. What is the probability that a senior is going to college and plays sports?
Example 3.19
Problem
Refer to the information in Example 3.18. P = tests positive.
- Given that a woman develops the disease, what is the probability that she tests positive? Find P(P|B) = 1 − P(N|B).
- What is the probability that a woman develops the disease and tests positive? Find P(B AND P) = P(P|B)P(B).
- What is the probability that a woman does not develop the disease? Find P(B′) = 1 − P(B).
- What is the probability that a woman tests positive for the disease? Find P(P) = 1 − P(N).
Show solution
Solution
a. P(P|B) = 1 − P(N|B) = 1 − .02 = .98
b. P(B AND P) = P(P|B)P(B) = .98(.143) = .1401
c. P(B') = 1 − P(B) = 1 − .143 = .857
d. P(P) = 1 − P(N) = 1 − .85 = .15
Try It 3.19
A student goes to the library. Let events B = the student checks out a book and D = the student checks out a DVD. Suppose that P(B) = .40, P(D) = .30, and P(D|B) = .5.
- Find P(B′).
- Find P(D AND B).
- Find P(B|D).
- Find P(D AND B′).
- Find P(D|B′).