Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles of Accounting

Authors: Belverd E. Needles, Marian Powers and Susan V. Crosson

12th edition

978-1133603054, 113362698X, 9781285607047, 113360305X, 978-1133626985

More Books

Students also viewed these Accounting questions