Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: RE: RE: Code to generate variable indicating date that CD4 drops below 250


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: Code to generate variable indicating date that CD4 drops below 250
Date   Wed, 1 Apr 2009 17:44:03 +0100

I was just summarising the thread before adding a comment. I also added
a reference to a relevant paper. 

My point about data structure (some say form, some say format) was
precisely the point made by Martin Weiss and Kit Baum, who gave
references to other material. 

For example, the FAQ cited by Martin shows that there is a one-line
solution to your problem with a long data structure which is even
simpler than the loop several people suggested for your existing wide
data structure. Did you read it? 

Nick 
n.j.cox@durham.ac.uk 

Polis, Chelsea B.

Nick Cox notes: "Chelsea's problem is easily soluble with the data
structure Chelsea has,
but a different data structure is advisable nevertheless."

Can you please clarify why a different data structure is advisable?


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



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