Displaying 1 result from an estimated 1 matches for "_squared_".
2005 Dec 14
1
About help on 'mahalanobis'
...' and the vector
mu='center' with respect to Sigma='cov'. This is (for vector 'x')
defined as
D^2 = (x - mu)' Sigma^{-1} (x - mu)"
It does return D^2 as written. However, would the text be more clear if
it says "Returns the _squared_ Mahalanobis distance D^2..." instead? If
so, then text in the example code, e.g. "##- Here, D^2 = usual Euclidean
distances" and the title of the first plot will also have to be updated.
Compare this with what dist() in the same package returns. When asking
for the Equlidean di...