Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Obtaining individual estimates after xtlogit


From   "Lisa H. Green" <[email protected]>
To   [email protected]
Subject   st: Obtaining individual estimates after xtlogit
Date   Tue, 22 Jul 2003 13:05:59 -0400

I would appreciate some guidance on how to obtain predicted values for 
each individual in my sample for each year of data, after running 
xtlogit (random effects). Specifically, my dataset has a cohort of 
individuals followed over 20 years and I would like to obtain 
individual predicted values for each person for each of the 20 years.

I am able to do this in STATA 7 for my continuous variables with the 
following:
.xtreg Y X, re i(ID)
.predict varname  
.predict varname2, u 

Is there an equivalent approach for binary outcomes, as the "u" option 
is not allowed under xtlogit? So far I am only able to obtain 
population averages by year, but not for individuals (random effect) 
within each year. 

Thank you in advance for your help.

Lisa Green


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