Files
pandas-ta/pandas_ta/statistics
YuvalWein 4cf1d86996 Update stdev.py
Same as variance explanation, since std = sqrt(variance):

When calculation variance we can divide the calculation by N, or by N-1.
When calculating sample variance we divide by N-1 (like in the current code).(https://towardsdatascience.com/why-sample-variance-is-divided-by-n-1-89821b83ef6d)
Sometimes We want to divide by N like the basis formula, to calculate population variance. (https://en.wikipedia.org/wiki/Variance#Discrete_random_variable)
For me its useful to add another parameter that will make it possible to calculate both of then using one function.
Is it useful for you?
2020-07-23 10:26:04 +03:00
..
2020-05-25 22:49:03 -07:00
2020-05-25 22:49:03 -07:00
2019-05-20 08:14:17 -07:00
2019-05-20 08:14:17 -07:00
2019-05-20 08:14:17 -07:00
2019-05-20 08:14:17 -07:00
2020-05-03 18:32:33 +03:00
2020-07-23 10:26:04 +03:00
2020-07-23 10:22:55 +03:00
2019-05-20 13:25:33 -07:00