How a chi-squared test is performed
1. Make a null hypothesis
2. Use Mendelian ratios to calculate the expected numbers
3. Calculate chi-squared value using the chi-squared equation
4. Calculate the degrees of freedom
5. Select an appropriate significant level (normally 0.05)
6. Find the critical value
7. Compare the chi-squared value with the critical value
8. Accept or reject the null hypothesis