Linkage Equilibrium - Equations
D, the coefficient of disequilibrium measures the amount of disequilibrium between two loci. The coefficient of disequilibrium is calculated using haplotype frequencies as:
D=ru-st
where ru is one half of the coupling heterozygote frequency (AB/ab), and st is one half of the repulsion heterozygote frequency (Ab/aB).