Statalist


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

st: xtlogit for repeated binary outcome?


From   MAY BAYDOUN <mbaydoun2002@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: xtlogit for repeated binary outcome?
Date   Thu, 26 Feb 2009 08:14:32 -0800 (PST)

Dear Statalisters,

I was wondering if you can help me figure out whether it is possible to calculate a type of propensity score for each individual given that they have repeated measures on continous variables from which one can get a binary outcome (e.g. Metabolic syndrome). So, the data structure is:

ID visit MetS Fixedvar1 Fixedvar2 Fixedvar3 Timvarvar1 Timevarvar2 etc.
1  1     0
1  2     0
1  3     0
2  ..    0
2        1
3        0
3        1
3        1
3        0

I want to obtain a predicted probability of having MetS for each individual. Is it possible to do that using xtlogit or xtmelogit? Which one is better and how does that work in terms of post-estimation? 

Thanks for your help,

Best wishes,

May


May Baydoun, PhD in Epidemiology (UNC-Chapel Hill)  Staff Scientist,  National Institute on Aging, NIH/IRP,  Biomedical Research Center,  Baltimore, MD


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