Skip to content

feat: add stats/incr/nanmeanstdev - #6148

Merged
Planeshifter merged 5 commits into
stdlib-js:developfrom
AaryaBalwadkar:feature/adding-nanmeanstdev-package-5574
Jul 19, 2026
Merged

Planeshifter merged 5 commits into
stdlib-js:developfrom
AaryaBalwadkar:feature/adding-nanmeanstdev-package-5574

Conversation

@AaryaBalwadkar

Copy link
Copy Markdown
Contributor

Resolves #5574.

Description

What is the purpose of this pull request?

This pull request:

  • Adds the @stdlib/stats/incr/nanmeanstdev package, which compute an arithmetic mean and a corrected sample standard deviation incrementally while handling NaN values by skipping them.

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

image
image
image
image

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Mar 18, 2025

@stdlib-bot stdlib-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hi there! 👋

And thank you for opening your first pull request! We will review it shortly. 🏃 💨

@stdlib-bot

stdlib-bot commented Mar 18, 2025 •

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/incr/nanmeanstdev $\\color{green}147/147$
$\\color{green}+0.00\\%$
$\\color{green}10/10$
$\\color{green}+0.00\\%$
$\\color{green}2/2$
$\\color{green}+0.00\\%$
$\\color{green}147/147$
$\\color{green}+0.00\\%$

The above coverage report was generated for the changes in this PR.

@AaryaBalwadkar

Copy link
Copy Markdown
Contributor Author

@kgryte can you please review this PR?

@Planeshifter
Planeshifter requested a review from a team July 19, 2026 05:21
@Planeshifter Planeshifter changed the title feat(stats): add nanmeanstdev package feat: add stats/incr/nanmeanstdev Jul 19, 2026
Planeshifter
Planeshifter previously approved these changes Jul 19, 2026

@Planeshifter Planeshifter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @AaryaBalwadkar!

@stdlib-bot

Copy link
Copy Markdown
Contributor

PR Commit Message

feat: add `stats/incr/nanmeanstdev`

PR-URL: https://github.com/stdlib-js/stdlib/pull/6148
Closes: https://github.com/stdlib-js/stdlib/issues/5574

Co-authored-by: AaryaBalwadkarPHC <aarya.dev@projecthumancity.com>
Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com>
Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>

Please review the above commit message and make any necessary adjustments.

@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Jul 19, 2026
@Planeshifter
Planeshifter merged commit 992d620 into stdlib-js:develop Jul 19, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: add stats/incr/nanmeanstdev

4 participants