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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: estimation with a time trend.


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: estimation with a time trend.
Date   Sat, 3 Jul 2010 17:30:47 +0200

<>

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


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of natasha agarwal
Sent: Samstag, 3. Juli 2010 11:22
To: statalist@hsphsun2.harvard.edu
Subject: st: estimation with a time trend.

Dear Everyone,

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?

Thanks
Natasha
*
*   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/

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