Mahalanobis distance

From: Vasileios Zografos (noone_at_nowhere.net)
Date: 11/15/04


Date: Mon, 15 Nov 2004 17:00:47 +0000

Can someone please clarify for me which is the formula for the Mahalanobis
distance?

Is it (1) M=(x-m)'(S^-1)(x-m)

or (2) M=[(x-m)'(S^-1)(x-m)]^1/2

where S^-1 the inverse of the covariance matrix and m the mean of the
cluster.

My guess is that it is (1) because if we do PCA we can derive that
M=sum(b^2/lamda) where b are the parameters of the PCA and lamda the
eigenvalues of the eigendecomposition.

However, I have seen formula (2) for the Mahalanobis distance, with the
explanation that for S=identity, the Mahalanobis simplifies to the
Euclidean distance.

So, which is the right one?

Thank you
V.Z.



Relevant Pages

  • Re: Combining multiple parameters as DOE response
    ... > of a designed experiment. ... I've used Mahalanobis-Taguchi methods to ... My first thought was to then calculate a Mahalanobis ... > treatment based on the Mahalanobis distance. ...
    (sci.stat.math)
  • Re: Performing computation of distance Mahalanobis
    ... I found that it exists in Matlab a fonction for computing directly the distance of Mahalanobis. ... I discovered myself in Statistic Toolbox the Mahalanobis distance. ...
    (comp.soft-sys.matlab)
  • Re: distance distribution between similar images
    ... distribution of the distance (which may be Euclidean, Mahalanobis or city block) between the two? ... Or, another way of putting it is: If I have two images that are just white noise, what is the distribution of the distance between the two? ...
    (sci.image.processing)
  • Re: Mahalanobis distance
    ... >Can someone please clarify for me which is the formula for the Mahalanobis ... >where S^-1 the inverse of the covariance matrix and m the mean of the ... >However, I have seen formula for the Mahalanobis distance, with the ...
    (sci.image.processing)
  • Re: Under what condition is Mahalanobis distance OPTIMAL?
    ... > Is there a way one can show under what conditions the Mahalanobis ... > distance is the optimal distance metric? ... > or when the axes are correlated. ... nonsingular linear transformations. ...
    (sci.stat.math)