Statistics#
Find the position of the element with the largest value in location, and return the value of the element in the same position in value. |
|
Find the position of the element with the smallest value in location, and return the value of the element in the same position in value. |
|
Calculate the average of X. |
|
Get of positions that are not null in both X and Y, and calculate the sum of the elements in X on these positions. |
|
Get of positions that are not null in both X and Y, and calculate the sum of squares of the elements in X on these positions. |
|
size returns the number of elements in a vector or matrix, while count returns the number of non-null elements in a vector/matrix. |
|
Calculate the covariance of X and Y. |
|
Return a covariance matrix, where the (i, j) entry is the covariance between the columns i and j of X. |
|
Return a tuple with the following elements: count(X), sum(X), sum(Y), sum2(X), sum2(Y), sum(X*Y). |
|
Return the cumulative count of unique elements in X. |
|
Center a dataset (zero-centering), and return an object of DOUBLE type with the same dimension as X. |
|
Return the matrix multiplication of X and Y. |
|
Calculate exponentially weighted moving covariance of X and other. |
|
Calculate exponentially weighted moving average. |
|
Calculate exponentially weighted moving standard deviation. |
|
Calculate exponentially weighted moving variance. |
|
Estimate the probability density of the random variable using the Gaussian kernel from kernel density estimation (KDE). |
|
Predict the probability density of the input data based on the model generated by gaussianKde. |
|
Compute the bi-dimensional histogram of two data samples. |
|
If X is a vector, return the position of the element with the largest value in X. |
|
If X is a vector, return the position of the minimum value in a vector or a matrix. |
|
This function performs polynomial interpolation for a given set of points, ensuring the polynomial passes through all points in the set. |
|
Return the kurtosis of X. |
|
Perform linear interpolation/extrapolation on a set of points. |
|
If X is a vector, return the average absolute deviation of X. |
|
For one input: |
|
A binary scalar function that returns the maximum by comparing X with Y. |
|
If X is a vector, return the median of all the elements in X. |
|
Calculate the average of X. |
|
For one input (null values will not be compared with other elements): |
|
A binary scalar function that returns the minimum by comparing X with Y. |
|
If X is a vector, calculate the most frequently occurring value in X. |
|
Calculate the moving median of X in a sliding window. |
|
If X is a vector/array vector, return the number of unique elements in X. |
|
For each element Xi in X, return (Xi / Xi-n) - 1, representing the percentage changes between elements. |
|
If X is a vector, return the given percentile of X. |
|
Calculate the percentile (0-100) of a score in a vector with null values ignored. |
|
If X is a vector, return the product of all the elements in X. |
|
Return values at the given quantile in X. |
|
Return values at the given quantile in X. |
|
Return unbiased (normalized by N-1) standard error of the mean over X . |
|
Return the skewness of X. |
|
If X is a vector, return the (unbiased) sample standard deviation of X. |
|
If X is a vector, return the population standard deviation of X. |
|
summary generates summary statistics for the input data. |
|
If X is a vector, return the sum of all the elements in X. |
|
If X is a vector, return the sum of squares of all the elements in X. |
|
If X is a vector, return the sum of cubes of all the elements in X. |
|
If X is a vector, return the sum of the fourth powers of all the elements in X. |
|
Return a dictionary about the descriptive statistics of X including avg(mean), max, min, count, median, and stdev. |
|
If X is a vector, return the the (unbiased) sample standard variance of X. |
|
If X is a vector, return the population variance of X. |
|
Calculate the weighted average of X with the weight vector Y. |
|
Count the words in X. |
|
Calculate the weighted covariance of X and Y with weights as the weight vector. |
|
Return the weighted sum of squares of X and Y. |