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

[Enhancement] Add StandardDeviation() method in Stats #119

Closed
lpeyr opened this issue Jun 28, 2023 · 0 comments · Fixed by #124
Closed

[Enhancement] Add StandardDeviation() method in Stats #119

lpeyr opened this issue Jun 28, 2023 · 0 comments · Fixed by #124
Assignees
Labels
enhancement New feature or request roadmap Feature of the roadmap vNext Issues planed for the next version

Comments

@lpeyr
Copy link
Contributor

lpeyr commented Jun 28, 2023

Enhancement

Add StandardDeviation() method in Stats.

Other informations

double variance = numbers.Select(x => Math.Pow(x - mean, 2)).Average();

double standardDeviation = Math.Sqrt(variance);
@lpeyr lpeyr added enhancement New feature or request vNext Issues planed for the next version roadmap Feature of the roadmap labels Jun 28, 2023
@lpeyr lpeyr self-assigned this Jun 28, 2023
@lpeyr lpeyr linked a pull request Jun 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap Feature of the roadmap vNext Issues planed for the next version
Projects
No open projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant