5) Now let's do some R. First we'll explore our Irises a bit more. Let's extract the data we want. This time we'll use all 50 values for sepal length and sepal width for Iris setosa (the first of the three species in the data set).
Without much explanation*, let's put the data into two variables called slength and swidth: slength <- iris$Sepal.Length[1:50]
swidth <- iris$Sepal.Width[1:50]
* in brief, these commands pull out the first 50 values for petal length and petal width from the built in iris data set. Type “iris” at the command prompt to see the data set, and you should be able to figure out how these commands work.
(a) Now perform a
(b) Now perform the correlation test again, this time do sepal width vs. sepal length. The results should be identical. Why??
(c) Create a
Trending nowThis is a popular solution!
Step by stepSolved in 5 steps with 5 images
- I selected this and it was marked wrong. I am very confused.arrow_forwardI have to create a frequency table using model of trucks for class and the YDT sales as the frequencies, would I write down the YTD numbers from he sales as the frequencies or how do I find the frequencies ?arrow_forwardThe mean of the data set {9,5, y, 2, x} is twice the data set {8, x, 4,1,3}. What is (y- x)2?arrow_forward
- How many intersection points are the lines passing through 10 points, 4 of which are linear.arrow_forwardPeople living in a certain area have observed 102 rainy days in the year 2018, 96 rainy days in 2019, 111 rainy days in 2020. Use the best fit line to predict, how many rainy days they will see in 2021.arrow_forwardVertex= (4,3) Point = (5,4)arrow_forward
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman