stats: skewness and kurtosis
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 23
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Add numx_stats_skewness and numx_stats_kurtosis to the stats module.
numx_stats_variance already uses Welford's online algorithm for numerical stability, see the note in #59 and #57's PR about why naive summation is avoided in this codebase, follow the same care here (an online algorithm extending Welford's, e.g. tracking higher moments incrementally, is preferable to a naive sum-based formula).
Follow CONTRIBUTING.md exactly: full Doxygen header, NULL-checks, numx_status_t return, all four deliverables (header, impl, test, docs page).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the stats module's existing numx_stats_variance implementation and its Welford-algorithm context in #59 and #57's PR, then read CONTRIBUTING.md for the required format. Add the header, implementation, test, and documentation page for numx_stats_skewness and numx_stats_kurtosis, using an incrementally stable higher-moment approach with NULL checks and numx_status_t returns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100