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


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

st: twoway lfit and time series operators


From   Jorge Eduardo Pérez Pérez <perez.jorge@ur.edu.co>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: twoway lfit and time series operators
Date   Wed, 6 Oct 2010 14:49:38 -0400

Dear Statalist

-twoway lfit- does not work with time series operators in Stata 11. Is
there a reason for this aside from -twoway lfit- being out of date?
-scatter- deals with time series operators properly.

sysuse sp500
tsset date
scatter l.open l5.close
twoway lfit l.open l5.close

I had to use this workaround

gen l5close=l5.close
twoway lfit l.open l5close

Thanks

_______________________
Jorge Eduardo Pérez Pérez

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index