BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Reeza
Super User

I moved your post to the IML forum. 

 

I believe this post from Rick Wicklin on how to write a function or use built in function. 

Proc distance will also calculate the distance. 

 

http://blogs.sas.com/content/iml/2012/02/22/how-to-compute-mahalanobis-distance-in-sas.html

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 15 replies
  • 9192 views
  • 1 like
  • 4 in conversation