A contingency table provides a way of portraying data that can facilitate calculating probabilities. The table helps in determining conditional probabilities quite easily. The table displays sample values in relation to two different variables that may be dependent or contingent on one another. Later on, we will use contingency tables again, but in another manner.
Suppose a study of speeding violations and drivers who use cell phones produced the following fictional data:
|Speeding violation in the last year||No speeding violation in the last year||Total|
|Uses cell phone while driving||25||280||305|
|Does not use cell phone while driving||45||405||450|
The total number of people in the sample is 755. The row totals are 305 and 450. The column totals are 70 and 685. Notice that 305 + 450 = 755 and 70 + 685 = 755.
Calculate the following probabilities using the table.
a. Find P(Driver is a cell phone user).
b. Find P(driver had no violation in the last year).
c. Find P(Driver had no violation in the last year AND was a cell phone user).
d. Find P(Driver is a cell phone user OR driver had no violation in the last year).
e. Find P(Driver is a cell phone user GIVEN driver had a violation in the last year).
f. Find P(Driver had no violation last year GIVEN driver was not a cell phone user)
e. (The sample space is reduced to the number of drivers who had a violation.)
f. (The sample space is reduced to the number of drivers who were not cell phone users.)
Table 3.3 shows the number of athletes who stretch before exercising and how many had injuries within the past year.
|Injury in last year||No injury in last year||Total|
|Does not stretch||231||219||450|
- What is P(athlete stretches before exercising)?
- What is P(athlete stretches before exercising|no injury in the last year)?
Table 3.4 shows a random sample of 100 hikers and the areas of hiking they prefer.
|Sex||The Coastline||Near Lakes and Streams||On Mountain Peaks||Total|
a. Complete the table.
b. Are the events "being female" and "preferring the coastline" independent events?
Let F = being female and let C = preferring the coastline.
- Find P(F AND C).
- Find P(F)P(C)
Are these two numbers the same? If they are, then F and C are independent. If they are not, then F and C are not independent.
c. Find the probability that a person is male given that the person prefers hiking near lakes and streams. Let M = being male, and let L = prefers hiking near lakes and streams.
- What word tells you this is a conditional?
- Fill in the blanks and calculate the probability: P(___|___) = ___.
- Is the sample space for this problem all 100 hikers? If not, what is it?
d. Find the probability that a person is female or prefers hiking on mountain peaks. Let F = being female, and let P = prefers mountain peaks.
- Find P(F).
- Find P(P).
- Find P(F AND P).
- Find P(F OR P).
Table 3.6 shows a random sample of 200 cyclists and the routes they prefer. Let M = males and H = hilly path.
|Gender||Lake Path||Hilly Path||Wooded Path||Total|
- Out of the males, what is the probability that the cyclist prefers a hilly path?
- Are the events “being male” and “preferring the hilly path” independent events?
Muddy Mouse lives in a cage with three doors. If Muddy goes out the first door, the probability that he gets caught by Alissa the cat is and the probability he is not caught is . If he goes out the second door, the probability he gets caught by Alissa is and the probability he is not caught is . The probability that Alissa catches Muddy coming out of the third door is and the probability she does not catch Muddy is . It is equally likely that Muddy will choose any of the three doors so the probability of choosing each door is .
|Caught or Not||Door One||Door Two||Door Three||Total|
- The first entry is P(Door One AND Caught)
- The entry is P(Door One AND Not Caught)
Verify the remaining entries.
a. Complete the probability contingency table. Calculate the entries for the totals. Verify that the lower-right corner entry is 1.
b. What is the probability that Alissa does not catch Muddy?
c. What is the probability that Muddy chooses Door One OR Door Two given that Muddy is caught by Alissa?
Table 3.9 contains the number of crimes per 100,000 inhabitants from 2008 to 2011 in the U.S.
TOTAL each column and each row. Total data = 4,520.7
- Find P(2009 AND Robbery).
- Find P(2010 AND Burglary).
- Find P(2010 OR Burglary).
- Find P(2011|Rape).
- Find P(Vehicle|2008).
Table 3.10 relates the weights and heights of a group of individuals participating in an observational study.
- Find the total for each row and column
- Find the probability that a randomly chosen individual from this group is Tall.
- Find the probability that a randomly chosen individual from this group is Obese and Tall.
- Find the probability that a randomly chosen individual from this group is Tall given that the idividual is Obese.
- Find the probability that a randomly chosen individual from this group is Obese given that the individual is Tall.
- Find the probability a randomly chosen individual from this group is Tall and Underweight.
- Are the events Obese and Tall independent?