gender and age can be crucial for stratifying our understanding of population-level epidemiology of mental health disorders. Relying on electronic health records data, previous studies explored gender differences in depressive behavior from different angles including prevalence, age at onset, comorbidities, as well as biological and psychosocial factors[^8]. For instance, women have been diagnosed with depression twice as often as men [@nolen1987sex] and national psychiatric morbidity survey in Britain has shown higher risk of depression in women [@mcmanus2016mental]. On the other hand, suicide rates for men are three to five times higher compared to that of the women [@angst2002gender]. Although depression can affect anyone at any age[^9], signs and triggers of depression vary for different age groups [^10]. Depression triggers for children include parental depression, domestic violence, and loss of a pet, friend or family member. For teenagers (ages 12-18), depression may arise from hormonal imbalance, sexuality concerns and rejection by peers[^11]. Young adults (ages 19-29) may develop depression due to life transitions, poverty, trauma, and work issues. Adult (ages 30-60) depression triggers include caring simultaneously for children and aging parents, financial burden, work and relationship issues. Senior adults develop depression from common late-life issues, social isolation, major life loses such 