Steps in Calculating chi-square test for contingency tables

Start with the observed frequency table (fo) and. Calculate marginal sums (row sums, column sums, etc.) Calculate marginal proportions. Multiply marginal proportions together to get estimated cell proportions. Multiply result in (4) by total number. These are expected frequencies (fe) ................
................