Aan de slagGa gratis aan de slag

Graphical EDA of men's 200 free heats

In the heats, all contestants swim, the very fast and the very slow. To explore how the swim times are distributed, plot an ECDF of the men's 200 freestyle.

Deze oefening maakt deel uit van de cursus

Case Studies in Statistical Thinking

Cursus bekijken

Oefeninstructies

  • Generate x and y values for the ECDF using dcst.ecdf(). The swim times of the heats are stored in the numpy array mens_200_free_heats.
  • Plot the ECDF as dots. Remember to specify the appropriate marker and linestyle.
  • Label the axes and show the plot. Use 'time (s)' as the x-axis label and 'ECDF' as the y-axis label.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Generate x and y values for ECDF: x, y


# Plot the ECDF as dots


# Label axes and show plot



Code bewerken en uitvoeren