Assuming I have 5 participant with date of birth and exam date, and are enrolled in a study for 12 months, assuming all completed the 12 months treatment course. How do I calculate the end date for each of these participants in stata
Example data:
thanks
Example data:
Code:
clear input float( id dob examdate ) 1 01 Apr 2016 15 May 2017 2 05 Dec 2014 22 Nov 2015 3 21 Aug 2015 25 Mar 2016 4 26 Sep 2014 14 May 2015 5 12 Aug 2016 09 Sep 2017 end
Comment