01 / 22

Probability & Statistics
in Biology

Learn how biologists use probability theory and statistical tests to analyze genetic crosses, predict outcomes, and validate hypotheses with data.

College Biology

Why Do Biologists Need Statistics?

Biology is full of variation. No two organisms are identical, experiments have natural noise, and chance plays a role in everything from genetic inheritance to population sampling. Statistics gives us the tools to separate real patterns from random fluctuation.

Predict
Forecast offspring ratios in genetic crosses
Test
Determine if results differ from expectations
Quantify
Measure variation in populations and samples

Probability Fundamentals

Probability is the likelihood of a specific event occurring, expressed as a number between 0 (impossible) and 1 (certain). In biology, we often express this as:

\( P = 0 \)
Event is impossible: it can never occur
\( P = 0.5 \)
Equally likely: a fair coin flip
\( P = 1 \)
Event is certain: it always occurs

The Multiplication & Addition Rules

Two fundamental rules govern how we combine probabilities in genetic problems:

The Normal Distribution

Many biological measurements (height, enzyme activity, leaf size) follow a bell-shaped curve called the normal distribution, described by the mean (\(\mu\)) and standard deviation (\(\sigma\)).

Measurement Value Frequency
\( \mu \)
\( -1\sigma \)
\( +1\sigma \)
68%
\( -2\sigma \)
\( +2\sigma \)

The Chi-Square (\(\chi^2\)) Test

The chi-square goodness-of-fit test determines whether observed results differ significantly from expected results. It is the most widely used statistical test in genetics.

\( O \)
Observed count: the actual number recorded in your experiment
\( E \)
Expected count: the number predicted by the hypothesis

Null Hypothesis & \( p \)-value

Every statistical test starts with a null hypothesis (\(H_0\)): the assumption that there is no significant difference between observed and expected results. Any deviation is due to chance alone.

1
State \( H_0 \): "Observed ratios match the expected Mendelian ratio."
2
Calculate \( \chi^2 \): Measure how far observations deviate from expectations.
3
Find the \( p \)-value: The probability that chance alone could produce a deviation this large or larger.
4
Decide: If \( p < 0.05 \), reject \( H_0 \). If \( p \ge 0.05 \), fail to reject \( H_0 \).

Fail to Reject vs. Accept

A critical distinction in hypothesis testing that students often confuse:

Correct Language Incorrect Language
When \( p \ge 0.05 \) Fail to reject \( H_0 \) "Accept \( H_0 \)"
What it means Data are consistent with \( H_0 \); not enough evidence to disprove it Implies \( H_0 \) is proven true, which is never the case
When \( p < 0.05 \) Reject \( H_0 \) "Accept \( H_A \)"
What it means Data deviate significantly; something other than chance is likely at work Implies \( H_A \) is proven, which overstates the conclusion

Degrees of Freedom

To look up the \( p \)-value from a \( \chi^2 \) table, you need the degrees of freedom (df). This depends on the number of categories in your experiment:

Monohybrid Cross
2 phenotypes: \( \text{df} = 2 - 1 = 1 \)
Dihybrid Cross
4 phenotypes: \( \text{df} = 4 - 1 = 3 \)

How to Perform a \( \chi^2 \) Test

1
State the null hypothesis: Expected ratio matches a predicted model (e.g., \( 3:1 \) Mendelian ratio).
2
Calculate expected values: Multiply total count by the expected proportion for each category.
3
Compute \( \chi^2 \): For each category, find \( \frac{(O - E)^2}{E} \), then sum all values.
4
Determine df: Number of categories minus 1.
5
Compare to critical value: Use a \( \chi^2 \) table at \( p = 0.05 \). If \( \chi^2 > \text{critical value} \), reject \( H_0 \).

Example 1: Monohybrid Cross

A monohybrid cross of \( \text{Bb} \times \text{Bb} \) produces 120 offspring. You expect a \( 3:1 \) ratio of dominant to recessive phenotypes. Observed: 98 purple, 22 white.

