pub fn variance<T: AsRef<[f64]>>(values: T) -> f64
Calculate statistical variance for values.
Return NaN if the values are empty.
Filter NaN values in the stream.