Hello everyone,
Please, I am monitoring patietns for 1 year: 6months before they start taking medications (start_date) and 6 months after (end_date). The first day of medication intake is the index_date. Each patient has unique start, index, and end dates. I am asked toidentify baseline characteristics of my patients 6 months before they start taking medications i.e before the index date.My data consists of multiple observations for each patient. I am trying to reduce these to observations occuring 6 months before the index date.I am confused at what to do. I will really appreciate your help. Thank you
My data looks like this
patient start_date index_date end_date
1 04/2015 10/24/2015 04/2016
1 04/2015 10/24/2015 04/2016
1 04/2015 10/24/2015 04/2016
2 01/2015 07/17/2015 01/2016
2 01/2015 07/17/2015 01/2016