The Mahalanobis distance D2 given in Equation 14.7 is easily obtained in R using the mahalanobis function.

Question:

The Mahalanobis distance D2 given in Equation 14.7 is easily obtained in R using the mahalanobis function. Using this function, obtain the distance of the observations from the entire dataset for the board stiffness dataset and investigate for presence of outliers. Repeat the exercise for the presence of outliers in the iris dataset too.


Data from in Equation 14.7

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

A Course In Statistics With R

ISBN: 9781119152729

1st Edition

Authors: Prabhanjan N. Tattar, Suresh Ramaiah, B. G. Manjunath

Question Posted: