Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Calculating a maximum out of a subset in a sequence
From 
 
Steven Samuels <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: Calculating a maximum out of a subset in a sequence 
Date 
 
Mon, 3 Oct 2011 22:57:52 -0400 
See Nick Cox's article on spells at http://www.stata-journal.com/article.html?article=dm0029 .
This is now a free download.
Steve
On Oct 3, 2011, at 8:48 PM, <[email protected]> <[email protected]> wrote:
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/
*
*   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/