Quants - Geometric mean


why xi calculation used for geometric mean should be greater than zero

If you have an even number of values of which an odd number are negative, then their geometric mean will be an imaginary number.

The easiest way to avoid that is to insist that none of the values are negative.