There are 2 types of Chi-squared tests:
- Goodness of fit
- Test of independence
Each of these tests use the formula to find chi-squared, denoted by:
\(\chi^2=\sum_{i=1}^{n}\frac{(O_i-E_i)^2}{E_i}\)
Where \(\chi^2\) is chi-squared, \(O_i\) is the observed value and \(E_i\) is the expected value.