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/