Good evening I am new with STATA and I have a query, If I have a dichotomous outcome, but my study has a report for several years (annual period between 2014-2018). To look for associated factors, the entire population could use a logistic model adjusting according to the years to treat the variance that the years of study could possibly generate.

I would appreciate your response.