# What questions lead to different representative statistics?

What are the questions that are asked whose answer yields the geometric and harmonic means.

For example, we arrive at the arithmetic mean by solving:

$$\min_y \sum_{x \in S} (x - y)^2$$

What question, or meaningful optimization problem, have the geometric and harmonic means as their solution?