S2 HWpower by SilvaSquare is a program to help study the power of χ2 tests of the Hardy-Weinberg hypothesis for an autosomal gene with two alleles.
Here are some of the kinds of projects you can use it for:
looks pretty good, except for extreme values of p. why do you think that is?
it varies a lot, doesn't it? why is the impact of the significance level greatest at intermediate values of the variance?
seems to increase pretty much linearly, over this range. can it go on like this forever? what is the power of the test for a (very reasonable) sample size of 1000? not very impressive, is it?
looks very different: sample size has no effect at all! do you know why?