Statalist


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

st: Scoring


From   "Ziad El-Khatib" <[email protected]>
To   [email protected]
Subject   st: Scoring
Date   Thu, 15 Nov 2007 02:56:46 -0800

Dear STATA lister
I am trying to find a way to score number of pills intake per patient
(cohort study) at week24:
npill1 and npill2 are variables with values 0 or 1 (i.e. took pills or not)
week number are 4,8,12,16

studyid     week    npill1      npill2
1001          4          1            1
1001          8           0           1
1001          12        0             0


etc..


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