01 / 20

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.

Biostatistics

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.

Experiment
A process that produces an observable outcome (e.g., drawing a blood sample).
Outcome
A single result of an experiment (e.g., blood type = A).
Event
A collection of outcomes (e.g., blood type is A or B).

The Sample Space \( S \)

The sample space is the set of all possible outcomes. Every probability calculation starts here.

S Event A Event B
\( A \cap B \)
neither neither

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.

1
Clinical Trials: Calculating the probability a drug is effective vs. placebo.
2
Epidemiology: Estimating the risk of disease in a population.
3
Diagnostic Testing: Determining how accurate a test is (sensitivity, specificity).
4
Genetics: Predicting trait inheritance using Mendelian probability.

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.

S A P(A)
\( A^c \)
\( A^c \)
\( P(A^c) \)

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.

S A only B only
\( A \cap B \)
Subtract the overlap so it is only counted once

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.

New "world" = A
\( A \cap B \)
this is what we want given A happened B

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

1
Define the sample space \( S \). List all possible outcomes for the experiment.
2
Identify the events. Which outcomes belong to event \( A \)? Event \( B \)?
3
Determine the relationship. Are the events mutually exclusive? Independent? Neither?
4
Choose the right formula. Addition rule for "or," multiplication rule for "and," complement for "not."
5
Calculate and verify. Plug in values and check: is the answer between 0 and 1?

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?

0.08 0.04 0.16 Flu only Cold only Both

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}) \).

Smoker Non-Smoker Lung Dis. No Lung Dis. Total 50 30 150 770 200 800

Common Mistakes

✕ Forgetting to Subtract the Overlap
Using \( P(A) + P(B) \) without subtracting \( P(A \cap B) \) double-counts outcomes in both events.
✕ Confusing Independent and Mutually Exclusive
Mutually exclusive events have \( P(A \cap B) = 0 \); independent events have \( P(A \cap B) = P(A) \cdot P(B) \). They are not the same.
✕ Swapping Conditional Direction
\( P(A \mid B) \neq P(B \mid A) \) in general. The probability of disease given a positive test is not the same as the probability of a positive test given disease.

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) \)?