01 / 20

Binomial
Distribution

Learn how to model binary outcomes in health and biology using the binomial distribution: from disease risk to clinical trials.

Biostatistics

What Is the Binomial Distribution?

The binomial distribution models the number of successes in a fixed number of independent trials, where each trial has exactly two outcomes: success or failure.

In biostatistics, "success" often means a patient develops a disease, a drug produces a side effect, or a test returns positive: any binary event with a known probability.

Four Conditions for a Binomial Setting

Fixed \( n \)
A predetermined number of trials (e.g., 20 patients).
Independent
The outcome of one trial does not affect another.
Two Outcomes
Each trial results in success or failure only.
Constant \( p \)
The probability of success stays the same for every trial.

Why It Matters in Biostatistics

Many health outcomes are naturally binary: infected or not, recovered or not, tested positive or negative. The binomial distribution lets us quantify the probability of observing specific numbers of these events.

1
Disease risk: What is the chance that exactly 3 out of 10 exposed people get sick?
2
Clinical trials: If a drug has a 70% cure rate, how likely are at least 8 of 10 patients cured?
3
Screening: Among 50 tests with 5% false-positive rate, how many false alarms do we expect?

The Binomial Formula

\( n \)
Total number of trials
\( k \)
Number of successes you want
\( p \)
Probability of success on each trial
\( \binom{n}{k} \)
Number of ways to choose \( k \) successes from \( n \) trials

Visualizing \( \text{Bin}(10, 0.3) \)

0 0.07 0.14 0.21 0.28
\( P(X=k) \)
\(k\) (number of successes)
0 1 2 3 0.267 4 5 6 7 8 9 10
\( n = 10, p = 0.3 \)

Mean and Variance

Mean (Expected Value)
\( \mu = np \)
Variance
\( \sigma^2 = np(1 - p) \)
Standard Deviation
\( \sigma = \sqrt{np(1 - p)} \)

Binomial vs. Poisson

Feature Binomial Poisson
Number of trials Fixed \( n \) Not fixed
Outcome per trial Success / Failure Count of events
Parameter(s) \( n, p \) \( \lambda \) (rate)
When to use Known number of trials Events in time/space
Example 3 of 10 patients infected 5 cases per month in a city

How to Apply the Binomial Formula

1
Verify BITS: Confirm Binary outcomes, Independent trials, fixed number of Trials, Same probability \( p \).
2
Identify parameters: Determine \( n \) (trials), \( k \) (desired successes), and \( p \) (probability per trial).
3
Compute \( \binom{n}{k} \): Calculate the binomial coefficient \( \frac{n!}{k!(n-k)!} \).
4
Plug into the formula: \( P(X = k) = \binom{n}{k} p^k (1-p)^{n-k} \).
5
Interpret: State your answer in context (e.g., "There is a 26.7% probability that exactly 3 patients are infected").

Example 1: Disease Risk

A virus has a 20% infection rate. Out of 5 exposed people, what is the probability that exactly 2 become infected?

1
Parameters: \( n = 5 \), \( k = 2 \), \( p = 0.2 \)
2
Coefficient: \( \binom{5}{2} = \frac{5!}{2! \cdot 3!} = 10 \)
3
Formula: \( P(X = 2) = 10 \times (0.2)^2 \times (0.8)^3 \)
4
Result: \( = 10 \times 0.04 \times 0.512 = 0.2048 \)

Example 2: "At Least" Questions

A vaccine is 90% effective. In a group of 8 vaccinated people, what is the probability that at least 7 are protected?

1
\( P(X=7) = \binom{8}{7}(0.9)^7(0.1)^1 = 8 \times 0.4783 \times 0.1 = 0.3826 \)
2
\( P(X=8) = \binom{8}{8}(0.9)^8(0.1)^0 = 1 \times 0.4305 = 0.4305 \)
3
\( P(X \geq 7) = 0.3826 + 0.4305 = \) 0.8131

Example 3: The Complement Trick

A screening test has a 5% false-positive rate. Among 20 healthy patients, what is the probability that at least one tests positive?

1
\( P(X = 0) = \binom{20}{0}(0.05)^0(0.95)^{20} = (0.95)^{20} \)
2
\( (0.95)^{20} \approx 0.3585 \)
3
\( P(X \geq 1) = 1 - 0.3585 = \) 0.6415

Visualizing the Complement Rule

Entire Sample Space: P = 1
\( P(X = 0) \)
0.3585 No false positives
\( P(X \geq 1) \)
0.6415 At least one false positive

Common Mistakes to Avoid

✕ Forgetting the Coefficient
Writing \( p^k(1-p)^{n-k} \) without \( \binom{n}{k} \) only gives the probability of one specific arrangement, not all of them.
✕ Dependent Trials
Sampling without replacement from a small population violates independence. Use the hypergeometric distribution instead.
✕ Misusing the Complement Rule
Confusing \( P(\text{at least one}) \) with \( 1 - P(X = 1) \). The complement of "at least one" is "none": \( P(X = 0) \).

Summary Reference Table

Property Formula / Rule
PMF \( P(X=k) = \binom{n}{k} p^k (1-p)^{n-k} \)
Mean \( \mu = np \)
Variance \( \sigma^2 = np(1-p) \)
Standard Deviation \( \sigma = \sqrt{np(1-p)} \)
At Least One \( P(X \geq 1) = 1 - (1-p)^n \)
Conditions BITS: Binary, Independent, fixed Trials, Same \( p \)

Question 1 of 5

A drug has a 30% chance of causing a mild side effect. If 6 patients take the drug, what is \( P(X = 2) \)?

Question 2 of 5

What is the mean of a binomial distribution with \( n = 50 \) and \( p = 0.1 \)?

Question 3 of 5

A diagnostic test has a 2% false-positive rate. Among 10 healthy people, what is the probability of zero false positives?

Question 4 of 5

Which scenario does NOT follow a binomial distribution?

Question 5 of 5

In a clinical trial, a treatment has a 60% success rate. With 4 patients, what is \( P(X \geq 3) \)?