Skip to main content

Crate russell_stat

Crate russell_stat 

Source
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§

DistributionFrechet
Implements the Frechet distribution
DistributionGumbel
Implements the Gumbel distribution
DistributionLognormal
Implements the Lognormal distribution
DistributionNormal
Implements the Normal distribution
DistributionUniform
Implements the continuous Uniform distribution
Histogram
Implements a Histogram to count frequencies
Statistics
Holds basic statistics of a dataset

Traits§

ProbabilityDistribution
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