mad(x: array,dim?: 0 | 1,): number
Mean absolute deviation.
Calculates the mean absolute deviation of values from their mean. MAD is the average of absolute deviations from the mean, providing a measure of variability.
x: array
Input array or matrix
mad(x: matrix,dim?: 0 | 1,): array
Mean absolute deviation.
Calculates the mean absolute deviation of values from their mean. MAD is the average of absolute deviations from the mean, providing a measure of variability.
x: matrix
Input array or matrix
Mean absolute deviation values