Karl Pearson’s chi-square tests