Is there even a PROC TIMELINES???? SAS/ETS has PROC TIMESERIES...
http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#/documentation/cdl/e...
and the section on "differencing" is here
http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#/documentation/cdl/e... (if you understand the math).
Meanwhile, I'm curious how the data goes backward in time...because in the first 2 obs
[pre]
FROMDATE TODATE MAINREF REF
30-07-2010 01-04-2010 1 1
30-06-2010 01-05-2010 1 2
[/pre]
I'd like to figure out how to go
FROM July 30
TO April 1 or
FROM June 30
TO May 1?? Perhaps someone invented the way-back time machine and I didn't get the memo.
cynthia