feat: ✨ now calculating population standard deviation instead of sample standard deviation
This commit is contained in:
parent
2d06d28c7b
commit
c05bf56ca4
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ fn standard_deviation(results: &[f64], arithmetic_mean: f64) -> f64 {
|
|||
.iter()
|
||||
.map(|function_result| (function_result - arithmetic_mean).powi(2))
|
||||
.sum::<f64>()
|
||||
/ (results.len() - 1) as f64,
|
||||
/ results.len() as f64,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue