Using the Chi-Squared Test on Data from Dihybrid Crosses
- Consider a scientist studying inheritance patterns in pea plants.
- They've performed a dihybrid cross and predicted a 9:3:3:1 phenotypic ratio in the F2 generation.
- But when they count the offspring, the numbers don't match perfectly.
- The scientist now needs to determine if this deviation is due to chance or if something else is at play.
- The chi-squared test helps you answer this question by comparing your observed results to the expected ones.
Why Use the Chi-Squared Test?
- In genetics, the chi-squared test is used to:
- Compare observed results (actual data) to expected results (based on predictions).
- Determine if deviations are due to chance or if they suggest other factors, like gene linkage.
Observed vs. Expected Results
- In a dihybrid cross, the expected phenotypic ratio for unlinked genes is 9:3:3:1.
- This means:
- 9/16 of the offspring should show both dominant traits.
- 3/16 should show one dominant and one recessive trait.
- 3/16 should show the other dominant and recessive trait.
- 1/16 should show both recessive traits.
The null hypothesis assumes that the traits assort independently, following Mendelian ratios.
Calculating Chi-Squared ($\chi^2$)
The chi-squared formula is:
$$\chi^2 = \sum \frac{(O - E)^2}{E}$$
where $O$ is the observed frequency and $E$ is the expected frequency.
Statistical Significance and $p = 0.05$
- The significance level ($p = 0.05$) means there is a 5% chance that the observed differences are due to random variation.
- If $p < 0.05$, the results are considered statistically significant, suggesting that the null hypothesis should be rejected.
- How does the concept of statistical significance influence our interpretation of scientific data?
- Can you think of other fields where statistical testing is critical?
Step-by-Step Guide to the Chi-Squared Test
- State the Hypotheses:
- $H_0$: The traits fit the expected Mendelian ratio.
- $H_1$: The traits deviate from the expected Mendelian ratio.
- Set Up a Contingency Table:
- Create a table to organize observed and expected values for each phenotype.
- Calculate Expected Frequencies:
- Use the predicted ratio (e.g., 9:3:3:1) to calculate expected frequencies.
- Example: If there are 160 offspring, $E$ for each phenotype is:
- $9/16 \times 160 = 90$(dominant traits)
- $3/16 \times 160 = 30$ (mixed traits)
- $1/16 \times 160 = 10$ (recessive traits)
- Apply the Chi-Squared Formula:
- Calculate $\chi^2$ for each phenotype, then sum the values.
- Determine Degrees of Freedom:
- Degrees of freedom ($df$) = Number of phenotypic categories $- 1$.
- For a 9:3:3:1 ratio: $df = 4 - 1 = 3$.
- Compare with Critical Values:
- Use a chi-squared table to find the critical value for $df = 3$ at $p = 0.05$ (significance level).
- If $\chi^2$ is larger than the critical value, reject $H_0$.


