What should you have done first?
That was a nice hypothesis test you just did to check out whether the rule changes in 1920 changed the rate of no-hitters. But what should you have done with the data first?
This exercise is part of the course
Statistical Thinking in Python (Part 2)
Exercise instructions
Performed EDA, perhaps plotting the ECDFs of inter-no-hitter times in the dead ball and live ball eras.,Nothing. The hypothesis test was only a few lines of code.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise