How do you calculate the degrees of freedom for the Chi-Square test in Hardy-Weinberg proportions?
In general, the degrees of freedom for a chi-square test of Hardy-Weinberg equilibrium equal the number of expected genotypic classes minus the number of associated alleles