10 releases (4 stable)

3.0.1 Dec 5, 2021
3.0.0 Mar 5, 2021
2.0.0 Mar 4, 2021
1.0.0 Jan 4, 2019
0.0.3 Apr 5, 2017

#8 in #percentile

Download history 1717/week @ 2024-03-28 1849/week @ 2024-04-04 1751/week @ 2024-04-11 2110/week @ 2024-04-18 1835/week @ 2024-04-25 1400/week @ 2024-05-02 1822/week @ 2024-05-09 1728/week @ 2024-05-16 1648/week @ 2024-05-23 2295/week @ 2024-05-30 1518/week @ 2024-06-06 2584/week @ 2024-06-13 2714/week @ 2024-06-20 2235/week @ 2024-06-27 1923/week @ 2024-07-04 1214/week @ 2024-07-11

8,532 downloads per month
Used in serenade

MIT license

44KB
822 lines

Stats CLI

crates.io documentation tests MIT License

Rust package for efficiently computing statistics on floating point numbers from the command line. This contains both a command line binary and a rust library with incremental statistics objects. Currently only summary statistics (min, mean, variance), percentiles, and mode are supported.

See the rust documentation for the library api, or the cli help for usage.

To Do

  • Add sketches (many other crates do this)
  • Add testing to cli
  • Weigh tradeoffs behind DerefCopy trait vs Borrow + Copy

lib.rs:

Module with incremental statistics functions

This contains helper functions for computing statistics on iterators, as well as structs that support incremental addition of data.

Dependencies

~1MB