Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use R code (R studio) iris Sepal.Length Sepal. Width Petal.Length Petal. Width Species 5.1 3.5 1.4 02 setosa 4.9 3 1.4 02 setosa 4.7

image text in transcribedimage text in transcribedimage text in transcribedplease use R code (R studio)

iris Sepal.Length Sepal. Width Petal.Length Petal. Width Species 5.1 3.5 1.4 02 setosa 4.9 3 1.4 02 setosa 4.7 3.2 1.3 02 setos 4.6 1.5 02 setosa 3.1 3.6 5 1.4 02 setosa 5.4 3.9 1.7 0.4 setosa 0.3 setosa 4.6 1.4 5 3.4 1.5 02 setosa 4.4 2.9 1.4 02 setosa 4.9 3.1 1.5 0.1 setosa 5.4 3.7 1.5 02 setosa 4.8 3.4 1.6 02 setosa 4.8 3 1.4 0.1 setosa 4.3 3 1.1 0.1 setosa 5.8 4 1.2 02 setosa 5.7 4.4 1.5 0.4 setosa 5.4 3.9 1.3 0.4 setosa 5.1 3.5 1.4 0.3 setosa 5.7 3.8 1.7 0.3 setosa 5.1 3.8 1.5 0.3 setosa 5.4 3.4 1.7 02 setosa 5.1 3.7 1.5 0.4 setosa 4.6 3.6 1 02 setosa 5.1 3.3 1.7 0.5 setosa 4.8 3.4 1.9 02 setosa 5 3 1.6 02 setosa 5 3.4 1.6 0.4 setos 5.2 1.5 02 setosa 5.2 3.5 3.4 3.2 1.4 02 setosa 4.7 1.6 02 setosa 4.8 3.1 1.6 02 setosa 5.4 3.4 0.4 setosa 1.5 1.5 5.2 4.1 0.1 setosa 5.5 4.2 1.4 02 setosa 4.9 3.1 1.5 02 setosa 5 3.2 1.2 02 setosa 5.5 3.5 1.3 02 setosa 4.9 3.6 1.4 0.1 setosa 4.4 3 1.3 0.2 setosa 02 setosa 5.1 3.4 1.5 5 3.5 1.3 0.3 setosa 4.5 2.3 1.3 0.3 setosa 3.2 1.3 0.2 setosa 5 3.5 1.6 0.6 setosa 3.8 1.9 0.4 setosa 5.1 4.8 5.1 3 1.4 0.3 setosa 3.8 1.6 02 setosa 4.6 3.2 1.4 02 setosa 5.3 3.7 1.5 02 setosa 5 3.3 1.4 02 setosa 7 3.2 4.7 1.4 versicolor 6.4 3.2 4.5 1.5 versicolor 6.9 3.1 4.9 1.5 versicolor 1.3 versicolor 5.5 2.3 4 6.5 2.8 4.6 1.5 versicolor 5.7 2.8 4.5 1.3 versicolor 1.6 versicolor 6.3 3.3 4.7 4.9 2.4 3.3 1 versicolor 6.6 2.9 4.6 1.3 versicolor 2.7 3.9 1.4 versicolor 5.2 5 5 2 2 3.5 1 versicolor 5.9 3 4.2 1.5 versicolor 6 2.2 4 1 versicolor 2.9 4.7 6.1 5.6 1.4 versicolor 1.3 versicolor 2.9 3.6 6.7 4.4 3.1 3 1.4 versicolor 1.5 versicolor 5.6 4.5 5.8 2.7 4.1 1 versicolor 1.5 versicolor 6.2 2.2 4.5 5.6 2.5 3.9 1.1 versicolor 5.9 4.8 1.8 versicolor 3.2 2.8 6.1 4 1.3 versicolor 6.3 2.5 4.9 4.7 1.5 versicolor 12 versicolor 6.1 2.8 6.4 2.9 4.3 1.3 versicolor 6.1 2.8 4.7 12 versicolor 6.4 2.9 4.3 13 versicolor 6.6 3 4.4 1.4 versicolor 6.8 2.8 4.8 1.4 versicolor 6.7 3 5 1.7 versicolor 6 2.9 4.5 5.7 2.6 3.5 1.5 versicolor 1 versicolor 1.1 versicolor 2.4 3.8 5.5 5.5 2.4 3.7 1 versicolor 5.8 3.9 12 versicolor 2.7 2.7 5.1 1.6 versicolor 6 5.4 3 3 4.5 1.5 versicolor 1.6 versicolor 6 3.4 4.5 4.7 6.7 3.1 1.5 versicolor 1.3 versicolor 6.3 2.3 4.4 5.6 3 4.1 1.3 versicolor 13 versicolor 5.5 2.5 4 4 2.6 4.4 1.2 versicolor 5.5 6.1 3 4.6 1.4 versicolor 5.8 2.6 4 1.2 versicolor 1 versicolor 5 5 5.6 2.3 2.7 3.3 4.2 1.3 versicolor 5.7 3 4.2 12 versicolor 1.3 versicolor 5.7 2.9 4.2 6.2 2.9 4.3 1.3 versicolor 5.1 2.5 3 1.1 versicolor 4.1 5.7 6.3 2.8 3.3 1.3 versicolor 2.5 virginica 6 5.1 5.8 2.7 7.1 3 5.9 6.3 5.6 2.9 3 1.9 virginica 2.1 virginica 1.8 virginica 22 virginica 2.1 virginica 6.5 5.8 7.6 3 6.6 4.9 2.5 4.5 1.7 virginica 1.8 virginica 2.9 6.3 7.3 6.7 2.5 5.8 1.8 virginica 7.2 3.6 6.1 2.5 Virginica 2 virginica 6.5 3.2 5.1 6.4 2.7 5.3 6.8 3 5.5 2.5 5 5.7 5.8 6.4 1.9 virginica 2.1 virginica 2 virginica 2.4 virginica 2.3 virginica 2.8 5.1 3.2 5.3 6.5 3 3 5.5 7.7 3.8 6.7 1.8 virginica 22 virginica 2.3 virginica 7.7 2.6 6.9 6 2.2 5 1.5 Virginica 3.2 5.7 6.9 5.6 4.9 2.8 2.8 2.3 virginica 2 virginica 2 virginica 7.7 6.7 6.3 2.7 4.9 6.7 3.3 5.7 1.8 virginica 2.1 virginica 1.8 virginica 7.2 3.2 6 6.2 2.8 4.8 6.1 3 4.9 6.4 2.8 5.6 7.2 3 5.8 1.8 virginica 1.8 virginica 2.1 virginica 1.6 virginica 1.9 virginica 2 virginica 22 virginica 7.4 2.8 6.1 3.8 7.9 6.4 6.4 5.6 2.8 6.3 2.8 5.1 1.5 virginica 1.4 virginica 6.1 2.6 5.6 7.7 3 6.1 2.3 Virginica 6.3 3.4 5.6 6.4 3.1 5.5 6 3 4.8 6.9 3.1 5.4 6.7 5.6 3.1 3.1 6.9 5.1 2.4 virginica 1.8 virginica 1.8 virginica 2.1 virginica 2.4 virginica 2.3 virginica 1.9 virginica 2.3 Virginica 2.5 virginica 23 virginica 1.9 virginica 5.8 2.7 5.1 6.8 3.2 5.9 6.7 3.3 5.7 6.7 3 5.2 6.3 2.5 6.5 3 5 5.2 5.4 2 virginica 2.3 Virginica 6.2 3.4 5.9 3 3 5.1 1.8 virginica The data set iris.csv contains three plant species (setosa, virginica, versicolor) and four features measured for each sample. These quantify the morphologic variation of the iris flower in its three species, all measurements given in centimeters. use (a) Draw the histogram of the distribution of the petal length of the iris flower: breaks=seq(0,8,1=17) to set the spacing of the bins. (i) Modify the title of the histogram and the labels of x- and y-axes to make the histogram more informative. (ii) What is the shape of the distribution of petal length of the iris flowers in the sample? (iii) What percentage of the iris flowers in the sample have a petal length of less than or equal to 2cm? (b) Draw individual histograms of the distribution of petal length for each plant species: use breaks=seq(0,8,1=17) to set the spacing of the bins. (i) Modify the titles of the histograms and the labels of x- and y-axes to make the histograms more informative. (ii) What is the most striking difference between the three distributions? (iii) Based on the histograms, which plant species has the least variability in its petal length? Explain your reasoning. Verify your claim using the appropriate R function

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_2

Step: 3

blur-text-image_3

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

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions

Question

What is meant by the opportunity dimension of the AMO formula?

Answered: 1 week ago