[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #8052] Harmonic means for descriptive statistics

From: John Darrington
Subject: [patch #8052] Harmonic means for descriptive statistics
Date: Sun, 26 May 2013 08:16:53 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #4, patch #8052 (project pspp):

The SPSS documentation doesn't mention any limits on the domain of the input.
(it says the weights must be positive, but does not mention the values).

In the special case, where a value is zero. It can be shown algebraically that
the harmonic mean is also zero:

h = a.b / (a+b)
  = a.0  / a

So I retract my previous statement.  I think now that if the
sum-of-reciprocals method is used, there should be a special case when one or
more values are zero.  But I still don't see why negative values should be
treated specially.

I cannot find in the academic literature any indication that harmonic means
are defined only for positive values.
This would also fit with the parallel resistor analogy (yes negative resistors
do exist - kindof - see Horowitz and Hill).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]