41 releases (22 breaking)

new 0.25.0 Dec 8, 2024
0.23.0 Dec 7, 2024
0.22.0 Sep 8, 2024
0.18.0 May 14, 2024
0.3.3 Oct 18, 2021

#194 in Math

Download history 239/week @ 2024-08-24 653/week @ 2024-08-31 875/week @ 2024-09-07 318/week @ 2024-09-14 440/week @ 2024-09-21 234/week @ 2024-09-28 271/week @ 2024-10-05 232/week @ 2024-10-12 364/week @ 2024-10-19 305/week @ 2024-10-26 293/week @ 2024-11-02 167/week @ 2024-11-09 297/week @ 2024-11-16 232/week @ 2024-11-23 508/week @ 2024-11-30 715/week @ 2024-12-07

1,783 downloads per month
Used in qsv

MIT OR Unlicense

76KB
2K 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's Cargo.toml:

[dependencies]
qsv-stats = "0.24"

Dependencies

~2.2–3MB
~59K SLoC