Pearson residuals are used to deteremine the difference between observed and expected cells in a contingency table.