Sub topic 10
Gene-environment interplay: why "genes vs. environment" is too simple
This chapter assumes you know the basics from earlier chapters. Heritability is a share of variance in a population. Twin studies estimate it with Falconer's formula. Twin-based estimates of the genetic share of wellbeing are moderate, roughly a third to a half depending on the study and measure. You also need basic correlations and the idea of a regression slope.
The problem with a clean split
Falconer's formula splits variance into three parts: genes (h²), shared environment (c²) and non-shared environment (e²). The split looks like a pie chart with separate slices. The formula only works that way if genes and environments act independently and add up. In real lives they often don't.
Two kinds of interplay break the clean split:
- Gene-environment correlation (rGE) means that people's genes are related to the environments they end up in.
- Gene-environment interaction (GxE) means that the effect of an environment depends on a person's genes, or the effect of a gene depends on the environment.
Gene-environment correlation
Correlation here means that genotype and environment travel together. Researchers usually describe three routes.
| Type | How it works | Wellbeing example |
|---|---|---|
| Passive | Parents give children both genes and a home environment shaped by those same genes | Parents with a genetic tendency toward sociability give their child both that tendency and a home full of social contact |
| Evocative | A person's inherited traits draw particular reactions from others | A cheerful, easygoing child gets more warmth from teachers and relatives |
| Active | People seek out or build environments that fit their tendencies | A person with a high drive for social contact builds a wide circle of friends |
The consequence for measurement is this. Suppose genes shape how much social support a person has, and social support raises wellbeing. A twin study will count part of that effect as genetic, because identical twins share both the genes and the tendency to build social support. The environment is real and causal. It still shows up in the heritability estimate.
A simulation of the effect
The program below builds a population in which genes affect wellbeing directly and also through social support. It uses only the standard library and needs Python 3.10 or later.
import random
import statistics
random.seed(42)
n = 20000
genes, support, wellbeing = [], [], []
for _ in range(n):
g = random.gauss(0, 1)
# Active rGE: social support is partly driven by genes.
s = 0.5 * g + random.gauss(0, 0.87)
# Wellbeing: a direct genetic effect plus an effect of support.
w = 0.3 * g + 0.4 * s + random.gauss(0, 1)
genes.append(g)
support.append(s)
wellbeing.append(w)
r_gw = statistics.correlation(genes, wellbeing)
r_sw = statistics.correlation(support, wellbeing)
print(f"share of wellbeing variance linked to genes: {r_gw**2:.2f}")
print(f"share of wellbeing variance linked to support: {r_sw**2:.2f}")
print("direct genetic effect alone would be about 0.07")The direct genetic path accounts for only about 7% of the variance in this model. The genes-wellbeing correlation squared comes out near 0.18, because the genes also work through support. The "genetic" share is therefore about two and a half times the direct effect. Nothing in the data tells you which route is which unless you measure support directly.
This changes how to read a heritability figure. A moderate heritability for wellbeing does not mean that genes act on happiness through biology alone. Some of it may run through the lives people build for themselves.
Gene-environment interaction
Interaction means the effect of one factor depends on the level of the other. Two forms matter for wellbeing.
- Different sensitivity to the same environment. Two people face the same stressful event. One is knocked down more than the other, and part of that difference is genetic.
- Different heritability in different settings. The genetic share of variance can be larger or smaller depending on the environment. If everyone in a population faces the same constraint, such as extreme poverty or strict social rules, there is less room for genetic differences to show up.
A tiny model shows the first form.
import random
import statistics
random.seed(7)
def simulate(high_sensitivity, stress, n=5000):
sensitivity = 0.6 if high_sensitivity else 0.2
scores = [7.0 - sensitivity * stress + random.gauss(0, 1) for _ in range(n)]
return statistics.mean(scores)
for stress in [0, 2, 4]:
low = simulate(False, stress)
high = simulate(True, stress)
print(f"stress={stress}: low-sensitivity={low:.2f}, "
f"high-sensitivity={high:.2f}, gap={low - high:.2f}")With no stress the two groups are nearly the same. As stress rises, the gap between them grows. A model that only adds a genetic term and an environmental term cannot produce this pattern. The genetic difference is invisible in a calm environment and obvious in a harsh one.
A cautionary case: the serotonin transporter gene
The best-known claim of this kind came from a 2003 study. It reported that people with a short version of the serotonin transporter gene (5-HTTLPR) were more likely to become depressed after stressful life events. The finding was widely taught as a model of GxE.
It then failed to hold up. Large meta-analyses and a large 2019 reanalysis of candidate genes for depression found little support for either the main effects or the interactions. The reasons were small samples, many possible genes and environments to test, and a bias toward publishing positive results. The lesson is not that GxE is false. Individual gene-by-environment effects, if they exist, are small and hard to detect. Be skeptical of any claim that a single gene makes someone sensitive to a single circumstance.
What interplay does to the heritability number
Falconer's formula carries assumptions that interplay violates:
- Additivity. Genes and environments add. With interaction, they multiply or depend on each other, and the variance cannot be split into tidy slices.
- Independence. Genes and environments are uncorrelated. With rGE, they are not, and the genetic slice absorbs part of the environmental effect.
- Equal environments. Identical and fraternal twins are treated alike. If identical twins are treated more alike than fraternal twins, partly because they look and act alike (an evocative effect), the formula overestimates the genetic share.
Mixed results follow. Some interplay makes heritability look bigger than the direct genetic effect, as in the simulation. Other interplay makes it look smaller, for example when a harsh environment suppresses genetic differences.
The heritability figure also describes one population at one time. It can change if the environment changes. A study of one country and period does not tell you the figure for another. This links back to the point from the heritability chapter: heritability is not a fixed property of a trait.
Why this matters for changing happiness
The popular question "how much is genes, how much is environment, how much is choice?" assumes the parts are separate. Interplay suggests a different picture.
- Choices are partly genetic, and still choices. Active rGE means that the situations a person selects are influenced by inherited tendencies. The selecting still has real effects on wellbeing.
- Environments can change the genetic share. Changing an environment can change which genetic differences matter.
- Averages hide differences. A practice or policy may help some people more than others. Average effects in intervention studies can hide this, and the evidence for specific gene-by-treatment effects is weak.
The practical conclusion is modest. Heritability estimates show that genes matter. They do not show that circumstances and choices are weak levers, and they do not show that they are strong ones.
Exercise
A twin study reports that identical twins are much more alike in life satisfaction than fraternal twins. The researchers also find that identical twins have more similar friendship networks, and that friendship network size predicts life satisfaction. Explain how gene-environment correlation could affect the heritability estimate, and say whether it makes the environment unimportant.
Show answer
Friendship networks are an environment, but they are influenced by inherited traits such as sociability (active rGE). Identical twins share those traits fully, so their networks are more alike than fraternal twins' networks. Falconer's formula attributes the greater similarity to genes, so the heritability estimate includes the effect that runs through friendships. The environment is not unimportant. Friendship still causally affects life satisfaction, and a change in someone's friendships could change their wellbeing. The estimate just doesn't separate the two routes.
Exercise
In the second simulation, what would the gap between groups look like at stress=0 if the sensitivity difference were removed (both groups at 0.2)? What does this show about how interaction differs from two separate additive effects?
Show answer
The gap would be near zero at every stress level, apart from random noise, because both groups would respond identically. In the actual model the gap grows with stress, which shows interaction: the genetic effect depends on the environment. Two additive effects would give a constant gap regardless of stress, so no pattern like this could appear.