Você está na página 1de 1

Steps in Calculating chi-square test for contingency tables

1. 2. 3. 4. 5.
6.

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) Calculate for each cell of the table the chisquare statistic

chi-square = (fo-fe) 2 /fe


7. 8. Sum up all the of individual chi-squares to yield the chi-square for the table. The degrees of freedom are number of rows (nr) minus 1 times the number of columns (nc) minus 1

Degrees of freedom = (nr-1) x (nc-1)

Você também pode gostar