Chi-Squared Test
Biology: AQA A Level, topic 7.1.10
Chi-Squared Test
The chi-squared test compares observed values with expected values to find out if a difference is due to chance.

Equation
- The equation for chi-squared is:
- O = observed values.
- E = expected values.

1) Calculate expected values
- To use the chi-squared equation, the expected values need to be calculated.
- Expected values are predicted using genetic diagrams.
- The expected values are the phenotypic ratios given by the genetic diagram.
- Compare the expected values with observed values and use these numbers in the equation.

2) Calculate chi-squared
- Using the chi-squared equation, calculate the chi-squared value.

3) Find the critical value
- Calculate the degrees of freedom.
- Degrees of freedom = the number of categories (e.g. phenotypes) − 1.
- Find the critical value that corresponds to the degrees of freedom in a probability distribution table at 0.05 significance level.

4) Accept the null hypothesis?
- Compare the chi-squared value to the critical value.
- If the chi-squared value is lower than the critical value, accept the null hypothesis.
- The difference between observed and expected data is due to chance.

Reject the null hypothesis?
- If the chi-squared value is greater than the critical value, reject the null hypothesis.
- The difference between observed and expected data is NOT due to chance.
- Rejecting the null hypothesis means we would get this chi-squared value in less than 5% of cases, which is very unlikely.
Test yourself on Chi-Squared Test
Stages of the Chi-Squared Test
When is the null hypothesis rejected?
Decide whether each statement about the chi-squared test is true or false.
Why is a chi-squared test carried out on the results of a genetic cross?