Extracted #interval method from #mean_difference