Module rustduino::math::statistics[][src]

Expand description

Statistical analysis support.

The statistics Cargo feature must be enabled to use this functionality.

The following traits are available and impl’d for slices and iterators of f32 (and can be impl’d for other types):

  • Mean - compute arithmetic mean with the mean() method.
  • StdDev - compute standard deviation with the stddev() method
  • Trim - cull outliers from a sample slice with the trim() method.
  • Variance - compute variance with the `variance() method.

Modules

Iterate over input slices after culling statistical outliers.

Traits

Arithmetic mean

Compute standard deviation

Iterate over the given input after culling outliers.

Statistical variance