Mosaic plot visualizing the distribution of mortality and ICED scores given ISS using the log-linear model.
The size of each cell is proportional to the observed frequency. The Pearson residuals are standardized deviations of observed from expected values. The cut-off points 2 and 4 implies that the highlighted cells are those with residuals individually significant at approximately the alpha = 0.05 and alpha = 0.0001 levels, respectively. Each colored residual violates the null hypotheses of independence. Light blue colored cell indicates positive Pearson residuals at alpha = 0.05 level. Dark blue colored cell indicates positive Pearson residuals at alpha = 0.0001 level. Red colored cell represents negative Pearson residuals at alpha = 0.05 level. The p value is for the log-linear model investigating conditional independence of mortality and ICED scores given ISS, which is highly significant.