You also need to add the overall constant to the predicted u[i] value.
predict newvar, u
replace u = u + _b[_cons]
Scott
----- Original Message -----
From: "Sorbero, Melony" <[email protected]>
To: <[email protected]>
Sent: Monday, September 16, 2002 3:20 PM
Subject: st: RE: fixed effects
>
> I don't know how to view the fixed effects directly, but
>
> predict newvar, u
>
> creates a new variable with the value of the relevant fixed effect
assigned
> to each observation.
>
> Hope this helps.
>
> Melony
>
*
* 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/