Pearson X-squared statistic