'Cheryl' wrote:
> I have data with 3 different dummy variables for 3 different
> time periods. I want to add a linear time trend and am unsure
> how.
> [I was told that I could "detrend" to do the same thing and
> regress each variable on t and save the residuals and the
> residuals have the detrended series, but I am unsure of how to do
> this over the course of the three periods to form one long period
> and do you regress all the variables together?].
If you could successfully -reshape- your data to -long- format (if
necessary), would fitting a 'time-counter' variable (e.g.: 1, 2, 3, etc.)
solve your problem?
CLIVE NICHOLAS |t: 0(044)191 222 5969
Politics |e: [email protected]
Newcastle University |http://www.ncl.ac.uk/geps
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/