Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: estimation with a time trend.


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
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: [email protected]
[mailto:[email protected]] On Behalf Of natasha agarwal
Sent: Samstag, 3. Juli 2010 11:22
To: [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index