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, is already up and running.

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

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

From   "Martin Weiss" <>
To   <>
Subject   AW: st: RE: RE: estimation with a time trend.
Date   Mon, 5 Jul 2010 14:17:41 +0200


Then I do not understand the word "midpoint". I thought you meant something
like the mean or median?


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Nick Cox
Gesendet: Montag, 5. Juli 2010 14:14
Betreff: RE: st: RE: RE: estimation with a time trend.

Sorry; I meant 

year- (or -year- MINUS midpoint for interpretability) 

For example, if you work with (year - 2000) then intercepts have a clear
interpretation as "predicted value in 2000".  


natasha agarwal

On Mon, Jul 5, 2010 at 11:03 AM, Nick Cox <> wrote:
> As -egen, group()- maps to 1 ... whatever regardless of gaps, this
> in fact make things worse. What's wrong with -year- (or -year- MINUS
> midpoint) for interpretability?

I am afraid I did not understand "year- (or -year- MINUS> midpoint)
for interpretability?"

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:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index