Due: Friday 9/19 at 10pm

This assignment has a total of 22 pts possible. Your score out of 20 will noted and scaled to 5 points (maximum of 5).

Question 1 – Conceptual Questions: (1pt each)

Question 2 For this question, we will be using the iris dataset, giving the measurements, in centimeters, of the variables for sepal and petal length and width. You can read more on the dataset here. An image of what these variables correspond to on a flower are provided below.

NOTE: You will need to edit out the image from your document in order for it to knit to a .pdf doc. If your doc does not knit, this may be the cause.

To load this data into R, simply copy and paste the following into your Rmd file in an R code chunk

library(ggplot2)
data(iris)

Use this data to answer the following questions:

ggplot(iris, aes(Sepal.Width, Sepal.Length)) + geom_point()

ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) + geom_point()

Question 3:

From the IMS Textbook, do the following exercises (you do not need to read anything from the textbook to answer these):

Write your answers to these exercises below.


I recommend developing a nice formatting for your questions like the following:

IMS Chapter 4.8 – Question #1

Part A: What features are apparent in the bar plot but not in the pie chart?

Answer:

Part B: What features are apparent in the pie chart but not in the bar plot?

Answer:

Part C: Which graph would you prefer to use for displaying these categorical data?

Answer: