Conditional probabilities can be computed using the methods developed above if the appropriate information is available. Some times you will however have some information available, such as \(P(A | B)\) but need \(P(B | A)\text{.}\) The ability to "play around with history" by switching what has been presumed to occur leads to an important result known as Baye's Theorem.
Theorem4.6.1Bayes Theorem
Let \(S = \{ S_1, S_2, ... , S_m \}\) where the \(S_k\) are pairwise disjoint and \(S_1 \cup S_2 \cup ... \cup S_m = S\) (i.e. a partition of the space S). Then for any \(A \subset S\)
Marie is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, it has rained only 5 days each year. Unfortunately, the weatherman has predicted rain for tomorrow. When it actually rains, the weatherman correctly forecasts rain 90% of the time. When it doesn't rain, he incorrectly forecasts rain 10% of the time. What is the probability that it will rain on the day of Marie's wedding?
Notice, all days can be classified into one of two disjoint options:
Rainy, in which case we can deduce from the given info that P(Rain) = 5/365
Not Rainy, and since this is the complement of above, P(Not Rain) = 360/365
In the notation of Bayes Theorem, let A represent a forecast of Rain and note you have
\begin{equation*}
P(\text{ Forecast Rain | Not Rain}) = P( A | S_2) = 0.1
\end{equation*}
Notice that the question provided requests that you find the probability of Rain given that the weatherman has forecasted rain. What is given on the other hand is the reverse of that conditional probability. Using Bayes Theorem allows you to turn this around...
So, normally there is only a 5 percent chance of rain on a given day but given that the weatherman has forecast rain, the chance of rain has risen to a little more than 11 percent.
Notice that having the data expressed in tabular form sometimes makes it easier to deal with.
The interactive cell below can be used to easily compute all of the conditional probabilities associated with Bayes's Theorem. Notice how the relative size of the pie-shaped partition changes when you presume that an event in the space has already occurred.
Your automobile insurance company uses past history to determine how to set rates by measuring the number of accidents caused by clients in various age ranges. The following table summarizes the proportion of those insured and the corresponding probabilities by age range:
Age
Proportion of Insured
Probability of Accident
16-20
0.05
0.08
21-25
0.06
0.07
26-55
0.49
0.02
55-65
0.25
0.03
over 65
0.15
0.04
Table4.6.5 Age vs Accident Likelihood
One of your family friends insured by this company has an accident.
Determine the conditional probability that the driver was in the 16-20 age range.
Compare this to the probability that the driver was in the 18-20 age range. Discuss the difference.
Determine how much more the company should charge for someone in the 16-20 age range compared to someone in the 26-55 age range.
Congratulations...your family is having a baby! As part of the prenatal care, some testing is part of the normal procedure including one for spinal bifida (which is a condition in which part of the spinal cord may be exposed.) Indeed, measurement of maternal serum AFP values is a standard tool used in obstetrical care to identify pregnancies that may have an increased risk for this disorder. You want to make plans for the new child's care and want to know how serious to take the test results. However, some times the test indicates that the child has the disorder when in actuality it does not (a false positive) and likewise may indicate that the child does not have the disorder when in fact it does (a false negative.)
The combined accuracy rate for the screen to detect the chromosomal abnormalities mentioned above is approximately 85% with a false positive rate of 5%. This means that (from americanpregnancy.org)
Approximately 85 out of every 100 babies affected by the abnormalities addressed by the screen will be identified. (Positive Positive)
Approximately 5% of all normal pregnancies will receive a positive result or an abnormal level. (False Positive)
Given that your test came back negative, determine the likelihood that the child will actually have spinal bifida.
Given that your test came back negative, determine the likelihood that the child will not have spina bifida
Given that a positive test means you have a 1/100 to 1/300 chance of experiencing one of the abnormalities, determine the likelihood of spinal bifida in a randomly selected child.