CitiBike Mini Project: Does the mean of men bikers' age older than that of women biker's.

Data

We used the NYC citibike data in January 2016 to do the investigation. We extract birth year and gender from the dataframe built on the cvs file and drop the NaN values. Then we convert the birth year column to age and devide the data to two subsets which only contain the riders' age for female and male.

Figure 1a shows the distribution of Citibike bikers by gender in Janurary 2016.

We add a sqrt(N) error for the biker counts, because it follows a Poisson statistic.

Figure 1b shows the distribution of Citibike bikers by gender in Janurary 2016 with statistic errors.

Figure 2: Distribution of Citibike bikers by gender in January 2016, normalized

Figure 1a shows the distribution of Citibike bikers by gender in Janurary 2016.
Figure 1b shows the distribution of Citibike bikers by gender in Janurary 2016 with statistic errors.