Module stats

Module stats 

Source
Expand description

Statistical functions for ndarray arrays (mean, median, variance, correlation, etc.) Statistical functions for ndarray arrays

This module provides statistical functions for ndarray arrays, similar to NumPy’s statistical functions.

Functions§

bincount
Count number of occurrences of each value in array of non-negative ints.
corrcoef
Calculate correlation coefficient between two 1D arrays
cov
Calculate the covariance matrix of a 2D array
digitize
Return the indices of the bins to which each value in input array belongs.
histogram
Calculate a histogram of data
histogram2d
Calculate a 2D histogram of data
max
Calculate the maximum value(s) of array elements
max_2d
Calculate the maximum value(s) of array elements (2D arrays)
mean
Calculate the mean of array elements
mean_2d
Calculate the mean of array elements (2D arrays)
median
Calculate the median of array elements
median_2d
Calculate the median of array elements (2D arrays)
min
Calculate the minimum value(s) of array elements
min_2d
Calculate the minimum value(s) of array elements (2D arrays)
percentile
Calculate the percentile of array elements
percentile_2d
Calculate the percentile of array elements (2D arrays)
product_2d
Calculate the product of array elements (2D arrays)
quantile
Calculate the quantile values from a 1D array
std_dev
Calculate the standard deviation of array elements
std_dev_2d
Calculate the standard deviation of array elements (2D arrays)
sum_2d
Calculate the sum of array elements (2D arrays)
variance
Calculate the variance of array elements
variance_2d
Calculate the variance of array elements (2D arrays)

Type Aliases§

Histogram2dResult
Result type for histogram2d function
HistogramResult
Result type for histogram function