Module datafusion::functions_aggregate::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§
- Computes the population covariance.
- AggregateFunction that returns a AggregateUDF for [$UDAF]
- Computes the sample covariance.
- AggregateFunction that returns a AggregateUDF for [$UDAF]