Expand description
VarianceSample
: variance sample aggregations.
VariancePopulation
: variance population aggregations.
Structs§
- Variance
Accumulator - 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.
- Variance
Groups Accumulator - Variance
Population - Variance
Sample
Functions§
- var_pop
- Computes the population variance.
- var_
pop_ udaf - AggregateFunction that returns a
AggregateUDF
forVariancePopulation
- var_
samp_ udaf - AggregateFunction that returns a
AggregateUDF
forVarianceSample
- var_
sample - Computes the sample variance.