Calculating mahalanobis distances in discriminant analysis
I'm trying to calculate the mahalanobis distances for centroids plotted using discriminant analysis. I have 20 groups (with 10 measurements for each group) and would like to calculate the mahalanobis distances between group centroids.
I've looked in jmp stats books and the only information that I can find is that Sqdist[0] is used in calculating mahalanobis distances, but there isn't any information on how to actually go about doing this.
Any assistance is much appreciated.
L