Test for Hardy Weinberg Equilibrium
Genotypes, alleles and the square
A genotype frequency is the share of individuals with a genotype; an allele frequency is the share of gene copies. For codominant alleles, p = (2 × AA + Aa) / 2N, or p = f(AA) + ½f(Aa). For X linked loci count two X chromosomes per female and one per male.
Hardy Weinberg: in a large, randomly mating population with no mutation, migration or selection, allele frequencies stay constant and genotypes settle at p2, 2pq, q2 after one generation. Dominance has nothing to do with it.
To test fit, compute expected counts from the observed p and q and calculate χ2 = Σ(O − E)2/E. Degrees of freedom are classes minus 1 minus the number of allele frequencies estimated: for two alleles, 3 − 1 − 1 = 1, critical value 3.84.
For a recessive trait, q = √(affected) and carriers are 2pq ≈ 2q. Carriers outnumber affected people by 2p/q, so rare recessive alleles hide mostly in heterozygotes. For ABO, start from type O: r = √f(O).
Observed and expected
| Genotype | Observed | Expected | (O − E)²/E |
|---|
Genotype counts
ABO allele frequencies
Rare recessive: incidence to carriers
Unlimited practice
New questions keep coming, each with an explained answer. Use the number keys to answer and N for the next question.