datafusion_functions_aggregate

Module covariance

Source
Expand description

CovarianceSample: covariance sample aggregations.

Structs§

  • An accumulator to compute covariance The algorithm used is an online implementation and numerically stable. It is derived from the following paper for calculating variance: Welford, B. P. (1962). “Note on a method for calculating corrected sums of squares and products”. Technometrics. 4 (3): 419–420. doi:10.2307/1266577. JSTOR 1266577.

Functions§