Checking for replies, I see that I was imprecise in my original posting.
I meant: "I am interested in obtaining, for each subject, the latest
timepoint when A SUBJECT HAD HAD UNINTERRUPTED C4NAIVC and CD4MEMC
VALUES available."
In other words, I want to ignore any values after a missing
timepoint, and consider LatestNaive the maximum of week1 before any
missing C4NAIVC or CD4MEMC.
Sorry for my clumsy formulation of the question.
*
* 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/