Using the table from CSUN, one of our reviewers (Rachel) suggested we use Chi Square test to measures the differences between groups. This makes sense if we look at the table from CSUN, given that the male and female variables in our experiment are unpaired and categorical. So we defined a function to perform the Chi Square statistical test and produced a contingency tables of values in order to derive our statistic. With this in hand, we were able to look at the 'Percentage Points of Chi-Square Distribution' table and draw conclusions about the rejection of the Null. The Null hypothesis that women ride at night,
measured as: ratio of each gender riding at night to total ridership for each gender,
in an equal or higher percentage than men
can be rejected at alpha = 0.05 with a chi square statistics of 382.53.
Conclusions
Our research has been shown that, beyond reasonable doubt, women's night rides percentage from total women rides is consistently lower than men's night rides percentage from total men rides. Our original experiment was pretty narrow in scope, so we added more months to our data and broadened our proxy for nighttime to augment the original results.