Returns the geometric mean, using zero fuzzing.
| 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 geometric
mean is the
root of the product of the values:
|
Statements
|
Results
|
|---|---|
select geomeanz(1,2,2,4); |
2 |
select geomeanz(.,2,4,8); |
4 |