Chi-squared test on dihybrid cross data

Organisms (Continuity and change) · Inheritance · note 10 of 10

Spec D3.2.21
HL only (what this means)HL only: additional Higher Level content, only for HL students. SL students can skip it. What the labels mean
Download all Inheritance notes (PDF)Download all notes (PDF)13 pages

Chi-squared test on dihybrid cross dataSpec D3.2.21

In short

A chi-squared test on data from a dihybrid cross tests whether the difference between observed and expected numbers is statistically significant. The null hypothesis is that there is no significant difference, for example that the genes are unlinked. If the calculated value exceeds the critical value at p = 0.05, the null hypothesis is rejected.

  1. State the null hypothesis (H₀): there is no significant difference between observed and expected results, for example the genes assort independently (9:3:3:1). The alternative hypothesis (H₁) is that there is a significant difference, for example the genes are linked.
  2. Calculate expected numbers (E) from the ratio and the total.
  3. Calculate χ² = Σ (O − E)² ÷ E for all classes.
  4. Degrees of freedom = number of classes − 1 (3 for four phenotype classes).
  5. Compare χ² with the critical value at p = 0.05 (7.815 for 3 degrees of freedom).
  6. If χ² is greater than the critical value, the difference is statistically significant: reject H₀. If it is smaller, the difference is not significant: accept (do not reject) H₀, because the difference can be explained by chance.
χ² = Σ (O − E)² ÷ E

Testing a 9:3:3:1 ratio

An F2 from a dihybrid cross gave 300 round yellow, 108 round green, 92 wrinkled yellow and 20 wrinkled green seeds (total 520). Use a chi-squared test to decide whether this fits 9:3:3:1.

  1. Expected: 9/16 × 520 = 292.5; 3/16 × 520 = 97.5; 97.5; 1/16 × 520 = 32.5.
  2. Round yellow: (300 − 292.5)² ÷ 292.5 = 0.19.
  3. Round green: (108 − 97.5)² ÷ 97.5 = 1.13.
  4. Wrinkled yellow: (92 − 97.5)² ÷ 97.5 = 0.31.
  5. Wrinkled green: (20 − 32.5)² ÷ 32.5 = 4.81.
  6. χ² = 0.19 + 1.13 + 0.31 + 4.81 = 6.44, with 3 degrees of freedom.

Answer: 6.44 < 7.815, so the difference is not significant at p = 0.05: accept H₀; the results fit a 9:3:3:1 ratio.

Maths skill:

Nature of science: the F2 is a sample representing all possible offspring. The test asks whether the sample's deviation from expected is larger than chance alone would often produce.

Quick check

  1. Why do AA and Aa individuals have the same phenotype?

    Show answer

    One dominant allele produces enough functional protein for the trait to appear.

  2. Give the genotype of a person with blood group O.

    Show answer

    ii.

  3. What phenotype does a heterozygote show in incomplete dominance?

    Show answer

    An intermediate phenotype, e.g. pink four o'clock flowers.

  4. State the outlier rule for a box-and-whisker plot.

    Show answer

    More than 1.5 × IQR above Q3 or below Q1.

  5. HL only What ratio does a dihybrid test cross with unlinked genes give?

    Show answer

    1:1:1:1.

Written and checked against the IB Biology HL specification · Updated October 2026

Frequently asked questions

What is the difference between genotype and phenotype?

Genotype is the combination of alleles an organism inherits, for example Aa. Phenotype is the observable traits of the organism, which result from its genotype and environmental factors. Some traits depend on genotype only, such as ABO blood group; others, such as height, depend on genes interacting with the environment.

What is the difference between codominance and incomplete dominance?

In codominance the heterozygote has a dual phenotype, with both alleles fully expressed, as in blood group AB with A and B antigens. In incomplete dominance the heterozygote has an intermediate phenotype, as in pink four o'clock flowers from red and white parents. Both give a 1:2:1 phenotype ratio in the F2.

Why are sex-linked disorders more common in males?

Sex-linked disorders such as haemophilia are caused by recessive alleles on the X chromosome. Males have only one X chromosome, so a single recessive allele is expressed. Females have two X chromosomes and are affected only if both carry the recessive allele, so they are usually unaffected carriers.

All 5 questions on Inheritance

Finished inheritance? Test yourself:Exam questionsFlashcards