Hello all,
Hopefully this question interests someone enough!
I am new to Stata. I have been working on a dataset of Disease X in the community and have created a multivariate logistic regression to look at adjusted ORs towards survival.
I am keen to incorporate and adjust for the year of diagnosis in my logistic regression, as the current literature tells us that the pandemic years and lockdown influenced rates of this disease.
My issue:
- My dataset begins collecting data from start of April 2019.
- My dataset completed collecting data in end of May 2023.
- So if I try and assign a value to each observation for calendar year, I will inevitably underweigh 2019 and 2023.
Any solutions to get around this?
Thank you!
Hopefully this question interests someone enough!
I am new to Stata. I have been working on a dataset of Disease X in the community and have created a multivariate logistic regression to look at adjusted ORs towards survival.
I am keen to incorporate and adjust for the year of diagnosis in my logistic regression, as the current literature tells us that the pandemic years and lockdown influenced rates of this disease.
My issue:
- My dataset begins collecting data from start of April 2019.
- My dataset completed collecting data in end of May 2023.
- So if I try and assign a value to each observation for calendar year, I will inevitably underweigh 2019 and 2023.
Any solutions to get around this?
Thank you!

Comment