Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numerical stability #3

Open
jlouis opened this issue Dec 29, 2015 · 1 comment
Open

Numerical stability #3

jlouis opened this issue Dec 29, 2015 · 1 comment

Comments

@jlouis
Copy link
Owner

jlouis commented Dec 29, 2015

We could opt for using summation and processing with better numerical stability.

@seriyps
Copy link

seriyps commented Sep 8, 2019

I found that under some circumstances (measured values in a set are very close or the same big floats), std_dev calculation may fail because variance becomes negative.
I guess it's somehow related to instability? Should some other "variance" calculation algorithm be implemented?
https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Na%C3%AFve_algorithm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants