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 800/week @ 2023-11-26 815/week @ 2023-12-03 887/week @ 2023-12-10 915/week @ 2023-12-17 1147/week @ 2023-12-24 684/week @ 2023-12-31 852/week @ 2024-01-07 1268/week @ 2024-01-14 1097/week @ 2024-01-21 1110/week @ 2024-01-28 1072/week @ 2024-02-04 973/week @ 2024-02-11 1318/week @ 2024-02-18 1026/week @ 2024-02-25 1472/week @ 2024-03-03 966/week @ 2024-03-10

4,849 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

~575KB