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

Standard Deviation not calculated properly #5

Open
cD1rtX3 opened this issue Nov 8, 2023 · 0 comments
Open

Standard Deviation not calculated properly #5

cD1rtX3 opened this issue Nov 8, 2023 · 0 comments

Comments

@cD1rtX3
Copy link

cD1rtX3 commented Nov 8, 2023

The formula for standard deviation involves dividing by the number of terms before square-rooting the result:
download
The function in your code, however, does not, and instead, simply sums the squares and then square-roots, giving a result that is always incorrect.

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

1 participant