LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 8 Sep 2010 11:31:33 -0400
Reply-To:   MM <WBS.PhD@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   MM <WBS.PhD@GMAIL.COM>
Subject:   Re: first order autocovariance series

Thanks Murphy.

I may be wrong but I believe that proc arima only allows me to write the autocovariances (up to a specified number of lags) to an output SAS data set by using OUTCOV option.

However, what I need it is not the first order autocovariance of the complete return series, but a series of first order autocovariances. The ideal output dataset would be for example:

DATE RET COV ...... .... .... 12May2010 0.01 .... 13May2010 0.012 .... 14May2010 0.008 .... ...... .... ....

where COV=Cov(Rt;Rt-1) is re-calculated for each day t (i.e. considering the series of returns and lagged returns up to day t).

Any idea how to do this? Is it still something I can accomplish using proc arima? Or I need iterative procedures?

Many thanks, MM


Back to: Top of message | Previous page | Main SAS-L page