#statistics #mean #frequency #quartiles

qsv-stats

Computing summary statistics on streams

69 releases (breaking)

Uses new Rust 2024

new 0.49.0 Apr 18, 2026
0.48.1 Mar 30, 2026
0.45.0 Dec 21, 2025
0.41.0 Nov 30, 2025
0.3.3 Oct 18, 2021

#200 in Math

Download history 420/week @ 2025-12-27 725/week @ 2026-01-03 457/week @ 2026-01-10 440/week @ 2026-01-17 509/week @ 2026-01-24 667/week @ 2026-01-31 708/week @ 2026-02-07 1001/week @ 2026-02-14 865/week @ 2026-02-21 876/week @ 2026-02-28 649/week @ 2026-03-07 442/week @ 2026-03-14 573/week @ 2026-03-21 687/week @ 2026-03-28 1067/week @ 2026-04-04 877/week @ 2026-04-11

3,272 downloads per month
Used in qsv

MIT OR Unlicense

190KB
4K SLoC

qsv-stats

This library provides common statistical functions with support for computing them efficiently on streams of data. The intent is to permit parallel computation of statistics on large data sets.

NOTE: This fork of streaming-stats merges pending upstream PRs for quartile computation and a different variance algorithm that is used in qsv's stats command.
It has numerous other stats, heavily updated for performance, uses parallel processing, uses the fused multiply add CPU instruction along with several other performance tweaks.

Dual-licensed under MIT or the UNLICENSE.

Documentation

Documentation for qsv-stats exists here: https://docs.rs/qsv-stats.

Installation

Simply add qsv-stats as a dependency to your project:

cargo add qsv-stats

Dependencies

~1.4–2.3MB
~45K SLoC