Chi square (independent/nominal)
1.calculate the expected frequency of each cell (number of rows x number of columns divided by the total number of results)
2. calculate the difference of the observed frequency and expected frequency and square each difference
3. divide each squared difference by the observed frequency of that cell and add up all the values to get the calculated value
4. calculate the degrees of freedom (number of rows-1) x (number of columns-1) to find the critical value
5. if your calculated value is equal or higher to the critical value, accept the alternative hypothesis