DataLab
is a compact statistics package aiming at exploratory data analysis. Please visit the
DataLab Web site
for more information....
Home
Programming DataLab
DLabPascal
1-Dimensional Arrays
TVector
Methods
HarmonicMean
See also:
GeometricMean
,
MeanVar
Index
Statistical Background
HarmonicMean
Declaration:
TVector
.
HarmonicMean
(LowElem, HighElem: integer): double;
The method
HarmonicMean
calculates the harmonic mean of all elements between
LowElem
and
HighElem
(including these border elements). If any of the elements is negative or zero an exception is raised.