I have a dataset of each administration of chemotherapy for a number
of patients, i.e.:
Patient date chemo drug
A 7/1/2009 X
A 4/1/2009 Y
A 1/1/2008 X
B 7/1/2009 Z
B 1/1/2008 X
C 7/1/2009 Y
C 4/1/2009 X
C 1/1/2008 Z
I want to calculate the biggest gap in treatment for each patient. In
other words, what was the maximum amount of time between treatments
for each patients. Any ideas on how to do this?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/