Crate std_dev

Source

Re-exports§

pub use percentile::percentile_rand;percentile-rand
pub use percentile::median;
pub use percentile::percentile;
pub use percentile::Fraction;
pub use regression::best_fit_ols as regression_best_fit;ols
pub use regression::Determination;regression
pub use regression::Predictive;regression

Modules§

percentile
Percentile / median calculations.
regressionregression
Various regression models to fit the best line to your data. All written to be understandable.

Structs§

ClusterList
A list of clusters.
F64OrdHash
F64 wrapper that implements Ord and Hash.
OwnedClusterList
Owned variant of ClusterList. Use Self::borrow to get a ClusterList. The inner slice is accessible through the Deref and DerefMut, which means you can use this as a mutable slice.
PercentilesOutput
Returned from percentiles_cluster and similar functions.
StandardDeviationOutput
Returned from standard_deviation and similar functions.

Traits§

Mean
Helper-trait for types used by mean.
StandardDeviation
Helper-trait for types used by standard_deviation.

Functions§

mean
Mean of values.
mean_cluster
Mean of clustered values.
percentiles_cluster
Get a collection of percentiles from values.
standard_deviation
Get the standard deviation of values. The mean is also returned from this, because it’s required to compute the standard deviation.
standard_deviation_cluster
Get the standard deviation of values. The mean is also returned from this, because it’s required to compute the standard deviation.

Type Aliases§

Cluster
As all algorithms are executed in linear time now, this is not as useful, but nevertheless an interesting feature. If you already have clustered data, this feature is great.