← Chapter 12 labsRead the chapter: Population and Evolutionary Genetics
Genetics · Chapter 12

Test for Hardy Weinberg Equilibrium

Count the people, count the alleles, then ask whether the genotypes fit p2 : 2pq : q2. Adjust the counts, watch the chi square, and turn incidence into carrier frequency.
The idea

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

Paired bars for each genotype: observed count beside the count expected under Hardy Weinberg proportions.
Chi square table
GenotypeObservedExpected(O − E)²/E
p
q
χ² (df = 1)
P value
MN blood group

Genotype counts

ABO allele frequencies

Rare recessive: incidence to carriers

Practice

Unlimited practice

New questions keep coming, each with an explained answer. Use the number keys to answer and N for the next question.

Answered 0 · Correct 0 · Streak 0
Real life case