Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Calculating mahalanobis distances in discriminant analysis

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Calculating mahalanobis distances in discriminant analysis

Jul 14, 2009 7:29 AM
(1681 views)

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

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

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Calculating mahalanobis distances in discriminant analysis

I don't know if this is what you need, but under the top triangle>score options, you can select save formulas. This will give you columns (with formulas) for SqDist[0] which is the quadratic form needed in the Mahalanobis distance calculations and the Mahalobis distances from each centroid. Page 505 of the stat and graph guide mentions these columns plus you will get a prediction column. I hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Calculating mahalanobis distances in discriminant analysis