Welford described a method for 'robust' one-pass computation of the standard deviation. By 'robust', we mean robust to round-off caused by a large shift in the mean.

var_welford(z)

Arguments

z

vector

Value

variance