Module stats

Module stats 

Source

Functionsยง

argmax
Return the index of the largest array element. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
argmin
Return the index of the smallest array element. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
array_max
Return the highest value from an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
array_min
Return the lowest value from an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
bounds
Return the highest value from an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
gen_max
Return the highest value from a pair of numbers. Fails if the numbers are anything other than INT or FLOAT.
gen_min
Return the lowest value from a pair of numbers. Fails if the numbers are anything other than INT or FLOAT.
iqr
Returns the inter-quartile range for a 1-D array.
mad
Returns the median absolute deviation of a 1-D array.
maxk
Returns the k highest values from an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
mean
Return the average of an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
median
Returns the variance of a 1-D array.
mink
Return the k lowest values in an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
mode
Returns the mode of a 1-D array.
prctile
Returns a given percentile value for a 1-D array of data.
prod
Compute the product of an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
regress
Performs ordinary least squares regression and provides a statistical assessment.
rms
Returns the variance of a 1-D array.
std
Returns the standard deviation of a 1-D array.
sum
Sum an array. Fails if the input is not an array, or if it is an array with elements other than INT or FLOAT.
variance
Returns the variance of a 1-D array.