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

st: Re: RE: fixed effects


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
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" <[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/



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