Source TeX:
\phi=\sqrt{\frac{\chi^2}{N}}