Else, find the allowable pair of categories of X that is least significantly different (i.e.,
most similar). This can be determined by the pair whose test statistic gives the largest pvalue
with respect to the dependent variable Y. How to calculate p-value under various
situations will be described in a later section.