You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrea Cavalli 0d2c1ccee7 ddof 3 years ago
benches Fix clippy warnings 3 years ago
src ddof 3 years ago
tests Histogram: Add serialization test 3 years ago
.gitignore Initial commit 5 years ago
.travis.yml Don't run tests with minimal dependencies 3 years ago
Cargo.toml Fix build with minimal dependency versions 3 years ago
LICENSE-APACHE Include license verbatim 5 years ago
LICENSE-MIT Include license verbatim 5 years ago Increase minimal required Rust version (due to dependencies) 3 years ago


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.

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