locan.utils.statistics#

Statistics related tools.

Classes

WeightedMeanVariance(weighted_mean, ...)

Functions

biased_variance(variance, n_samples)

The sample variance is biased if not corrected by Bessel's correction.

ratio_fwhm_to_sigma()

The numeric value of the ratio between full-width-half-max (fwhm) width and standard deviation (sigma) of a normal distribution.

weighted_mean_variance(values, weights)

Compute weighted mean (average) and the corresponding weighted mean variance [1]_.