CitiBike Project: Do men take longer bike trips than women?

The goal of this project was to test whether men take longer CitiBike trips than women. The null hypothesis:

The significance level was set at 0.05.

The null and alternative hypotheses could be represented with the following formulas:

In the initial histogram visualization a tail of several outliers became apparent (trip durations that lasted longer than 2,000 seconds, or around 30 mins). The outliers were dropped and resulted in the histogram below.

The final histogram plot showed that the majority of women undertook trips no longer than 20 minutes (up to 1,200 seconds), while men undertook trips up to 26 minutes (up to 1,600 seconds). The visual analysis rejected the null hypothesis of women taking longer trips than men.

federica B biancoover 2 years ago · Public