In R please provide the code and explanation for the following 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)

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter3: Working With Large Worksheets, Charting, And What-if Analysis
Section: Chapter Questions
Problem 1.1EYK
icon
Related questions
Question

In R please provide the code and explanation for the following

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 3 steps with 1 images

Blurred answer
Knowledge Booster
Multiple table
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage