Distributional Statistics
Data scientists frequently want to find anomalies in numerical data. To that end, HCP has some simple distributional statistics.
Function  Description  Input  Returns 

STATS_ADD  Adds one or more input values to those that are used to calculate the summary statistics. 

A Stellar statistics object 
STATS_BIN  Computes the bin that the value is in based on the statistical distribution. 

Which bin N the value falls in such that bound(N1) < value <= bound(N). No min and max bounds are provided, so values smaller than the 0'th bound go in the 0'th bin, and values greater than the last bound go in the M'th bin. 
STATS_COUNT  Calculates the count of the values accumulated (or in the window if a window is used). 

The count of the values in the window or NaN if the statistics object is null 
STATS_GEOMETRIC_MEAN  Calculates the geometric mean of the accumulated values (or in the window if a window is used). 

The geometric mean of the values in the window or NaN if the statistics object is null. 
STATS_INIT  Initializes a statistics object 

A Stellar statistics object 
STATS_KURTOSIS  Calculates the kurtosis of the accumulated values (or in the window if a window is used). 

The kurtosis of the values in the window or NaN if the statistics object is null 
STATS_MAX  Calculates the maximum of the accumulated values (or in the window if a window is used). 

The maximum of the accumulated values in the window or NaN if the statistics object is null. 
STATS_MEAN  Calculates the mean of the accumulated values (or in the window if a window is used). 

The mean of the values in the window or NaN if the statistics object is null. 
STATS_MERGE  Merges statistics objects 

A Stellar statistics object 
STATS_MIN  Calculates the minimum of the accumulated values (or in the window if a window is used). 

The minimum of the accumulated values in the window or NaN if the statistics object is null. 
STATS_PERCENTILE  Computes the p'th percentile of the accumulated values (or in the window if a window is used). 

The p'th percentile of the data or NaN if the statistics object is null 
STATS_POPULATION_VARIANCE  Calculates the population variance of the accumulated values (or in the window if a window is used). 

The population variance of the values in the window or NaN if the statistics object is null. 
STATS_QUADRATIC_MEAN  Calculates the quadratic mean of the accumulated values (or in the window if a window is used). 

The quadratic mean of the values in the window or NaN if the statistics object is null. 
STATS_SD  Calculates the standard deviation of the accumulated values (or in the window if a window is used). 

The standard deviation of the values in the window or NaN if the statistics object is null. 
STATS_SKEWNESS  Calculates the skewness of the accumulated values (or in the window if a window is used). 

The skewness of the values in the window or NaN if the statistics object is null. 
STATS_SUM  Calculates the sum of the accumulated values (or in the window if a window is used). 

The sum of the values in the window or NaN if the statistics object is null. 
STATS_SUM_LOGS  Calculates the sum of the (natural) log of the accumulated values (or in the window if a window is used). 

The sum of the (natural) log of the values in the window or NaN if the statistics object is null. 
STATS_SUM_SQUARES  Calculates the sum of the squares of the accumulated values (or in the window if a window is used). 

The sum of the squares of the values in the window or NaN if the statistics object is null. 
STATS_VARIANCE  Calculates the variance of the accumulated values (or in the window if a window is used). 

The variance of the values in the window or NaN if the statistics object is null. 