Question
Geometric mean and harmonic mean
Aspect | Geometric Mean | Harmonic Mean |
---|---|---|
Definition | The geometric mean of a set of numbers is the nth root of their product, where n is the number of elements in the set. | The harmonic mean of a set of numbers is the reciprocal of the arithmetic mean of their reciprocals. |
Calculation | GM = (x1 * x2 * ... * xn)^(1/n) | HM = n / (1/x1 + 1/x2 + ... + 1/xn) |