standardization_scale function

pooled dispersion for a numeric variable