Module datafusion_functions_aggregate::variance
source · Expand description
VarianceSample
: variance sample aggregations.
VariancePopulation
: variance population aggregations.
Structs§
- An accumulator to compute variance The algorithm used is an online implementation and numerically stable. It is based on this paper: 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 variance.
- AggregateFunction that returns a
AggregateUDF
forVariancePopulation
- AggregateFunction that returns a
AggregateUDF
forVarianceSample
- Computes the sample variance.