Arithmetic mean formula in statistics