Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: RE: estimation with a time trend.


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: estimation with a time trend.
Date   Mon, 5 Jul 2010 11:03:36 +0100

As -egen, group()- maps to 1 ... whatever regardless of gaps, this might
in fact make things worse. What's wrong with -year- (or -year- MINUS
midpoint) for interpretability? 

Nick 
n.j.cox@durham.ac.uk 

Martin Weiss

Your code maps years in your dataset to integer numbers, and I am not
sure
that it gets you any closer to your final destination. So far, it has
not
hurt either...

natasha agarwal

I was trying to estimate a production function with an unbalanced
firm-year panel data and wanted to include a time trend. However I was
not sure if the time trend was created correctly.

egen t=group(year)

I was wondering if anyone could please tell me if this was correct?

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index