Returns the harmonic mean.
| Category: | Descriptive Statistics |
| Returned data type: | DOUBLE |
specifies any valid expression that evaluates to a nonnegative numeric value.
| Data type | DOUBLE |
| See | <sql-expression> |
| FedSQL Expressions |
be the number of arguments with non-null or nonmissing
values, and let
be the values of those arguments. The harmonic mean
is shown in this equation.
|
Statements
|
Results
|
|---|---|
select harmean(1,2,4,4); |
2 |
select harmean(.,4,12,24); |
8 |