rstats 0.1.5

Simple Statistics
Documentation

Rstats - Rust Stats

GitHub last commit Crates.io

Synopsis

Rstats is a lean minimalistic library that only depends on anyhow (for its error handling).

The functions supplied compute means (arithmetic, geometric and harmonic) of i64 and f64 vectors.

They are implemented as trait methods. For example, v.amean() computes the arithmetic mean of vector v of type either Vec<i64> or Vec<f64> (or their slices).

Also included are:

  • linearly weighted means useful for time dependent data analysis,

  • correlation and autocorrelation,

  • median and quartiles.

More facilities will be added in future versions.