With PopGen you can also simulate how large samples are generally needed to detect statistically significant deviations from expected Hardy & Weinberg proportions, when:
1. The studied population is divided into two subpopulations
This model simulates the situation when the population you have sampled consist in reality of two populations with different allele frequencies.
2. Allele frequencies are not similar in different sexes
With this model you can simulate the situation in which allele frequencies in different genotypes are different. You can change the allele frequencies of A1 (p) in females and males and sample size.
3. The mating is not random, but there is some inbreeding in the population
With this model you can simulate the situation in which pairing of gametes is not random, because of some inbreeding in the population.