I was wondering how to calculate the number of days between a start period of an event to the end period of an event.The start and periods are formatted in year-month-day (20000131 to 20021015). I need to calculate the difference in the number of days to measure how many days an event has taken place for survival analysis. Kindly let me know how to calculate the number of days. I searched in Statalist for any posts, but I could not find any. I attached a screenshot for reference.
-
Login or Register
- Log in with
Comment