Camillo, F. and D’Attoma, I. (2012) “%GI: A SAS Macro for Measuring and Testing Global Imbalance of Covariates within Subgroups”, Journal of Statistical Software, Code Snippets, 51(1), pp. 1–19. doi: 10.18637/jss.v051.c01.