Crate stats

source · []

Structs

A commutative data structure for exact frequency counts.

A commutative data structure for tracking minimum and maximum values.

Online state for computing mean, variance and standard deviation.

A commutative data structure for lazily sorted sequences of data.

Traits

Defines an interface for types that have an identity and can be commuted.

Functions

Compute the mean of a stream in constant space.

Compute the exact median on a stream of data.

Merges all items in the stream.

Compute the exact mode on a stream of data.

Compute the modes on a stream of data.

Compute the exact 1-, 2-, and 3-quartiles (Q1, Q2 a.k.a. median, and Q3) on a stream of data.

Compute the standard deviation of a stream in constant space.

Compute the variance of a stream in constant space.