Two-pass algorithm ( Variance Calculations)
Jump to navigation
Jump to search
Time Complexity
$O(n)$
Space Complexity
$O({1})$ words
(Maintain number of values, sum of values, and sum of squares of (value minus mean) terms)
Description
Approximate?
Exact
Randomized?
No, deterministic
Model of Computation
Word/Real RAM
Year
1940
Reference
-