Variance Calculations

Given a set of n (real/integer) numbers, compute the variance (sample or population). Of interest is streaming algorithms and numerical stability.

Parameters

  • nn: number of values

Related Problems


Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 4 of 4 algorithms

See more
Weighted incremental algorithm1979O(n)O(n)O(1)O(1)
Welford's Online algorithm1962O(n)O(n)O(1)O(1)
Naïve algorithm1940O(n)O(n)O(1)O(1)
Two-pass algorithm1940O(n)O(n)O(1)O(1)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Insuffient Data to display table