Geometric mean formula in statistics