Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1) Q.1( 5 marks): The use of R (or Rstudio) is mandatory for this question. Consider two data sets given below: dataset 1: The

Question 1)

image text in transcribed
Q.1( 5 marks): The use of R (or Rstudio) is mandatory for this question. Consider two data sets given below: dataset 1: The calories for 20 brands of veggie dogs. 40 45 45 45 50 50 55 57 60 60 70 80 80 81 90 95 100 100 110 190 dataset 2: The calories for 20 brands of beef hot dogs. 111 131 132 135 139 141 148 149 149 152 153 157 158 175 176 181 184 186 190 190 The R code below uses the variable veggiecal to store the dataset 1, while beefcal is used to store dataset 2. dataset 1: veggiecal=c ( 40, 45, 45, 45, 50, 50, 55, 57, 60, 60, 70, 80, 80, 81, 90, 95, 100, 100, 110, 190) dataset 2: beefcal=c( 111, 131, 132, 135, 139, 141, 148, 149, 149, 152, 153, 157, 158, 175, 176, 181, 184, 186, 190, 190) Important Note: Student should use R (or Rstudio) to answer parts (a)-(d). For each part of these, a full answer should comprise the R code, the R output and the comment of the R output. (a) (1.50 mark) Make a five-number summary of the veggie dog calories. Should any of the calorie counts for the veggie hot dogs be classified as outliers? Explain. (b) (1.50 mark) Make a modified boxplot for the veggie dog data. In which quarter - the first, second, third, or fourth - are the data most concentrated? most spreat out ? (c) (0.50 mark) Add a modified boxplot for the beef hot dog calories next to your display in (b). (d) (1.50 mark) Based on your displays in (c), compare the distributions of calories for beef dogs and veggie dogs. 1

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

Algebra And Trigonometry

Authors: Cynthia Y Young

3rd Edition

1118475755, 9781118475751

More Books

Students also viewed these Mathematics questions