Resources
A student in an AP Biology laboratory crosses heterozygous vestigial-winged, sepia-eyed Drosophila () to test Mendel's Law of Independent Assortment. The expected phenotypic ratio is . The total count of offspring collected from the culture bottles is flies, with the following observed counts: wild type (normal wings, red eyes), normal wings, sepia eyes, vestigial wings, red eyes, and vestigial wings, sepia eyes. Calculate: (a) the expected counts for each of the four phenotypic classes, (b) the test statistic rounded to two decimal places, and (c) state whether the student should reject or fail to reject the null hypothesis at the significance level (critical value for degrees of freedom is ).
Answer and steps
Final answer
(a) Expected counts: Wild type = , Normal/Sepia = , Vestigial/Red = , Vestigial/Sepia = ; (b) ; (c) Because (), fail to reject the null hypothesis.
Steps
Part (a): Determine the Expected Counts
In a standard dihybrid cross of two heterozygous individuals () where both genes assort independently on autosomal chromosomes, the expected phenotypic ratio among the four classes is .
- Calculate the total parts of the ratio:
-
Multiply each expected fraction by the total sample size ():
- Wild type (normal wings, red eyes):
- Normal wings, sepia eyes:
- Vestigial wings, red eyes:
- Vestigial wings, sepia eyes:
Part (b): Calculate the Chi-Square () Test Statistic
The chi-square statistic is given by the formula: where represents the observed count and represents the expected count.
Evaluate each phenotype category:
- Wild type:
- Normal wings, sepia eyes:
- Vestigial wings, red eyes:
- Vestigial wings, sepia eyes:
Sum the components:
(Common Pitfall: Do not divide by the observed count ; the denominator must always be the theoretical expected count .)
Part (c): Statistical Conclusion
- Degrees of freedom (): With phenotypic classes, .
- Critical value: For and , the critical value is .
Because the calculated test statistic is less than the critical value (), we fail to reject the null hypothesis. The deviation between observed and expected offspring counts is statistically insignificant and consistent with random chance, supporting Mendel's Law of Independent Assortment.
Typical errors
01 The student divides by the observed count instead of the expected count in the denominator of each chi-square term.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1
:
- Step 2Correct
You placed the observed counts () in the denominators. The Pearson chi-square goodness-of-fit statistic scales the squared deviation against the theoretical variance under the null hypothesis, so each denominator must be the expected count .
- Step 3Correct
Your comparison logic is sound, but your test statistic of was carried over from the incorrect calculation in the previous step.
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly calculated the expected count for all four phenotypic classes using the ratio.
You correctly calculated the differences and squared them for each class.
You correctly compared your calculated test statistic against the critical value .
THE ERROR
Where Your ACEpath Teacher Spotted the MistakeDividing by observed count instead of expected count in .
WHY IT HAPPENED
ACEpath Teacher's DiagnosisYou interchanged the roles of observed and expected counts in the denominator of Pearson's chi-square test statistic. Under the null hypothesis, the expected count represents the baseline mean and variance of a Poisson-approximated count, so deviations are normalized relative to , not .
REASONING PATH
Your ACEpath teacher’s suggested approach- Formula Structure
The goodness-of-fit formula is .
Always write down and check that the denominator is the theoretical value derived from your null hypothesis.
CORRECTED PATH
ACEpath Teacher's DemonstrationWrite the standard chi-square goodness-of-fit formula: .
Substitute the squared differences and divide by each class's expected value: .
Simplify each component: .
(a) Expected counts: Wild type = , Normal/Sepia = , Vestigial/Red = , Vestigial/Sepia = ; (b) ; (c) Because , fail to reject the null hypothesis.
02 The student forgets to square the deviations (O - E) in the numerator of the chi-square statistic.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1
- Step 2Correct
You forgot to square the differences in the numerator. Because the sum of raw deviations is always zero, omitting the square causes positive and negative deviations to cancel each other out, which resulted in an impossible negative value for .
- Step 3Correct
Your decision to fail to reject the null hypothesis matches the correct conclusion, but your comparison was based on the incorrectly calculated test statistic instead of .
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly used the dihybrid ratio to find the expected phenotypic frequencies.
You accurately calculated the expected count for each of the four categories.
You correctly paired each observed count with its corresponding expected count.
You compared your calculated test statistic against the critical value of using the correct decision rule.
THE ERROR
Where Your ACEpath Teacher Spotted the MistakeNo, this is a conceptual and formula recall error because you wrote down the formula definition without the square as and computed linear deviations throughout.
WHY IT HAPPENED
ACEpath Teacher's DiagnosisYou forgot that the chi-square statistic measures squared normalized deviations. Squaring ensures that all deviations are non-negative and prevents positive and negative differences from canceling out. Because in any closed total count, raw deviations cannot measure goodness of fit, and a true value can never be negative.
REASONING PATH
Your ACEpath teacher’s suggested approach- Formula Verification
The chi-square test statistic is always .
Always verify that each deviation is squared before dividing by .
- Non-Negativity Sanity Check
Because each term is a squared quantity divided by a positive count, must always hold.
If your calculated value is negative or near zero despite visible differences, stop immediately and check whether you forgot to square the numerators.
CORRECTED PATH
ACEpath Teacher's Demonstration(a) Expected counts: Wild type = , Normal/Sepia = , Vestigial/Red = , Vestigial/Sepia = ; (b) ; (c) Fail to reject the null hypothesis because ().
03 The student assumes equal expected counts across all four phenotypic categories instead of applying the 9:3:3:1 ratio.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1
Assuming four equal phenotypic classes: Expected count for each class ⟹ Wild type: , Normal, sepia: , Vestigial, red: , Vestigial, sepia:
Correct, , ,
A dihybrid cross of two heterozygous individuals () produces an expected phenotypic ratio of , which totals parts. Dividing the total sample size equally into four groups () models a uniform distribution rather than Mendelian independent assortment.
- Step 2Correct
You correctly applied the formula and carried out the arithmetic accurately, but substituting the incorrect expected values () distorted your calculated test statistic.
- Step 3
311.66 > 7.81,
Correct1.51 < 7.81 ; (p > 0.05),
Your decision rule was correct for the test statistic you computed, but using the correct value places the statistic below the critical value of .
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly used the chi-square goodness-of-fit formula .
You performed the squaring, division, and addition accurately based on your assumed values.
You properly compared your computed test statistic against the critical value using the correct decision criterion.
THE ERROR
Where Your ACEpath Teacher Spotted the Mistakeno
WHY IT HAPPENED
ACEpath Teacher's DiagnosisYou assumed a uniform distribution across phenotypic classes instead of partitioning the total sample using the theoretical Mendelian ratio.
REASONING PATH
Your ACEpath teacher’s suggested approach- Deriving Expected Frequencies
For a standard dihybrid cross between heterozygotes with complete dominance, phenotypes follow a ratio out of total parts.
Multiply each fraction (, , , ) by the total sample size to find the expected count for each class.
- Evaluating the Null Hypothesis
When , observed differences are consistent with chance variation under the null hypothesis.
Compare with ; because it is smaller, fail to reject and conclude the data fit independent assortment.
CORRECTED PATH
ACEpath Teacher's DemonstrationDetermine the expected counts using the ratio: Wild type , Normal/Sepia , Vestigial/Red , and Vestigial/Sepia .
Substitute these counts into the chi-square formula: .
Compare to the critical value: because , fail to reject the null hypothesis.
(a) Expected counts: ; (b) ; (c) Fail to reject the null hypothesis.
Lock it in
In the chi-square goodness-of-fit test statistic formula , what value belongs in the denominator?
The expected count . Memory cue: 'O minus E squared over E'—we measure deviation relative to the theoretical expectation.
Similar question
A monohybrid cross of heterozygous tall pea plants () yields total offspring: tall and dwarf. (a) State the expected counts under Mendelian inheritance ( ratio). (b) Calculate the test statistic.
Answer
(a) Expected: Tall = , Dwarf = . (b) .
In a testcross of a dihybrid individual (), you expect a ratio. Out of offspring, you observe , , , and . Calculate and determine if these genes assort independently at (critical value for is ).
Answer
Expected count for each of the classes is . . Since , fail to reject the null hypothesis; the data are consistent with independent assortment.
A geneticist tests whether two gene loci are linked. In a cross expected to produce a phenotypic ratio, . The rarest double-recombinant class ( expected) has an observed count of . Calculate the chi-square component contributed specifically by this single class.
Answer
Expected count . Chi-square component = .