Crate basic_stochastics [] [src]

Basic Stochastics

basic_stochastics is a small collection of utilities to make performing basic stochastic calculations more convenient.

Constants

EIGHTY_TO_SIGMA
FIFTY_TO_SIGMA
NINETY_FIVE_TO_SIGMA
NINETY_NINE_TO_SIGMA
NINETY_TO_SIGMA
ONE_SIGMA
SEVENTY_TO_SIGMA
SIXTY_TO_SIGMA
THREE_SIGMA
TWO_SIGMA

Functions

average

Calculates the average of the given vector.

empiric_deviation

Calculates the square root of the variance, representing the scattering of the given data

matches_custom_sigma_environment

Determines, whether the given value matches the given sigma environment using the given µ and σ values. You can either provide a specific sigma environment or use one from the given constants. Please see https://en.wikipedia.org/wiki/Normal_distribution and sigma rooms for further information.

matches_sigma_environment

Determines, whether the given value matches the given sigma environment of the given data's normal distribution. You can either provide a specific sigma environment or use one from the given constants. Please see https://en.wikipedia.org/wiki/Normal_distribution and sigma rooms for further information.

variance

Calculates the variance of the given vector. Please see https://en.wikipedia.org/wiki/Variance for further explanation.