Returns the harmonic mean, using zero fuzzing.

Category: | Descriptive Statistics |

If any argument is negative,
then the result is a missing value. A message appears in the log that
the negative argument is invalid, and _ERROR_ is set to 1. If all
the arguments are missing values, then the result is a missing value.
Otherwise, the result is the harmonic mean of the nonmissing values.

If any argument is zero,
then the harmonic mean is zero. Otherwise, the harmonic mean is the
reciprocal of the arithmetic mean of the reciprocals of the values.

Copyright © SAS Institute Inc. All rights reserved.