Homework 1

Homework 1#

  1. Get data set “iris.data” at https://archive.ics.uci.edu/dataset/53/iris & read in the file. Report the name of each observable, its statistical type.

  2. How many of each species exists?

  3. Assuming the petal is a rectangle, calculate the area of each petal. Save this value to the same object.

    1. Try this using both numpy and a pandas.

  4. Calculate summary statistics (mean, median, and standard deviation) for values the continuous variables.

  5. Plot “Sepal Length” vs “Sepal Width” with a different color per flower type. Use good data visualization practices.

  6. Plot petal length vs assumed petal area, with a different color per flower type. Use good data visualization practices.