How is the harmonic mean affected by additional data points?

In summary, the conversation discusses the concept of harmonic mean and how it is affected by adding new data points to an existing data series. It is mentioned that the harmonic mean is skewed towards smaller values and that adding new points can either increase or decrease the overall mean, depending on the values of the new points. The formula for calculating the harmonic mean of two series is also mentioned.
  • #1
Feynstein100
171
16
We have a collection of 8 discrete data points. They are:
10, 20, 30, 20, 30, 40, 30, 40
In increasing order:
10, 20*2, 30*3, 40*2
The harmonic mean of this data series is 22.86
I read on Wikipedia that the harmonic mean is skewed towards the smaller values i.e. smaller values will affect the HM more than larger values. So I thought that if we add 2 additional data points 20 and 30, our HM would be even smaller. And yet, when I calculated the HM of this new data series with 10 points:
10, 20*3, 30*4, 40*2
it turned out to be 23.08 i.e. higher than the previous case. Why did that happen?
One of our new points was lower than the HM whereas the other was higher. I thought the HM would be more skewed toward the lower value and thus would bring the overall mean down. Ah is it because the second datapoint was much higher than the HM?
In general, I'm interested in the question of how adding new datapoints will affect the HM of the existing data series.
We're not changing the endpoints, they remain constant. So any new point added will lie somewhere inside the bounds of the data series. In our example, that's 10 and 40.
So I think the answer is quite simple. If New point < HM, it lowers the HM. If New point > HM, it increases the HM.
It seems quite straightforward for adding one datapoint but what if we add multiple? In essence appending another data series to the existing one. Can we predict in advance if the new HM will be higher or lower?
 
Mathematics news on Phys.org
  • #2
It looks like a simple quantitative question. One point at a time will give a predictable result. More than one - results?
 
  • #3
Feynstein100 said:
It seems quite straightforward for adding one datapoint but what if we add multiple? In essence appending another data series to the existing one. Can we predict in advance if the new HM will be higher or lower?
Yes. If the harmonic mean of the new points is lower, the HM of all the points will be lower, If it is higher the new HM will be higher. Easy to see from HM of [tex] \frac {1}{\sum {\frac{1}{a_i}}} [/tex] and [tex] \frac {1}{\sum {\frac{1}{b_i}}} [/tex] is [tex] \frac {1}{ \sum {\frac{1}{a_i}} + \sum {\frac{1}{b_i}} } [/tex]
 
  • Like
Likes Feynstein100
  • #4
mathman said:
It looks like a simple quantitative question. One point at a time will give a predictable result. More than one - results?
That's............kind of what I'm asking 😂
 
  • #5
willem2 said:
Yes. If the harmonic mean of the new points is lower, the HM of all the points will be lower, If it is higher the new HM will be higher. Easy to see from HM of [tex] \frac {1}{\sum {\frac{1}{a_i}}} [/tex] and [tex] \frac {1}{\sum {\frac{1}{b_i}}} [/tex] is [tex] \frac {1}{ \sum {\frac{1}{a_i}} + \sum {\frac{1}{b_i}} } [/tex]
Thanks for the reply. I worked it out myself and turns out, the combined harmonic mean Hc of two harmonic means H1 with m items and H2 with n items will be
Hc =(m + n)/(m/H1 + n/H2)
i.e. the weighted harmonic mean of H1 and H2. And by the general property of all means, Hc will be somewhere between H1 and H2. Thus, if the new HM is lower, the overall HM will be lower as well. And if the new HM is higher, the overall HM will be higher as well.

Btw your third formula has a mistake. It should be 2/(sum of inverses), not 1/(sum of inverses) and that's a special case of when both series have the same number of items. The general formula is the weighted harmonic mean.
 

FAQ: How is the harmonic mean affected by additional data points?

1. What is the harmonic mean?

The harmonic mean is a type of average that is calculated by taking the reciprocal of the arithmetic mean of the reciprocals of a set of numbers. It is particularly useful for sets of numbers that are defined in relation to some unit, such as rates or ratios. The formula for the harmonic mean (HM) of a set of n values (x1, x2, ..., xn) is given by HM = n / (1/x1 + 1/x2 + ... + 1/xn).

2. How does adding more data points affect the harmonic mean?

When additional data points are added to a set, the harmonic mean can change significantly, especially if the new data points are much smaller than the existing values. The harmonic mean is sensitive to smaller values because it gives more weight to them. Thus, adding smaller values will generally decrease the harmonic mean, while adding larger values may have a less pronounced effect.

3. Is the harmonic mean always affected by new data points?

Yes, the harmonic mean is always affected by new data points. Since it is calculated based on the reciprocals of the values, any change in the dataset, whether by adding, removing, or modifying values, will alter the overall sum of the reciprocals and consequently change the harmonic mean.

4. Under what circumstances does the harmonic mean remain unchanged when adding data points?

The harmonic mean remains unchanged if the additional data points are identical to the existing values in the dataset. For instance, if you have a set of values and you add more instances of the same value, the harmonic mean will not change because the overall ratio of the reciprocals remains the same.

5. Why is the harmonic mean less commonly used than the arithmetic mean?

The harmonic mean is less commonly used than the arithmetic mean because it is more sensitive to small values and can produce misleading results in datasets that include zero or negative numbers. Additionally, the harmonic mean is most appropriate for specific contexts, such as rates or ratios, whereas the arithmetic mean is more versatile and applicable to a wider range of datasets.

Back
Top