21 releases

✓ Uses Rust 2018 edition

0.10.4 Feb 17, 2020
0.10.3 Sep 2, 2019
0.10.2 Jul 31, 2019
0.9.3 Jan 18, 2019
0.6.2 Jun 21, 2017

#20 in Science

Download history 2981/week @ 2020-03-16 2567/week @ 2020-03-23 1756/week @ 2020-03-30 1391/week @ 2020-04-06 1187/week @ 2020-04-13 1155/week @ 2020-04-20 1568/week @ 2020-04-27 1372/week @ 2020-05-04 1594/week @ 2020-05-11 1578/week @ 2020-05-18 1766/week @ 2020-05-25 1719/week @ 2020-06-01 1678/week @ 2020-06-08 1680/week @ 2020-06-15 1557/week @ 2020-06-22 1423/week @ 2020-06-29

16,806 downloads per month
Used in 4 crates

MIT/Apache

80KB
1.5K SLoC

Rust 1.5K SLoC // 0.3% comments Python 178 SLoC // 0.1% comments

average

Calculate statistics of a sequence iteratively in a single pass, using constant space and avoiding numerical problems. The calculations can be easily parallelized by using merge.

This crate works without std.

Documentation Status Latest Version Build Status

Implemented statistics

  • Mean and its error.
  • Variance, skewness, kurtosis.
  • Arbitrary moments.
  • Minimum and maximum.
  • Quantile.
  • Histogram.

Crate features

The following optional feature is available:

  • serde1 enables serialization, via Serde version 1.

Rust version requirements

Rustc version 1.32 or greater is supported.

Related Projects

  • quantiles: Provides quantile estimates with bounded error but using growing space.

Dependencies

~195–425KB