\(\renewcommand\AA{\unicode{x212B}}\)

Stats

This is a Python binding to the C++ class Mantid::Kernel::Stats.

class mantid.kernel.Stats
class Statistics
property maximum

Maximum value of the data set

property mean

Simple mean, sum(data)/nvalues, of the data set

property median

Middle value of the data set

property minimum

Minimum value of the data set

property standard_deviation

Standard width of distribution

static getModifiedZscore((object)data[, (bool)sorted]) std_vector_dbl :

Determine the modified Z score for an array of data

static getMomentsAboutMean((object)indep, (object)depend[, (int)maxMoment]) numpy.ndarray :

Calculate the first n-moments (inclusive) about the mean

static getMomentsAboutOrigin((object)indep, (object)depend[, (int)maxMoment]) numpy.ndarray :

Calculate the first n-moments (inclusive) about the origin

static getStatistics((object)data[, (bool)sorted]) Statistics :

Determine the statistics for an array of data

static getZscore((object)data) std_vector_dbl :

Determine the Z score for an array of data

getZscore( (object)data, (bool)sorted) -> std_vector_dbl :

Determine the Z score for an array of data (deprecated + ignored sorted argument)