IN R PLEASE PROVIDE THE CODE AND EXPLANATION FOR THE FOLLOWING IV,V, AND VI:  One Way ANOVA with the coagulation data set a. Load the coagulation data set (it is from the faraway library) b. Data Summaries & Assumption Check    i. Use the names() function to identify the column names    ii. How many rows of data are there?    iii. Create a single graph with 4 boxplots on the same scale, one for the coagulation for each of the diets. Each boxplot should be a different color. Use the plot function for this task. colNameData is the name of the column in the data set that you want to create a boxplot for colNameCategory is the name of the column that you want to use to split the data into groups (so you want one boxplot for each category/value in this column)dataset is the name of the full dataset col=2:4 will give you 3 different colors (color indices are 1-8, then they repeat)    iv. Create 4 different data frames, one for the data corresponding to each of the 4 factors. How many observations are there for each diet?    v. Check the normality assumption for each subset by creating qq plots. Make sure each plot has an appropriate title.    vi. What is the sample variance for each diet? Do you think that the assumption of common variance holds? Why or why not? How could you formally test this?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

IN R PLEASE PROVIDE THE CODE AND EXPLANATION FOR THE FOLLOWING IV,V, AND VI: 

One Way ANOVA with the coagulation data set
a. Load the coagulation data set (it is from the faraway library)
b. Data Summaries & Assumption Check
   i. Use the names() function to identify the column names
   ii. How many rows of data are there?
   iii. Create a single graph with 4 boxplots on the same scale, one for the coagulation for each of the diets. Each boxplot should be a different color. Use the plot function for this task.
colNameData is the name of the column in the data set that you want to create a boxplot for
colNameCategory is the name of the column that you want to use to split the data into groups (so you want one boxplot for each category/value in this column)dataset is the name of the full dataset col=2:4 will give you 3 different colors (color indices are 1-8, then they repeat)


   iv. Create 4 different data frames, one for the data corresponding to each of the 4
factors. How many observations are there for each diet?
   v. Check the normality assumption for each subset by creating qq plots. Make
sure each plot has an appropriate title.
   vi. What is the sample variance for each diet? Do you think that the assumption of
common variance holds? Why or why not? How could you formally test this?

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Types of trees
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education