Skip to content

Commit e94aca2

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

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

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

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,9 @@ data, scaled data, or when averaging ratios. Some common applications include:
3636
* Repeated measures data
3737
* Bioequivalence trials
3838

39-
If your data involve rate changes or changes over time, your data may be skewed. Often these data have a lognormal distribution, and the geometric mean describes the center of lognormal data perfectly. In addition to skew, you should also consider the size of your sample. When working with small samples,
40-
0
41-
50
42-
100
43-
150
44-
200
45-
250
46-
300
47-
Arithmetic Mean
48-
Geometric Mean
49-
Figure 1: Geometric Series with Means Highlighted
50-
3
51-
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):
39+
If your data involve rate changes or changes over time, your data may be skewed. Often these data have a lognormal distribution, and the geometric mean describes the center of lognormal data perfectly.
40+
41+
In the following example the Arthimetic Mean is _pulled_ towards the higher pay rates. Notice that the Average (Arithemetic Mean) is 266, whereas most employees earn less than 200. Geometric mean might be a better central measure for this dataset, 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):
5342

5443
|![Arithematic Mean vs Geometric Mean vs Harmonic Mean(1)](https://github.com/structured-query-language/structured-query-language.github.io/assets/121721444/ca7bffab-208f-4085-a9f6-93ec4266df00)|
5544
|:--:|

0 commit comments

Comments
 (0)