standardized mean difference for categorical variable