# Java - Calculate the Geometric Mean

02 Oct 2013Here is a small snippet to calculate the geometric mean of a data set.

The geometric mean is defined as:

Here is a small snippet to calculate the geometric mean of a data set.

The geometric mean is defined as: