Good day
Background: I am trying to conduct a retrospective epidemiological study looking at the incidence of a certain disease (on admission) in one year (2020) compared to another (2019).
In this case the year would be the exposure variable (2019 vs. 2020), the outcome being the incidence of disease.
Data: Retrospective admissions data for a pre-defined population between the period 23/03/2020 to 01/08/2020 was collected. This totals 182 admissions with 7 incidences of the disease on admission (1 readmission).
Data on the time period of 23/03/2019 to 01/08/2019 was also collected. This amounts to 218 admissions with 17 incidences of the disease on admission (1 readmission)
Analysis plan: Use stset command for dataset and perform Cox regression, taking into account the reoccurrence (readmissions) of the disease and non-reoccurrence to perform a time-to-event comparison between 2020 and 2019 (confounders to be adjusted for).
Problem: These are the same time-periods (start 23/03 and end 01/08) but in different years. Can I compare datasets using stset for different date start points (23/03/2020 vs 2019/03/2020).
My (rather crude) solution was to simply use 23/03/2020 as the start date for both years (since the time between 23/03/2020-01/08/2020 and 23/03/2019-01/08/2020 are the same: 131 days),
and to create a new variable for year as exposure using 2020 and 2019 respectively, and compare time-to-event this way.
Thank you kindly for your help.
Related Posts with How to use a Cox regression model for time-to-event analysis using different years as control
Formatting Several Variables using a Loop Hello I have several variables (68) consisting of strings, integers, and floats. I am trying to for…
How to match two datasets with constraints?Hello, This is my first time posting on this forum so thank you to everyone in advance. The simple…
Identify life events in panel dataHi Statalist. I would like to be able to identify life events within a panel dataset with multiple w…
How to resolve numeric overflow while performing xtlogit,fe in stata?Dear all, Apologies if this question seems to be a repetition of a previous question. I had made som…
How do I do two j for reshape command? Use reshape twice?Hello, I have a wide data set that contains variables: PUBID (individuals ID) startdate__njob_year …
Subscribe to:
Post Comments (Atom)
0 Response to How to use a Cox regression model for time-to-event analysis using different years as control
Post a Comment