NIKX-Tech/numx

stats: skewness and kurtosis

Open

#80 aberto em 11 de jul. de 2026

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)C (1 fork)github user discovery
enhancementgood first issue

Métricas do repositório

Stars
 (4 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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).

Guia do colaborador