<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > STAT (Statistical module) > Stat_MeanHarmonic |
Description
Returns the harmonic mean of all ArrayVariable items.
Syntax
n = STAT_MeanHarmonic(ArrayVariable)
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
ArrayVariable |
Numeric Array |
No |
The array containing data |
Remarks
This function will expect the name of a predefined array with all the necessary data already loaded.
The harmonic mean of a set of n numbers x1, x2, ..., xn is defined as follows:
Restrictions
See also
Examples