Wright-Fisher Model

Genetic drift, fixation probability, and the effect of natural selection

Controls

Statistics

N:
p₀:
Fix. prob (theory):
Fix. prob (sim):
Fix. time ~2N ln(N):
Lost:
Fixed:
Active:

Theory

Wright-Fisher sampling:
p_{t+1} ~ Binomial(2N, p*)/2N
p* with selection s:
p* = p(1+s)/(1+sp)
Drift alone — fixation prob:
Π(p₀) = p₀
With selection:
Π = (1−e^{-2Nsp₀})/(1−e^{-2Ns})
Mean fix. time (neutral):
T_fix ≈ −4N(p₀ ln p₀ + (1−p₀)ln(1−p₀))