Chi-square adjustment for sparse data

In some applications of the chi-square statistical test, the calculation of the chi-square value is adjusted by a small factor.

This adjustment gives a more reliable measure of the statistical significance when the data is sparse.