SECTION 1
Historical Context & Motivation
How to Use This Lesson
Imagine a family learns that a genetic condition, like cystic fibrosis, runs in their family tree. A family member wants to know: "What are my chances of being a carrier?" At first, you might guess based on simple Mendelian ratios. But what if that person has three healthy children — does that change the odds? This is exactly the kind of question that Bayes' theorem helps us answer. It is a mathematical tool that lets us update probabilities when new evidence appears.
The theorem is named after Reverend Thomas Bayes, an 18th-century English minister and mathematician. Bayes never published his famous idea during his lifetime — a friend sent it to the Royal Society after Bayes died. Over the centuries, scientists in many fields adopted the theorem. Geneticists found it especially powerful because family pedigrees constantly give us new clues that should shift our predictions.
1763 • Bayes' Essay Published Posthumously
1865 • Mendel's Laws of Inheritance
1950s • Genetic Counseling Emerges
2000s–Today • Genomic Screening & Modern Diagnostics
The core question Bayes' theorem answers in genetics is this: Given what we already know from a pedigree AND some new piece of evidence, what is the updated probability that a person has a certain genotype? Let's explore how this works step by step.
SECTION 2
Core Principles & Definitions
Before diving into the math, you need to understand a few key ideas. Bayes' theorem rests on the concept of conditional probability — the chance of something happening given that something else is already true. For example, the probability that someone is a carrier given that they have three unaffected children is a conditional probability.
Prior Probability
Conditional Probability (Likelihood)
Posterior Probability
Pedigree (Family Tree)
KEY TAKEAWAY
SECTION 3
How Bayes' Theorem Updates Probability — A Visual
The diagram below shows how Bayes' theorem works in a genetics scenario. A couple who are both carriers of an autosomal recessive condition (genotype Aa) has a child. Mendelian genetics predicts a 1/4 chance of being affected (aa), a 2/4 chance of being a carrier (Aa), and a 1/4 chance of being homozygous normal (AA). Among the unaffected children, 2/3 are carriers and 1/3 are homozygous normal — these are our prior probabilities. Then we add new evidence: the child has three unaffected children of their own (with a known carrier partner). The diagram shows how the posterior probability is calculated.
Scaffolding Note
Notice how the evidence changed our estimate. Before knowing about the children, we said there was a 67% chance of being a carrier. After learning about three healthy children, that dropped to about 46%. The evidence didn't prove anything for certain — the person might still be a carrier — but it shifted the balance of probability. This is the power of Bayesian reasoning: every piece of evidence nudges the probability in one direction or the other.
SECTION 4
The Mathematical Framework
Prerequisite Check
Now let's look at the formula itself. Don't worry — we will break it down piece by piece. In genetics, we usually apply Bayes' theorem to two competing hypotheses: a person either has genotype A or genotype B. We want to find the probability of genotype A given some observed evidence E.
BAYES' THEOREM (GENERAL FORM)
P(A | E) = posterior probability of genotype A given evidence E. P(A) = prior probability of genotype A. P(E | A) = conditional probability of seeing the evidence if genotype A is true. P(B) = prior probability of the alternative genotype B. P(E | B) = conditional probability of seeing the evidence if genotype B is true.
In genetics, many counselors use a handy table method instead of plugging into the formula directly. You set up columns for each possible genotype and rows for the prior, the conditional, and the joint probability. Then the posterior is just the joint for your genotype divided by the total of all joints. This table approach makes even complex problems manageable.
POSTERIOR VIA TABLE METHOD
Where Joint(A) = Prior(A) × Conditional(A) and Joint(B) = Prior(B) × Conditional(B). This is mathematically identical to the formula above but easier to organize.
CONDITIONAL FOR UNAFFECTED CHILDREN (AUTOSOMAL RECESSIVE)
When two carriers of an autosomal recessive condition have children, each child has a 3/4 chance of being unaffected. For n independent children, multiply (3/4) by itself n times. If the person is NOT a carrier but their partner is, all children will be unaffected, so the conditional is 1.
Why Does This Matter?
SECTION 5
Setting Up a Bayesian Pedigree Problem
Let's see how to use Bayes' theorem with a real pedigree. The diagram below shows a family with an autosomal recessive condition. Individual III-1 wants to know: what is the probability she is a carrier? Her grandparents (I-1 and I-2) are both carriers. Her father (II-1) is unaffected, and her uncle (II-3) is affected. She has married a known carrier and has had two unaffected children.
To set up this problem, we need to work in two stages. Stage 1: figure out whether III-1's father (II-1) is AA or Aa. Since his brother II-3 is affected (aa), we know both grandparents are Aa. Among unaffected offspring of Aa × Aa, the prior probability of being Aa is 2/3 and of being AA is 1/3. Stage 2: determine III-1's genotype probabilities, then update them using her two unaffected children as evidence.
The combined prior for III-1 being a carrier (Step 4 in the table below) requires a two-branch calculation. We must consider both possible genotypes of her father and weight each by its probability: (1/3)(1/2) + (2/3)(2/3). Converting to a common denominator of 18 gives 3/18 + 8/18 = 11/18. This weighted-average approach is standard in multi-generation Bayesian pedigree problems and is the kind of calculation expected in upper high school genetics courses.
| Step | Description | Values |
|---|---|---|
| 1 | Determine father's prior genotype probabilities (II-1 is unaffected from Aa × Aa) | P(AA) = 1/3, P(Aa) = 2/3 |
| 2 | If father is AA: probability III-1 is a carrier (AA × Aa) | 1/2 |
| 3 | If father is Aa: probability III-1 is a carrier (Aa × Aa) | 2/3 (among unaffected) |
| 4 | Combined prior P(III-1 is carrier) — weighted average across both father genotypes | (1/3)(1/2) + (2/3)(2/3) = 3/18 + 8/18 = 11/18 |
| 5 | Apply Bayes' theorem using 2 unaffected children as evidence | See worked example in Section 6 |
Steps for setting up the Bayesian pedigree analysis of III-1
SECTION 6
Worked Example: Carrier Probability for III-1
Let's work through the full calculation for III-1 from the pedigree above. We want to find the probability that she is a carrier (Aa) given that she has two unaffected children with a known carrier (Aa) partner.
Finding the Posterior Probability That III-1 Is a Carrier
- 1
Step 1 — Determine the Prior Probability
III-1's father (II-1) comes from an Aa × Aa cross. Since he is unaffected, he is either AA (probability 1/3) or Aa (probability 2/3). Her mother (II-2) is a known carrier (Aa). If dad is AA, then the cross is AA × Aa, and the chance III-1 is a carrier is 1/2. If dad is Aa, then the cross is Aa × Aa, and among unaffected offspring, the chance of being a carrier is 2/3. So the combined prior for III-1 being a carrier is (1/3)(1/2) + (2/3)(2/3) = 1/6 + 4/9 = 3/18 + 8/18 = 11/18. The prior for NOT being a carrier is 1 − 11/18 = 7/18.Prior: P(carrier) = 11/18 ≈ 0.611; P(non-carrier) = 7/18 ≈ 0.389 - 2
Step 2 — Determine the Conditional Probabilities
III-1 is married to a known carrier (III-2). They have 2 unaffected children. If III-1 is a carrier (Aa × Aa): Each child has a 3/4 chance of being unaffected. For 2 children: (3/4)² = 9/16. If III-1 is NOT a carrier (AA × Aa): No child can be affected (aa is impossible), so all children are unaffected with probability 1.P(2 unaffected | carrier) = 9/16; P(2 unaffected | non-carrier) = 1 - 3
Step 3 — Calculate Joint Probabilities
Multiply the prior by the conditional for each hypothesis. Joint (carrier) = 11/18 × 9/16 = 99/288. Joint (non-carrier) = 7/18 × 1 = 7/18 = 112/288.Joint(carrier) = 99/288; Joint(non-carrier) = 112/288 - 4
Step 4 — Compute the Posterior
The posterior probability of being a carrier is the carrier joint divided by the sum of both joints. Posterior = 99/288 ÷ (99/288 + 112/288) = 99/211 ≈ 0.469. The posterior probability of NOT being a carrier is 112/211 ≈ 0.531.P(III-1 is a carrier | 2 unaffected children) = 99/211 ≈ 46.9% - 5
Step 5 — Interpret the Result
Before considering her children, III-1 had about a 61.1% chance of being a carrier. After learning she has two unaffected children with a carrier partner, that probability dropped to about 46.9%. The evidence didn't eliminate the possibility, but it made it less likely. If she had even more unaffected children, the probability would keep decreasing.Prior ≈ 61.1% → Posterior ≈ 46.9% (evidence shifted probability downward)
SECTION 7
Strengths & Limitations of Bayesian Genetics
Bayes' theorem is an incredibly useful tool, but like any tool, it has both strengths and limitations. Understanding these helps you know when to trust a Bayesian analysis and when to be cautious.
| Strengths | Limitations |
|---|---|
| Incorporates new evidence — test results, number of healthy children, age of onset data — to refine risk estimates beyond simple Mendelian ratios. | Requires accurate prior probabilities. If the initial Mendelian ratios or population frequencies are wrong, the posterior will be wrong too. |
| Works with incomplete pedigrees where not everyone's genotype is known. | Assumes events are independent (e.g., each child's genotype is independent). This breaks down if there are complicating factors like genetic linkage. |
| Can combine multiple types of evidence: family history, biochemical tests, DNA tests, and clinical observations. | Not useful for traits controlled by many genes (polygenic traits), where simple Mendelian priors don't apply. |
| Gives a specific numerical probability rather than a vague yes/no answer, helping families make informed decisions. | Can be misunderstood if people confuse the posterior probability with certainty. A 10% carrier risk is not zero risk. |
Strengths and Limitations of Bayes' Theorem in Genetics
KEY TAKEAWAY
SECTION 8
Connections to Advanced Genetic Analysis
The introductory Bayesian analysis you've learned in this lesson is a stepping stone to more sophisticated techniques used in modern genetics and medicine. As you study further, you'll encounter several extensions of this basic framework.
| Introductory (This Lesson) | Advanced Extension |
|---|---|
| Two hypotheses: carrier vs. non-carrier for a single gene. | Multiple hypotheses: different possible genotypes at several loci simultaneously. Bayesian networks model complex inheritance patterns. |
| Evidence from offspring phenotypes (affected vs. unaffected). | Evidence from molecular DNA tests with known sensitivity and specificity (true positive and false positive rates). False positives must be carefully handled. |
| Autosomal recessive traits with simple dominance. | X-linked conditions, incomplete penetrance, variable expressivity, and age-dependent onset — each requiring modified conditional probabilities. |
| Manual calculation with a Bayesian table. | Computer algorithms using Markov Chain Monte Carlo (MCMC) methods to handle hundreds of family members and millions of genetic variants. |
Introductory vs. Advanced Bayesian Genetics
One particularly important application is in genetic screening tests. When a newborn is screened for a metabolic disorder, the test might have a 99% detection rate but also a small false positive rate. Bayes' theorem helps doctors figure out: if a baby tests positive, what is the actual probability that the baby truly has the condition? This question is critical because rare conditions can have surprisingly high false positive rates relative to the number of true cases, a phenomenon known as the base rate fallacy. You'll explore this more as you advance in genetics and statistics.
Looking Ahead
SECTION 9
Practice Problems
Practice Problem Guide
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
Bayes' theorem is a mathematical method for updating probabilities when new evidence appears. In genetics, it lets us go beyond simple Mendelian ratios by incorporating real-world observations. The process starts with a prior probability (the initial genetic estimate from a pedigree or population data), multiplies it by a conditional probability (how likely the evidence is under each hypothesis), and produces a posterior probability — the refined, evidence-based risk estimate. Each unaffected child, each test result, and each clinical observation shifts the probability toward a more accurate answer.
The practical applications are enormous. Genetic counselors use Bayes' theorem to advise families about carrier risks for conditions like cystic fibrosis and sickle cell disease. Doctors use it to interpret screening test results, where understanding false positive rates is critical. Remember that the theorem has limitations — it requires accurate priors, assumes independence of events, and works best for single-gene traits. But as a foundation for probabilistic reasoning in biology, Bayes' theorem is one of the most powerful tools in a geneticist's toolkit.