| Age Group | Hypertension | No Hypertension | Total |
|---|---|---|---|
| 18-39 years | 8836 | 112206 | 121042 |
| 40 to 59 years | 42109 | 88663 | 130772 |
| Greater than 60 years | 39917 | 21589 | 61506 |
| Total | 90862 | 222458 | 313320 |
TB sections 2.2
2025-10-08
Recognize joint, marginal, and conditional probabilities in contingency and probability tables
Mathematically define probability properties that relate to conditional probability (general multiplication rule, independence and conditional probability, and Bayes’ theorem)
Apply probability properties to solve a world problem on positive predictive value (PPV)
Mathematically define probability properties that relate to conditional probability (general multiplication rule, independence and conditional probability, and Bayes’ theorem)
Apply probability properties to solve a world problem on positive predictive value (PPV)
Knowing the age of a patient provides important information about the likelihood of hypertension
While the probability of hypertension of a randomly chosen adult is 0.29…
How can we assemble the full picture of hypertension and age with probabilities?
| Age Group | Hypertension | No Hypertension | Total |
|---|---|---|---|
| 18-39 years | 8836 | 112206 | 121042 |
| 40 to 59 years | 42109 | 88663 | 130772 |
| Greater than 60 years | 39917 | 21589 | 61506 |
| Total | 90862 | 222458 | 313320 |
| Age Group | Hypertension | No Hypertension | Total |
|---|---|---|---|
| 18-39 years | 8836 | 112206 | 121042 |
| 40 to 59 years | 42109 | 88663 | 130772 |
| Greater than 60 years | 39917 | 21589 | 61506 |
| Total | 90862 | 222458 | 313320 |
Joint probability
Marginal probability
Conditional probability
We typically display joint and marginal probabilities in probability table
| Age Group | Hypertension | No Hypertension | Total |
|---|---|---|---|
| 18-39 years | 0.0282 | 0.3581 | 0.3863 |
| 40 to 59 years | 0.1344 | 0.2830 | 0.4174 |
| Greater than 60 years | 0.1274 | 0.0689 | 0.1963 |
| Total | 0.2900 | 0.7100 | 1.0000 |
Joint probability: intersection of row and column
Marginal probability: row or column total
Can we calculate the conditional probability from the probability table?
\[P(\text{hypertension} | \text{18-39 years old}) = P(A | B) = \dfrac{P(A \cap B)}{P(B)}\]
Conditional probability
The conditional probability of an event A given an event or condition B is: \[P(A|B) = \frac{P(A \cap B)}{P(B)}\]
| Age Group | Hypertension | No Hypertension | Total |
|---|---|---|---|
| 18-39 years | 0.0282 | 0.3581 | 0.3863 |
| 40 to 59 years | 0.1344 | 0.2830 | 0.4174 |
| Greater than 60 years | 0.1274 | 0.0689 | 0.1963 |
| Total | 0.2900 | 0.7100 | 1.0000 |
What is the probability of hypertension for someone aged 18-39 years old?
Recall
General multiplication rule
If \(A\) and \(B\) represent two outcomes or events, then \[P(A \cap B) = P(A|B)P(B)\]
This follows from rearranging the definition of conditional probability: \[P(A|B) = \frac{P(A \cap B)}{P(B)} \rightarrow P(A|B)P(B) = P(A \cap B)\]
If two events, say A and B, are independent, then: \[P(A \cap B) = P(A)P(B)\]
We can extend this to conditional probability: \(P(A|B) = \frac{P(A \cap B)}{P(B)}\)
Conditional probability of independent events
If events A and B are independent, then \[P(A|B) =P(A) \text{ and } P(B|A) = P(B)\]
Bayes’ Theorem
In its simplest form: \[P(A|B) = \frac{P(B|A)P(A)}{P(B)}\]
This also translates to: \[P(A | B) = \frac{P(B|A) \cdot P(A)} {P(B|A) \cdot P(A) + P(B|A^c) \cdot P(A^c) }\] because of the Law of Total Probability: \[\begin{aligned}P(B) = & P(B \cap A) + P(B \cap A^C) \\ = &P(B | A)P(A)+ P(B|A^C)P(A^C) \end{aligned}\]
Recognize joint, marginal, and conditional probabilities in contingency and probability tables
Mathematically define probability properties that relate to conditional probability (general multiplication rule, independence and conditional probability, and Bayes’ theorem)
How accurate is rapid testing for COVID-19?
“Based on the results of a clinical study where the iHealth® COVID-19 Antigen Rapid Test was compared to an FDA authorized molecular SARS-CoV-2 test, iHealth® COVID-19 Antigen Rapid Test correctly identified 94.3% of positive specimens and 98.1% of negative specimens.” In October 2022, 83.8 people per 100k in Multnomah County with Covid-19.
Suppose you take the iHealth® rapid test.
What is the probability of a positive test result?
What is the probability of having COVID-19 if you get a positive test result?
What is the probability of not having COVID-19 if you get a negative test result?
From the iHealth® website https://ihealthlabs.com/pages/ihealth-covid-19-antigen-rapid-test-details:
Calculating probabilities for diagnostic tests is done so often in medicine that the topic has some specialized terminology
Define the events in the problem and draw a Venn Diagram
Translate the words and numbers into probability statements
Translate the question into a probability statement
Think about the various definitions and rules of probabilities. Is there a way to define our question’s probability statement (in step 3) using the probability statements with assigned values (in step 2)?
Plug in the given numbers to calculate the answer!
How accurate is rapid testing for COVID-19?
“Based on the results of a clinical study where the iHealth® COVID-19 Antigen Rapid Test was compared to an FDA authorized molecular SARS-CoV-2 test, iHealth® COVID-19 Antigen Rapid Test correctly identified 94.3% of positive specimens and 98.1% of negative specimens.” In October 2022, 83.8 people per 100k in Multnomah County with Covid-19.
Step 1: Let’s define our events of interest
\(D\) = event one has disease (COVID-19)
\(D^c\) = event one does not have disease
\(T^+\) = event one tests positive for disease
\(T^-\) = event one tests negative for disease
How accurate is rapid testing for COVID-19?
“Based on the results of a clinical study where the iHealth® COVID-19 Antigen Rapid Test was compared to an FDA authorized molecular SARS-CoV-2 test, iHealth® COVID-19 Antigen Rapid Test correctly identified 94.3% of positive specimens and 98.1% of negative specimens.” In October 2022, 83.8 people per 100k in Multnomah County with Covid-19.
Step 2: Translate given information into mathematical notation
How accurate is rapid testing for COVID-19?
“Based on the results of a clinical study where the iHealth® COVID-19 Antigen Rapid Test was compared to an FDA authorized molecular SARS-CoV-2 test, iHealth® COVID-19 Antigen Rapid Test correctly identified 94.3% of positive specimens and 98.1% of negative specimens.” In October 2022, 83.8 people per 100k in Multnomah County with Covid-19.
Step 3: Translate the question into a probability statement
How accurate is rapid testing for COVID-19?
“Based on the results of a clinical study where the iHealth® COVID-19 Antigen Rapid Test was compared to an FDA authorized molecular SARS-CoV-2 test, iHealth® COVID-19 Antigen Rapid Test correctly identified 94.3% of positive specimens and 98.1% of negative specimens.” In October 2022, 83.8 people per 100k in Multnomah County with Covid-19.
Step 4 & 5: Define our question’s probability statement using the probability statements with assigned values and calculate
How accurate is rapid testing for COVID-19?
“Based on the results of a clinical study where the iHealth® COVID-19 Antigen Rapid Test was compared to an FDA authorized molecular SARS-CoV-2 test, iHealth® COVID-19 Antigen Rapid Test correctly identified 94.3% of positive specimens and 98.1% of negative specimens.” In October 2022, 83.8 people per 100k in Multnomah County with Covid-19.
Step 4 & 5: Define our question’s probability statement using the probability statements with assigned values and calculate
How accurate is rapid testing for COVID-19?
“Based on the results of a clinical study where the iHealth® COVID-19 Antigen Rapid Test was compared to an FDA authorized molecular SARS-CoV-2 test, iHealth® COVID-19 Antigen Rapid Test correctly identified 94.3% of positive specimens and 98.1% of negative specimens.” In October 2022, 83.8 people per 100k in Multnomah County with Covid-19.
Step 4 & 5: Define our question’s probability statement using the probability statements with assigned values and calculate
Recognize joint, marginal, and conditional probabilities in contingency and probability tables
Mathematically define probability properties that relate to conditional probability (general multiplication rule, independence and conditional probability, and Bayes’ theorem)
Apply probability properties to solve a world problem on positive predictive value (PPV)
Lesson 4 Slides