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

貢獻者指南