Function basic_stochastics::empiric_deviation
[−]
[src]
pub fn empiric_deviation(data: &Vec<f64>) -> f64
Calculates the square root of the variance, representing the scattering of the given data
Examples
let data = vec![1.0, 2.0, 3.0, 4.0, 2.0]; assert_eq!(basic_stochastics::empiric_deviation(&data), 1.019803902718557)