NIKX-Tech/numx

stats: skewness and kurtosis

Open

#80 创建于 2026年7月11日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C (1 fork)github user discovery
enhancementgood first issue

仓库指标

Star
 (4 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南