Math 111 - Week 12 Notes

Mon, Apr 11

Today we introduced conditional probabilities. We talked about the notation \(P( A \mid B )\) which means “The probability that A happens given that B happened.” We looked at several examples of conditional probabilities that were in last Friday’s workshop on two-way tables.

We also did this example in class where we looked at historical records from a smallpox outbreak in Boston in 1721. The data looked at survival outcomes for smallpox patients versus whether they had been inoculated. Here is a two way table with the results:

  Inoculated Not Inoculated
Survived 238 5136
Died 6 844
Total 244 5980

We answered the following questions about this table.

  1. Find P(Survived|Inoculated)

  2. Find P(Survived|Not Inoculated)

  3. How many times more likely were people to survive if they were inoculated?

  4. What are the explanatory & response variables here?

  5. Why can’t we say that inoculation was definitely the cause of the lower risk of dying?


Wed, Apr 13

Today we introduced weighted tree diagrams. To draw a weighted tree diagram, follow these four rules:

  1. Draw branches that end out outcomes.

  2. Use the probabilities as the weights on the branches.

  3. Multiply probabilities along branches.

  4. Add probabilities from separate branches.

We did this example in class. Suppose that 13% of students in a class get an A on the midterm exam. Of those, 47% also got an A on the final exam. Also, 11% of students who didn’t get an A on the midterm pulled up their grade and got an A on the final exam. The tree diagram for this situation is as follows.

From this you can calculate the following:

  1. What percent of students got an A on the final exam?

We also talked about the Conditional Probability Formula \[P(A \mid B) = \frac{P(A \text{ and } B)}{P(B)}.\]

We used this formula to answer the following question.

  1. A doctor tells you that you need knee surgery. The knee surgery has some risks. There is an 11% chance the surgery will fail to fix the problem. There is also a 4% chance that you will get an infection. Finally there is a 2% chance that both problems will occur. Find the conditional probability of getting an infection if the surgery fails.

We did this workshop in class:


Fri, Apr 15

Today we talked about the birthday problem and about the binomial distribution which is the probability model when you flip a fair or unfair coin with a probability of landing on heads equal to p and count the total number of heads after N flips.