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/