47 lines
1.1 KiB
Markdown
47 lines
1.1 KiB
Markdown
# 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]][docs.rs]
|
|
[![Latest Version]][crates.io]
|
|
[![Build Status]][travis]
|
|
|
|
[Documentation Status]: https://docs.rs/average/badge.svg
|
|
[docs.rs]: https://docs.rs/average
|
|
[Build Status]: https://travis-ci.org/vks/average.svg?branch=master
|
|
[travis]: https://travis-ci.org/vks/average
|
|
[Latest Version]: https://img.shields.io/crates/v/average.svg
|
|
[crates.io]: https://crates.io/crates/average
|
|
|
|
|
|
## 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`](https://crates.io/crates/quantiles):
|
|
Provides quantile estimates with bounded error but using growing space.
|