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   Thu, 13 Jun 2002 23:40:38 +0200

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

I got data on HIV 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



_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com


*
* 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