Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: twoway lfit and time series operators


From   "Lachenbruch, Peter" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: st: twoway lfit and time series operators
Date   Tue, 12 Oct 2010 11:43:08 -0700

See the FAQ

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of David Cancel
Sent: Monday, October 11, 2010 12:10 PM
To: [email protected]
Subject: Re: st: twoway lfit and time series operators

PLEASE HELP, HOW DO I GET RID OF ALL THESE STATALIST EMAILS? DO NOT KNOW
WHAT I DID WRONG, BUT NOT INTERESTED IN STATALIST.  THANK YOU ALL.



> Jorge Eduardo Perez <[email protected]> writes that
> -twoway lfit- fails when time-series operators are applied
> to the variables.
>
>> -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
>
> -twoway lfit- was not intended to support time-series operators,
> but the documentation is silent on this point and the error
> message when operators are used is admittedly poor.
>
> Regardless, support for time-series operators will be added to
> -twoway lfit-, -twoway lfitci-, -twoway qfit-, and -twoway qfitci-
> in a future update.
>
> In the interim, anyone wanting to user time-series operators
> with these -twoway- plottypes can use Jorge's workaround.
>
>
> -- Vince
>    [email protected]
>
> *
> *   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/
>

*
*   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/

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