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

st: predict after xt commands


From   "Schonlau, Matthias" <matt@rand.org>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: predict after xt commands
Date   Thu, 17 Apr 2003 12:48:26 -0700

Dear Stata enthusiasts: 
 
I am using predict after an xt command. It works fine in the sense that I
get output, but it is not clear to me what the predict command does with the
random effect   
 
For example,
 
xtpois school_days_missed age male self_efficacy knowledge,re i(site)
predict pred, xb
 
Are different sites simply ignored for prediction? Is some sort of averaging
going on (how?)?  
 
Thanks ,
 
Matt 



Matthias Schonlau
Associate Statistician, RAND 
http://www.rand.org/methodology/stat/members/matt/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index