Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this part of the lab you will be using the iris dataset already built into R. Your goal is to look for correlation among

image text in transcribed
For this part of the lab you will be using the iris dataset already built into R. Your goal is to look for correlation among the different variables (sepal length, petal length, and petal width) and test for significant relationships. To load the iris data into RStudio, use the command data (iris) . You can view the column headers using the command head (iris) . 1) Start by plotting all three combinations of sepal length, petal length, and petal width (sepal length & petal length, sepal length & petal width, petal length & petal width) as scatterplots. a) Paste your R code and the three plots here (6 points): 2) Just by visually inspecting the scatter plots, do any of the data look like they might be correlated? Why? (2 points) 3) Next we are going to find the correlation coefficient, r, for all three combinations. n Eixeyi - (Lixi)(Ziyi) r= In Ex? - (Ex.)2 In Liy) -(Livi)2

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

College Algebra Concepts Through Functions

Authors: Michael Sullivan, Michael Sullivan III

3rd Edition

0321925890, 9780321925893

More Books

Students also viewed these Mathematics questions

Question

Summarize the forms and functions of nonverbal communication.

Answered: 1 week ago