Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: finding the last date among multiple date variables


From   "Jonathan Kaplan" <[email protected]>
To   [email protected]
Subject   st: finding the last date among multiple date variables
Date   Fri, 14 Jun 2002 09:29:52 +0200

Sorry for this novice question ,but been searching by findit, ssc and statalist without luck(using Stata7SE):

I have data on HIV-related Non Hodgkin lymphoma patients with multiple date variables: I would like to generate a new datevariable which keeps the date of the time-variable, which has the last date recorded for each patient.
There are several missing date values within each variable.
e.g:the timevariables which could be the last followup are deaddat, opddat,hospdat,hivrnadat,statlymdat,lostdat

Any ideas for a simple solution?

Jonathan



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index