Behaviour
It computes partial results useful to compute a statistical index based on mask value working vertically on the columns of arrays of measures. The partial results, after a merge, can be treated as input to oph_aggregate_stats_final primitive to compute the final results for the requested indexes. Possible partial results, depending on the requested indexes, are:
For example, in case the 3-order moment (skew) is requested, the output will contain sum{i}, sum{xi}, sum{xi2} and sum{xi3}.
Parameters
Return type
Binary-array.
Examples
Compute partial results for mean, maximum and minimum of a set of time series.
oph_aggregate_stats_partial('OPH_DOUBLE','OPH_DOUBLE',measure,'1000011')
Operation type
Aggregate.
Argument name | Type | Mandatory | Values | Default | Min/Max-value | Min/Max-times |
---|---|---|---|---|---|---|
input data type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
output data type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
measure | “binary-array” | “yes” | “1” / “1” | |||
mask | “string” | “no” | “1111111” | “0” / “1” |