Session Ready
Exercise

ECDFs of beak depths

While bee swarm plots are useful, we found that ECDFs are often even better when doing EDA. Plot the ECDFs for the 1975 and 2012 beak depth measurements on the same plot.

For your convenience, the beak depths for the respective years has been stored in the NumPy arrays bd_1975 and bd_2012.

Instructions
100 XP
  • Compute the ECDF for the 1975 and 2012 data.
  • Plot the two ECDFs.
  • Set a 2% margin and add axis labels and a legend to the plot.
  • Hit 'Submit Answer' to view the plot!