feat: add incrnanmmeanvar (moving mean/variance with NaN skipping) (fixes #5592)#8502
feat: add incrnanmmeanvar (moving mean/variance with NaN skipping) (fixes #5592)#8502anoofmhd wants to merge 19 commits intostdlib-js:developfrom
Conversation
|
👋 Hi there! 👋 And thank you for opening your first pull request! We will review it shortly. 🏃 💨 Getting Started
Next Steps
Running Tests LocallyYou can use # Run tests for all packages in the math namespace:
make test TESTS_FILTER=".*/@stdlib/math/.*"
# Run benchmarks for a specific package:
make benchmark BENCHMARKS_FILTER=".*/@stdlib/math/base/special/sin/.*"If you haven't heard back from us within two weeks, please ping us by tagging the "reviewers" team in a comment on this PR. If you have any further questions while waiting for a response, please join our Gitter channel to chat with project maintainers and other community members. We appreciate your contribution! Documentation Links |
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
/stdlib update-copyright-years |
…ix:run_affected_examples / Run changed examples (pull_request)
…lint_changed_files / Lint Changed Files (pull_request)
|
@Planeshifter @stdlib-bot @kgryte @rotu can you please review it and tell me if any changes needed or the PR is ready to merge. |
… lint_changed_files / Lint Changed Files (pull_request)
lib/node_modules/@stdlib/stats/incr/nanmmeanvar/docs/img/nan_skip.svg
Outdated
Show resolved
Hide resolved
|
@kgryte Can you please review it and suggest me any changes needed. |
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Anoof Mohammed KP <anoofmhd48@gmail.com>
…nd variance while skipping NaN values.
…ng arithmetic mean and unbiased sample variance while skipping NaN values
Resolves #5592.
Description
This pull request:
Adds a new incremental moving mean and variance accumulator: @stdlib/stats/incr/nanmmeanvar.
This module behaves similarly to @stdlib/stats/incr/mmeanvar, but skips NaN values instead of propagating them.
Includes implementation, tests, documentation, TypeScript definitions, REPL help file, benchmarks, and examples.
Related Issues
This pull request has the following related issues:
stats/incr/nanmmeanvar#5592Questions
No.
Other
No additional information.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
I used ChatGPT to assist in understanding spec expectations and drafting documentation wording.
The implementation and test logic were written and verified manually.
@stdlib-js/reviewers