Given a population in which we know the number of individuals with each genotype, we can test for statistical deviation from Hardy-Weinberg equilibrium using a simple chi-square goodness-of-fit ...
The Hardy-Weinberg equilibrium is a principle stating that the genetic variation in a population will remain constant from one generation to the next in the absence of disturbing factors.