15 releases (8 breaking)

0.9.3 Jan 18, 2019
0.9.2 Jul 27, 2018
0.8.0 Jul 10, 2018
0.7.0 Jan 10, 2018
0.6.2 Jun 21, 2017

#4 in Science

Download history 138/week @ 2018-10-06 297/week @ 2018-10-13 147/week @ 2018-10-20 242/week @ 2018-10-27 151/week @ 2018-11-03 241/week @ 2018-11-10 572/week @ 2018-11-17 1572/week @ 2018-11-24 1936/week @ 2018-12-01 2216/week @ 2018-12-08 2671/week @ 2018-12-15 2348/week @ 2018-12-22 2769/week @ 2018-12-29 3326/week @ 2019-01-05 3586/week @ 2019-01-12

7,367 downloads per month
Used in 2 crates

MIT/Apache

70KB
1.5K SLoC

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.

Related Projects

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

Dependencies

~479KB