Skip to content
LaTeX (KaTeX) templates

Math — Chi-square Test of Independence

Testing association in a contingency table.

Template previewLaTeX (KaTeX)
χ2=∑(O−E)2E\chi^2 = \sum\frac{(O - E)^2}{E}df=(r−1)(c−1)df = (r - 1)(c - 1)Eij=(row total)(col total)NE_{ij} = \frac{(\text{row total})(\text{col total})}{N}χ2>χcrit2⇒reject independence\chi^2 > \chi^2_{crit} \Rightarrow \text{reject independence}

What this template contains

Equations
4
Source
4 lines

Make it your own.

\chi^2 = \sum\frac{(O - E)^2}{E}

df = (r - 1)(c - 1)

E_{ij} = \frac{(\text{row total})(\text{col total})}{N}

\chi^2 > \chi^2_{crit} \Rightarrow \text{reject independence}