Question
The following question is to be done in R using the Iris dataset which is built-in in R. data set can be called by referring
The following question is to be done in R using the Iris dataset which is built-in in R. data set can be called by referring it as "iris". NO DATASET UPLOAD NEEDED. The data set consists of 50 samples from each of three species of Iris (Iris setosa, Iris virginica and Iris versicolor). Four features were measured from each sample: the length and the width of the sepals and petals, in centimeters. The data is built-in in R and can be obtained by referring it as "iris". For example mean(iris$Petal.Length). No dataset upload needed.
QUESTION:
(a) Determine the Mahalanobis distances between each pair of species, and discuss the reasonableness or otherwise of any assumptions. [1 mark]
(b) Which two species seem the most similar - explain why? [1/2 mark]
(c) Which two attributes seem to discriminate best between the three species? [1/2 mark]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started