Hello,
I am trying to add in three separate yearly linear time trends into a regression. I have data that has events from 1984-2013 with some events occurring multiple times per year. I am trying to separate the trends by three different waves: (1984-1989), (1990-1999), and (2000-2013). Does anyone know how I can go about to do this? I am unable to use the command tsset due to an error of "repeated values in my sample." Another option I thought would work would be to define three dummy variables for each wave and include that into my regression, but I am unsure that the dummy variable method will capture the effect of a linear time trend.
Best,
Eric C.
I am trying to add in three separate yearly linear time trends into a regression. I have data that has events from 1984-2013 with some events occurring multiple times per year. I am trying to separate the trends by three different waves: (1984-1989), (1990-1999), and (2000-2013). Does anyone know how I can go about to do this? I am unable to use the command tsset due to an error of "repeated values in my sample." Another option I thought would work would be to define three dummy variables for each wave and include that into my regression, but I am unsure that the dummy variable method will capture the effect of a linear time trend.
Best,
Eric C.
Comment