Index | OAT homepage | OpenLink Software

# OATDOCstatistics

- OATDOCstatistics
- _ _ statistics.js
- _ _ _ _ Functions
- _ _ _ _ _ _ OAT.Statistics.sum(array)
- _ _ _ _ _ _ OAT.Statistics.product(array)
- _ _ _ _ _ _ OAT.Statistics.amean(array)
- _ _ _ _ _ _ OAT.Statistics.max(array)
- _ _ _ _ _ _ OAT.Statistics.min(array)
- _ _ _ _ _ _ OAT.Statistics.distinct(array)
- _ _ _ _ _ _ OAT.Statistics.variance(array)
- _ _ _ _ _ _ OAT.Statistics.deviation(array)
- _ _ _ _ _ _ OAT.Statistics.median(array)
- _ _ _ _ _ _ OAT.Statistics.mode(array)

## statistics.js

Elementary statistic functions.

### Functions

#### OAT.Statistics.sum(array)

Sums all values from `array` .

#### OAT.Statistics.product(array)

Gives product of all values from `array` .

#### OAT.Statistics.amean(array)

Gives arithmetic mean of all values from `array` .

#### OAT.Statistics.max(array)

Returns highest value from `array` .

#### OAT.Statistics.min(array)

Returns lowest value from `array` .

#### OAT.Statistics.distinct(array)

Counts distinct values in `array` .

#### OAT.Statistics.variance(array)

Returns variance of `array` .

#### OAT.Statistics.deviation(array)

Returns standard deviation of `array` .

#### OAT.Statistics.median(array)

Returns standard median of `array` .

#### OAT.Statistics.mode(array)

Returns standard mode of `array` .

Copyright (C) 2005-2008 OpenLink Software