Basic Probability Rules
Master the foundations of probability in biostatistics: from sample spaces and events to the addition and multiplication rules that power every analysis.
What Is Probability?
Probability measures how likely an event is to occur. In biostatistics, we use it to quantify uncertainty: the chance a patient responds to treatment, the likelihood a diagnostic test is correct, or the risk of developing a disease.
The Sample Space \( S \)
The sample space is the set of all possible outcomes. Every probability calculation starts here.
Why Probability in Biostatistics?
Probability is the mathematical backbone of every statistical method used in the life sciences. Without it, we cannot assess risk, evaluate treatments, or draw conclusions from data.
The Complement Rule
The complement of event \( A \), written \( A^c \), is "everything in \( S \) that is not in \( A \)." It gives us a powerful shortcut.
The Addition Rule
The addition rule calculates the probability that at least one of two events occurs. We must subtract the overlap to avoid double-counting.
The Multiplication Rule
The multiplication rule finds the probability that both events occur. It introduces a key concept: conditional probability.
Example: The probability a patient has hypertension is \( P(H) = 0.30 \). Given hypertension, the probability of diabetes is \( P(D \mid H) = 0.25 \). So \( P(H \cap D) = 0.30 \times 0.25 = \) \( 0.075 \).
Conditional Probability
Conditional probability recalculates likelihood after new information narrows the sample space.
Intuition: Once we know \( A \) occurred, our universe shrinks to \( A \). We ask: what fraction of \( A \) also contains \( B \)?
Mutually Exclusive vs. Independent
These two ideas are often confused. They describe fundamentally different relationships between events.
| Mutually Exclusive | Independent | |
|---|---|---|
| Meaning | Cannot happen together | One doesn't affect the other |
| \( P(A \cap B) \) | = 0 | = P(A) \cdot P(B) |
| Venn Diagram | No overlap | Overlap possible |
| Bio Example | Blood type A vs. type B | Left-handedness vs. blood type |
| Can both be true? | No (if \( P > 0 \)) | Yes, often |
How to Apply Probability Rules
Example 1: Addition Rule
In a hospital, \( P(\text{Flu}) = 0.12 \), \( P(\text{Cold}) = 0.20 \), and \( P(\text{Flu} \cap \text{Cold}) = 0.04 \). What is the probability a patient has at least one of these?
There is a 28% chance the patient has the flu, a cold, or both.
Example 2: Multiplication Rule
A screening test for a disease has a \( P(\text{Positive}) = 0.10 \). Among those who test positive, the probability of actually having the disease is \( P(\text{Disease} \mid \text{Positive}) = 0.60 \). Find the probability a random person tests positive and has the disease.
Example 3: Conditional Probability
In a study of 1000 people: 200 are smokers, 80 have lung disease, and 50 are smokers with lung disease. Find \( P(\text{Lung Disease} \mid \text{Smoker}) \).
Common Mistakes
Summary of Probability Rules
| Rule | Formula | When to Use |
|---|---|---|
| Complement | \( P(A^c) = 1 - P(A) \) | "not A" |
| Addition (General) | \( P(A \cup B) = P(A) + P(B) - P(A \cap B) \) | "A or B" |
| Addition (Mutually Excl.) | \( P(A \cup B) = P(A) + P(B) \) | "A or B," no overlap |
| Multiplication (General) | \( P(A \cap B) = P(A) \cdot P(B \mid A) \) | "A and B" |
| Multiplication (Indep.) | \( P(A \cap B) = P(A) \cdot P(B) \) | "A and B," independent |
| Conditional | \( P(B \mid A) = \frac{P(A \cap B)}{P(A)} \) | "B given A" |
Question 1 of 5
If \( P(A) = 0.40 \) and \( P(B) = 0.35 \), and \( A \) and \( B \) are mutually exclusive, what is \( P(A \cup B) \)?
Question 2 of 5
\( P(\text{Disease}) = 0.05 \) and \( P(\text{Positive Test} \mid \text{Disease}) = 0.90 \). What is \( P(\text{Disease} \cap \text{Positive Test}) \)?
Question 3 of 5
In a class of 100 students, 40 study biology and 30 study chemistry, with 10 studying both. What is the probability a randomly chosen student studies neither?
Question 4 of 5
Events \( A \) and \( B \) are independent with \( P(A) = 0.60 \) and \( P(B) = 0.30 \). What is \( P(A \cap B) \)?
Question 5 of 5
A hospital finds that \( P(A \cap B) = 0.12 \) and \( P(B) = 0.40 \). What is \( P(A \mid B) \)?