lisa.stats.series_mean_stats#

lisa.stats.series_mean_stats(series, kind, confidence_level=0.95)[source]#

Compute the mean along with the a confidence interval based on the T-score.

Returns:

A tuple with:

  1. The mean

  2. The standard deviation, or its equivalent

  3. The standard error of the mean, or its equivalent (Harmonic Standard Error, Geometric Standard Error).

  4. The interval, as an 2-tuple of +/- values

Parameters:
  • kind (str) – Kind of mean to use: * arithmetic * harmonic * geometric

  • confidence_level (float) – Confidence level of the confidence interval.