Skip to content

Commit 1ea9c3a

Browse files
Update better-than-average-calculating-geometric-means-using-SQL.md
1 parent cadea01 commit 1ea9c3a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

better-than-average-calculating-geometric-means-using-SQL.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ Geometric Mean
4949
Figure 1: Geometric Series with Means Highlighted
5050
3
5151

52-
the sensitivity of the arithmetic mean can be problematic. The geometric mean might be a better central
53-
measure, as it will consider all of the data points, but without being subject to the same “pull” that can
54-
deteriorate the interpretation of the arithmetic mean (Figure 2):
52+
the sensitivity of the arithmetic mean can be problematic. The geometric mean might be a better central measure, as it will consider all of the data points, but without being subject to the same “pull” that can deteriorate the interpretation of the arithmetic mean (Figure 1):
53+
54+
|![Arithematic Mean vs Geometric Mean vs Harmonic Mean](https://github.com/structured-query-language/structured-query-language.github.io/assets/121721444/5684f621-0b4a-47fd-|a4f8-43a093d0f300)|
55+
56+
5557
Figure 2: Comparison of Means for a Small Sample (McChesney, 2016)
5658

5759
In the above case, you should first confirm that 90 is a valid data point and not an error. Trimming outliers, so long as it is justifiable, is another way to produce more stable mean calculations. Geometric means are also appropriate when summarizing ratios or percentages. This has many applications in medicine, and is considered the “gold standard” for calculating certain health measurements. In the financial industry, this concept is applied when constructing stock indexes and rates of return. The geometric mean is also employed in the art world, to choose aspect ratios film and video. The idea of comparing ratios is expanded when you look at scaled data: if you have data that have different attributes or scales, and you have normalized the results to be presented as ratios to reference values, the geometric mean is the correct mean to use.

0 commit comments

Comments
 (0)