Awkl
Loading...
Searching...
No Matches
stats.awk File Reference

Namespaces

namespace  stats
 

Functions

auto stats::sum (A)
 Sum function.
 
auto stats::sumReciprocals (A)
 Sum of reciprocals function.
 
auto stats::sumSquares (A)
 Sum of squares function (or dot product with itself)
 
auto stats::sumOfSquares (A, m)
 Sum of squared deviations from the mean function (SS / SDM)
 
auto stats::dot (A, B)
 Dot product.
 
auto stats::prod (A)
 Product function.
 
auto stats::cumsum (A)
 Cumulative sum function.
 
auto stats::cumprod (A)
 Cumulative product function.
 
auto stats::mean (A, l)
 Arithmetic mean function (AM / M_1)
 
auto stats::harMean (A, l)
 Harmonic mean function (HM / M_-1)
 
auto stats::geoMean (A, l)
 Geometric mean function (GM / M_0)
 
auto stats::quadraticMean (A, l)
 Quadratic mean function (or root mean square) (QM/RMS / M_2)
 
auto stats::generalizedMean (A, n)
 Generalized mean function (M_n)
 
auto stats::mid (A, l)
 Middle element of an array. If there are 2, get the arithmetic mean of both.
 
auto stats::midLow (A, l)
 Middle element of an array. If there are 2, get the lower indexed one.
 
auto stats::midHigh (A, l)
 Middle element of an array. If there are 2, get the higher indexed one.
 
auto stats::median (A)
 Median function.
 
auto stats::medianLow (A)
 Median low function.
 
auto stats::medianHigh (A)
 Median high function.
 
auto stats::min (A)
 Minimum of an array.
 
auto stats::max (A)
 Maximum of an array.
 
auto stats::extrema (A, ex)
 Minimum and maximum of an array.
 
auto stats::range (A)
 Range function (maximum - minimum)
 
auto stats::midrange (A)
 Mid range function.
 
unassigned stats::mode (array A, array modes)
 Mode function.
 
unassigned stats::antimode (array A, array amodes)
 Antimode function.
 
auto stats::pvar (A, m, l)
 Population variance function.
 
auto stats::var (A, m, l)
 Sample variance function.
 
auto stats::psd (A, m, l)
 Population standard deviation function.
 
auto stats::sd (A, m, l)
 Sample standard deviation function.
 
auto stats::cv (A, m, s)
 Coefficient of variation.
 
auto stats::pcov (A, B, m1, m2)
 Population covariance function.
 
auto stats::cov (A, B, m1, m2)
 Sample covariance function.
 
auto stats::pcor (A, B)
 Population Pearson correlation function (PCC / rho)
 
auto stats::cor (A, B)
 Sample Pearson correlation function.
 
auto stats::pskewness (A, l)
 Population skewness function.
 
auto stats::skewness (A, m, s, l)
 Sample skewness function.
 
auto stats::pkurtosis (A, l)
 Population kurtosis function.
 
auto stats::kurtosis (A, m, s, l)
 Sample kurtosis function.
 
auto stats::_stat_push (s, x)
 
auto stats::stat_push (s, x)
 Update moment statistics to array "s" /**.
 
auto stats::stat_calc (s, stats)
 Update central moments statistics to array "s" mean: Arithmetic mean (1° moment) pvar: Population variance (2° central moment) var: Sample variance psd: Population standard deviation sd: Sample standard deviation pskewness: Population skewness (3° standardized moment) skewness: Sample skewness pkurtosis: Population kurtosis (4° standardized moment) kurtosis: Sample kurtosis More efficient than computing each one separately?