get_difference function

Calculate the difference in the mean of the metric for two groups