Skip to content

Statistics

Statistical methods

Methods for computing descriptive statistics of matrices and vectors.

FunctionAction
ArgMaxReturn the index of the maximum value
ArgMinReturn the index of the minimum value
MaxReturn the maximum value in a matrix/vector
MinReturn the minimum value in a matrix/vector
PtpReturn the range of values of a matrix/vector or of the given matrix axis
SumReturn the sum of the matrix/vector elements which can also be performed for the given axis (axes)
ProdReturn the product of the matrix/vector elements which can also be performed for the given axis
CumSumReturn the cumulative sum of matrix/vector elements, including those along the given axis
CumProdReturn the cumulative product of matrix/vector elements, including those along the given axis
PercentileReturn the specified percentile of values of matrix/vector elements or elements along the specified axis
QuantileReturn the specified quantile of values of matrix/vector elements or elements along the specified axis
MedianCompute the median of the matrix/vector elements
MeanCompute the arithmetic mean of element values
AverageCompute the weighted mean of matrix/vector values
StdReturn the standard deviation of values of matrix/vector elements or of elements along the given axis
VarCompute the variance of values of matrix/vector elements
LinearRegressionCalculate a vector/matrix with calculated linear regression values
Last updated on