Hardy-Weinberg
One generation of random mating puts genotype frequencies on the Hardy-Weinberg curve. Test a sample against the curve, see how sample size changes the test, then pool two populations that are each in equilibrium and see the pooled sample fail.
Vibe-coded with ❤️ by Stephen Turner.
Equilibrium
p-
q-
AA-
Aa-
aa-