Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Listing criteria


From   "Ziad El-Khatib" <[email protected]>
To   [email protected]
Subject   st: Listing criteria
Date   Sat, 17 Nov 2007 22:18:51 -0800

Dear STATA lister

I have VL level per patient per clinic visit (visits are 4,8,12,16,20,24,36&52)

I did score every patient for how many times s/he got high VL (0.yes,
1.no), by this code:
egen thighvl=total(highvl),by(studyid), if select==1

i am trying to find a way to have a list of patients who had thighvl>2
including week24, i.e. there should be at least 1 highvl=1 before
visit 24 and highvl=1 by visit 24.

Any tips?


Thank you and best regards
ziad
*
*   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