Sub topic 3
How twin studies separate genes from environment
This chapter assumes you know what a correlation is and what variance means, including the point from the previous chapter that heritability describes a population and not an individual. It also assumes you know how wellbeing is measured, for example with a life-satisfaction survey item. No genetics background is needed.
The problem twin studies solve
Suppose siblings have similar life satisfaction scores. That similarity could come from shared genes. It could also come from shared parents, a shared home, and a shared neighborhood. In ordinary families genes and environment travel together, so the similarity alone cannot tell you which one matters.
Twin studies use a natural experiment. Two kinds of twins share their family environment to a similar degree but differ in how many genes they share.
- Monozygotic (MZ) twins, or identical twins, come from one fertilized egg that splits. They share essentially all of their inherited DNA variation.
- Dizygotic (DZ) twins, or fraternal twins, come from two separate eggs. On average they share about half of the DNA variation that differs between people, like any full siblings.
If both kinds of twins grow up in similarly alike households, any extra similarity in MZ pairs is a clue that genes contribute.
The three variance components
The classical twin model splits the variance of a trait in a population into three parts:
- A (additive genetic): the summed small effects of many gene variants. Its share of the variance is written a², and it is the narrow-sense heritability.
- C (shared environment): everything that makes twins in the same family more alike, such as household income, parenting style, and school.
- E (non-shared environment): everything that makes twins different, such as different friends, illnesses, and chance events. In practice E also contains measurement error, because noise in a questionnaire lowers the similarity of any two people.
The three shares add up to 1: a² + c² + e² = 1. This is why the model is often called "ACE".
Deriving Falconer's formula
The model predicts how similar each twin type should be. Similarity here means the correlation of the two twins' scores across many pairs.
- MZ twins share all of A and all of C, so r_MZ = a² + c².
- DZ twins share half of A on average and all of C, so r_DZ = 0.5·a² + c².
Subtract the second equation from the first. The C terms cancel and rMZ − rDZ = 0.5·a². Rearranging gives the three estimates:
- a² = 2 · (rMZ − rDZ)
- c² = rMZ − a² = 2 · rDZ − r_MZ
- e² = 1 − r_MZ
The last line follows because whatever identical twins do not share is, by assumption, non-shared environment (plus error).
A worked example
The numbers below are illustrative. They are not results from a specific study.
# Falconer's formula: estimate variance components from twin correlations.
# The correlations below are illustrative numbers, not results from a specific study.
r_mz = 0.40 # correlation between identical (monozygotic) twins
r_dz = 0.20 # correlation between fraternal (dizygotic) twins
h2 = 2 * (r_mz - r_dz) # additive genetic share of variance
c2 = 2 * r_dz - r_mz # shared (family) environment share
e2 = 1 - r_mz # non-shared environment plus measurement error
print(f"heritability={h2:.2f}, shared env={c2:.2f}, non-shared env={e2:.2f}")This prints heritability=0.40, shared env=0.00, non-shared env=0.60. Read it this way: about 40% of the differences between people in this imagined population are statistically associated with genetic differences. Almost none are associated with the shared family environment. The rest is non-shared environment plus noise.
Notice that e² is the largest component here even though it is "environment". It is also where measurement error hides. A noisy wellbeing questionnaire pushes e² up and pushes both twin correlations down.
Seeing the estimate wobble
Real studies have a finite number of pairs, so rMZ and rDZ are themselves estimates. The simulation below builds twins from a known truth (a² = 0.40, c² = 0.10, e² = 0.50), then applies Falconer's formula to samples of 500 pairs per twin type. It needs Python 3.10 or later for statistics.correlation.
import math
import random
import statistics
def twin_correlation(n_pairs, a2, c2, e2, identical, rng):
"""Simulate n_pairs twin pairs and return the correlation of the two twins' scores."""
first, second = [], []
for _ in range(n_pairs):
family_gene = rng.gauss(0, 1)
family_env = rng.gauss(0, 1)
if identical:
g1 = g2 = family_gene
else:
# Each DZ twin gets half of the shared component and half unique,
# so the genetic correlation is 0.5 and each variance stays 1.
g1 = math.sqrt(0.5) * family_gene + math.sqrt(0.5) * rng.gauss(0, 1)
g2 = math.sqrt(0.5) * family_gene + math.sqrt(0.5) * rng.gauss(0, 1)
first.append(math.sqrt(a2) * g1 + math.sqrt(c2) * family_env
+ math.sqrt(e2) * rng.gauss(0, 1))
second.append(math.sqrt(a2) * g2 + math.sqrt(c2) * family_env
+ math.sqrt(e2) * rng.gauss(0, 1))
return statistics.correlation(first, second)
rng = random.Random(42)
for run in range(5):
r_mz = twin_correlation(500, 0.40, 0.10, 0.50, True, rng)
r_dz = twin_correlation(500, 0.40, 0.10, 0.50, False, rng)
h2 = 2 * (r_mz - r_dz)
c2 = 2 * r_dz - r_mz
e2 = 1 - r_mz
print(f"run {run}: h2={h2:.2f} c2={c2:.2f} e2={e2:.2f}")The five runs scatter around the true values of 0.40, 0.10, and 0.50 but rarely hit them exactly. The estimate of c² is the noisiest because it subtracts two noisy quantities. Published studies therefore report confidence intervals, and a small c² can easily land at zero or below.
Assumptions behind the estimate
Falconer's formula is only as good as the assumptions that produced it. Each one can fail in a particular way.
| Assumption | What it says | What happens if it fails |
|---|---|---|
| Equal environments | MZ and DZ twins share their family environment to the same degree | If MZ twins are treated more alike (dressed alike, same friends), the extra similarity is credited to genes and h² is overstated |
| Additive genes only | Gene effects add up, with no interactions between variants | Dominance or gene-gene interaction lowers DZ similarity below half of MZ, so a² is overstated and c² is understated |
| Random mating | Parents do not pick partners who resemble them | If partners are alike on the trait, DZ twins share more than half of the relevant genes. That raises r_DZ and makes h² look too small |
| Twins represent everyone | Twins are not unusual for the trait | Prenatal crowding and shared birth experiences may make twins differ from singletons, which limits generalization |
| Reliable measurement | Scores reflect the trait with little noise | Noise inflates e² and shrinks every correlation, so the components are misstated |
Beyond the simple formula
Modern studies rarely compute Falconer's formula by hand. They fit the ACE model with structural equation modeling, which uses all the data at once and gives confidence intervals. It can also compare nested models. For example, an AE model drops C. If AE fits as well as ACE, the data give no reason to keep shared environment in the model.
Other designs check the twin results from different angles:
- Twins reared apart. MZ twins separated early in life share genes but not family environment, so their similarity is a direct hint about genetic influence. These samples are rare, and adoption agencies often placed twins in similar homes.
- Adoption studies. Adopted children resemble their biological relatives through genes alone and their adoptive relatives through environment alone.
- Extended-family and children-of-twins designs. They test whether the genetic estimate stays stable and can separate genetic from cultural transmission.
- Molecular methods. Measured DNA from unrelated people can estimate how much variance common variants capture. These estimates are usually lower than twin-based ones, and the reason for the gap is still debated.
Agreement across designs strengthens confidence in a conclusion. Disagreement shows which assumption to examine.
Common errors when reading twin results
- Treating h² as a share inside one person. A heritability of 0.40 does not mean 40% of your happiness comes from your genes. It describes variation across a population, in a particular place and period.
- Treating h² as a fixed constant. If the environment becomes more uniform, environmental variance falls and heritability rises, even though the genes have not changed.
- Reading c² = 0 as "family does not matter". It says that growing up in the same family does not make twins more alike than genes predict. Parenting can still affect a child, but in ways that differ between siblings or are confounded with genes.
- Reading high heritability as "unchangeable". Heritability says nothing about how much an intervention could change a trait. Eyesight is highly heritable and is corrected by glasses.
- Ignoring the confidence interval. A single h² from a few hundred pairs can easily be off by 0.10 or more.
Exercise
A study of life satisfaction finds rMZ = 0.36 and rDZ = 0.18. (a) Compute a², c², and e² with Falconer's formula. (b) A critic says MZ twins are treated more alike than DZ twins. Which estimate does that criticism threaten, and in which direction?
Show answer
(a) a² = 2 × (0.36 − 0.18) = 0.36. c² = 2 × 0.18 − 0.36 = 0.00. e² = 1 − 0.36 = 0.64. (b) It threatens a². If MZ twins are treated more alike, part of rMZ comes from shared treatment and not from genes. The gap rMZ − r_DZ is then too large, so a² is overstated. The true genetic share would be smaller than 0.36.
Exercise
In the simulation, the code uses math.sqrt(0.5) for both parts of each DZ twin's genetic score. Why does this keep the genetic correlation between DZ twins at 0.5 without changing the variance of each twin's genetic score?
Show answer
Each DZ twin's score is sqrt(0.5) × shared + sqrt(0.5) × unique, where both parts have variance 1. Its variance is 0.5 + 0.5 = 1. The two twins share only the "shared" part, so their covariance is sqrt(0.5) × sqrt(0.5) = 0.5. With both variances at 1, the correlation is 0.5.