chi-squared test calculation
calculate chi-squared test
(use a table to calculate)
2. find the number of degrees of freedom
(number of categories - 1)
3. if we look up the value of X^2 in a distribution table (see figure 2) , we can see that p values range from 0.01 (1%) to 0.99 (99%)
4. reject or support null hypothesis with sentences