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

RE: st: fixed effects regression


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: fixed effects regression
Date   Fri, 30 Sep 2005 16:17:14 -0500

You can retrieve the coefficients in a few steps:
 

 xtreg var1 var2, i(id) fe

 predict u, u

 replace u = u + _b[_cons]

 tabdisp id, c(u)


Scott

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of NEYMOTIN, FLORENCE
> Sent: Friday, September 30, 2005 4:02 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: fixed effects regression
> 
> so there is no way to get the coefficients  from the fixed effects
> regression when I just run it
> as
> "xtreg..., fe.."  ?  I thought there should be a way to get them...
> 


*
*   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