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

st: Re: RE: fixed effects


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: RE: fixed effects
Date   Mon, 16 Sep 2002 19:55:24 -0500

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" <Melony_Sorbero@URMC.Rochester.edu>
To: <statalist@hsphsun2.harvard.edu>
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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index