Statistics

Order statistics

methoddescription
aminopen in new window(a[, axis, out, keepdims, initial, where])Return the minimum of an array or minimum along an axis.
amaxopen in new window(a[, axis, out, keepdims, initial, where])Return the maximum of an array or maximum along an axis.
nanminopen in new window(a[, axis, out, keepdims])Return minimum of an array or minimum along an axis, ignoring any NaNs.
nanmaxopen in new window(a[, axis, out, keepdims])Return the maximum of an array or maximum along an axis, ignoring any NaNs.
ptpopen in new window(a[, axis, out, keepdims])Range of values (maximum - minimum) along an axis.
percentileopen in new window(a, q[, axis, out, …])Compute the q-th percentile of the data along the specified axis.
nanpercentileopen in new window(a, q[, axis, out, …])Compute the qth percentile of the data along the specified axis, while ignoring nan values.
quantileopen in new window(a, q[, axis, out, overwrite_input, …])Compute the q-th quantile of the data along the specified axis.
nanquantileopen in new window(a, q[, axis, out, …])Compute the qth quantile of the data along the specified axis, while ignoring nan values.

Averages and variances

methoddescription
medianopen in new window(a[, axis, out, overwrite_input, keepdims])Compute the median along the specified axis.
averageopen in new window(a[, axis, weights, returned])Compute the weighted average along the specified axis.
meanopen in new window(a[, axis, dtype, out, keepdims])Compute the arithmetic mean along the specified axis.
stdopen in new window(a[, axis, dtype, out, ddof, keepdims])Compute the standard deviation along the specified axis.
varopen in new window(a[, axis, dtype, out, ddof, keepdims])Compute the variance along the specified axis.
nanmedianopen in new window(a[, axis, out, overwrite_input, …])Compute the median along the specified axis, while ignoring NaNs.
nanmeanopen in new window(a[, axis, dtype, out, keepdims])Compute the arithmetic mean along the specified axis, ignoring NaNs.
nanstdopen in new window(a[, axis, dtype, out, ddof, keepdims])Compute the standard deviation along the specified axis, while ignoring NaNs.
nanvaropen in new window(a[, axis, dtype, out, ddof, keepdims])Compute the variance along the specified axis, while ignoring NaNs.

Correlating

methoddescription
corrcoefopen in new window(x[, y, rowvar, bias, ddof])Return Pearson product-moment correlation coefficients.
correlateopen in new window(a, v[, mode])Cross-correlation of two 1-dimensional sequences.
covopen in new window(m[, y, rowvar, bias, ddof, fweights, …])Estimate a covariance matrix, given data and weights.

Histograms

methoddescription
histogramopen in new window(a[, bins, range, normed, weights, …])Compute the histogram of a set of data.
histogram2dopen in new window(x, y[, bins, range, normed, …])Compute the bi-dimensional histogram of two data samples.
histogramddopen in new window(sample[, bins, range, normed, …])Compute the multidimensional histogram of some data.
bincountopen in new window(x[, weights, minlength])Count number of occurrences of each value in array of non-negative ints.
histogram_bin_edgesopen in new window(a[, bins, range, weights])Function to calculate only the edges of the bins used by the histogram function.
digitizeopen in new window(x, bins[, right])Return the indices of the bins to which each value in input array belongs.