Library for one-dimensional data classification and simple statistics, especially methods used for cartographic purposes such as "quantiles breaks" or "Jenks natural breaks".
If the input values are already sorted and you don't care about error checking
you can directly use the
This library also provide a few basic statistical functionnalities, allowing to compute mean value, kurtosis value, standard deviation, variance, root of mean square, etc.
Basic statistical functionnalities: mean, standard deviation, kurtosis, variance, etc.
A struct containing the bounds computed at its creation and some basic statistical informations : minimum, maximum and mean value.
The various type of classification methods availables.
Compute the "arithmetic progression" breaks on a list of sorted values.
Compute the equal interval breaks on a list of sorted values.
Compute the "Head-Tail" breaks on a list of sorted values (to be used on heavily right skewed distributions).
Compute the "Natural Breaks" on a list of sorted values, based on Jenks optimization.
Compute the quantiles breaks on a list of sorted values.
Compute the "Tail-Head" breaks on a list of sorted values (its actually just the inverse of the Head-Tail method, to be used on heavily left skewed distributions).