Probability & Statistics
in Biology
Learn how biologists use probability theory and statistical tests to analyze genetic crosses, predict outcomes, and validate hypotheses with data.
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.
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:
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\)).
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.
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.
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:
How to Perform a \( \chi^2 \) Test
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.
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:
Common Mistakes
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?