apaDistances.Mahalanobis(X, Y)
Excel
=apaDistances.Mahalanobis(X, Y)Result
Returns the Mahalanobis distance of each observation of a data matrix X from the mean of a data matrix Y.
Syntax
X: r x c matrix of observations in dataset X
Y: r x c matrix of observations in dataset Y
Remarks
Uses the sample covariance matrix (denominator n − 1).