Phenotype Observed (O) Expected (E) \( \frac{(O-E)^2}{E} \)
Purple 98 90 \( \frac{(98-90)^2}{90} = 0.711 \)
White 22 30 \( \frac{(22-30)^2}{30} = 2.133 \)

Example 2: Dihybrid Cross

A dihybrid cross of \( \text{BbRr} \times \text{BbRr} \) produces 160 offspring. Expected \( 9:3:3:1 \) ratio.

Phenotype O E \( \frac{(O-E)^2}{E} \)
Purple, Round 95 90 \( 0.278 \)
Purple, Wrinkled 28 30 \( 0.133 \)
White, Round 26 30 \( 0.533 \)
White, Wrinkled 11 10 \( 0.100 \)

Example 3: When to Reject \( H_0 \)

A genetics experiment crosses \( \text{Bb} \times \text{Bb} \) and obtains 200 offspring: 180 purple, 20 white. Expected \( 3:1 \) ratio predicts 150 purple and 50 white.

Probability in Pedigree Analysis

Pedigree analysis uses probability to predict the chance of offspring inheriting a trait. The multiplication rule is essential: you multiply the probability of each independent event along the path.

\( \text{Bb} \)
\( \text{Bb} \)
\( \text{BB} \) or \( \text{Bb} \)
\( P = \frac{3}{4} \)
\( \text{BB} \) or \( \text{Bb} \)
\( P = \frac{3}{4} \)
\( \text{bb} \)
\( P = \frac{1}{4} \)
Carriers Offspring

Sample Size & Standard Error

Larger samples produce more reliable results. The standard error (SE) measures how much a sample statistic is expected to vary from the true population parameter:

\( s \)
Sample standard deviation: measures spread within your sample
\( n \)
Sample size: as \( n \) increases, \( \text{SE} \) decreases, and estimates become more precise

Common Mistakes

✕ Using Percentages Instead of Counts
The \( \chi^2 \) formula requires raw counts (e.g., 90, 30), not percentages (75%, 25%). Using percentages gives an incorrect, much smaller \( \chi^2 \).
✕ "Accepting" the Null Hypothesis
You never "accept" \( H_0 \). You either reject it or fail to reject it. Failing to reject means insufficient evidence, not proof.
✕ Wrong Degrees of Freedom
Using the number of categories directly instead of categories minus one. A dihybrid cross has 4 phenotypes, so \( \text{df} = 3 \), not 4.

Summary Reference Table

Concept Formula / Rule When to Use
Multiplication Rule \( P(A \text{ and } B) = P(A) \times P(B) \) Both events must occur (AND)
Addition Rule \( P(A \text{ or } B) = P(A) + P(B) \) Either event occurs (OR, mutually exclusive)
Chi-Square \( \chi^2 = \sum \frac{(O-E)^2}{E} \) Comparing observed vs. expected counts
Degrees of Freedom \( \text{df} = n - 1 \) Looking up critical \( \chi^2 \) value
Standard Error \( \text{SE} = \frac{s}{\sqrt{n}} \) Estimating precision of sample mean
Significance Threshold \( p = 0.05 \) Deciding to reject or fail to reject \( H_0 \)

Question 1 of 5

In a monohybrid cross of \( \text{Bb} \times \text{Bb} \), what is the expected probability of a homozygous recessive (\( \text{bb} \)) offspring?

Question 2 of 5

A chi-square test yields \( \chi^2 = 5.2 \) with df = 1. The critical value at \( p = 0.05 \) is 3.841. What should you conclude?

Question 3 of 5

A dihybrid cross produces offspring in 4 phenotypic categories. What are the degrees of freedom for a chi-square test of these results?

Question 4 of 5

Two carrier parents (\( \text{Bb} \times \text{Bb} \)) want to know the probability that both of their next two children will have the recessive phenotype. Which calculation is correct?

Question 5 of 5

Why does increasing sample size generally improve the reliability of a statistical test in biology?