Combinatorics of pearson residuals and degree of freedom in contingency tables | IEEE Conference Publication | IEEE Xplore