Compute standard deviation.
function StdDev(SumOfSquares: double; Sum: double; Averages: integer): double; overload;
Returns standard deviation according to the formula:
n*Sum(x^2) - Sum(x)^2
StdDev = ( ------------------------- )^0.5
n*(n-1)
n... number of averages taken
Sum(x^2)... sum of squares of samples
Sum(x)... sum of samples|
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|