Expand description
Russell - Rust Scientific Library
russell_stat: Statistics calculations and (engineering) probability distributions
Important: This crate depends on external libraries (non-Rust). Thus, please check the Installation Instructions on the GitHub Repository.
This library assists in developing statistical computations and simulations aiming at engineering applications, such as reliability analyses. This library provides a light interface to rand_distr and implements extra functionality.
It also provides tools for descriptive statistics, including quantiles, inter-quartile range (IQR), and outlier detection, as well as a text-based histogram generator.
Some essential distributions considered in this library are those classified as Extreme Value Distribution.
Structs§
- Distribution
Frechet - Implements the Frechet distribution
- Distribution
Gumbel - Implements the Gumbel distribution
- Distribution
Lognormal - Implements the Lognormal distribution
- Distribution
Normal - Implements the Normal distribution
- Distribution
Uniform - Implements the continuous Uniform distribution
- Histogram
- Implements a Histogram to count frequencies
- Statistics
- Holds basic statistics of a dataset
Traits§
- Probability
Distribution - Defines the Probability Distribution trait
Functions§
- get_rng
- Returns the thread-local random number generator, seeded by the system
- inter_
quartile_ range - Calculates the inter-quartile range (IQR) of a dataset.
- outliers
- Identifies outliers in the data using the 1.5 * IQR rule.
- quantile
- Calculates a quantile of a sorted slice using linear interpolation.
- quartiles
- Calculates the first, second (median), and third quartiles.
Type Aliases§
- StrError
- Defines the error output as a static string