Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Time trend


From   cas2111@columbia.edu
To   statalist@hsphsun2.harvard.edu
Subject   st: Time trend
Date   Wed, 21 Apr 2004 22:43:44 -0400

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

Thank you,
cheryl
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index