Message-ID: <20060212163506.89675.qmail@web33209.mail.mud.yahoo.com>
Date: 2006-02-12T16:35:06Z
From: oliver wee
Subject: differencing a time series
Hello, I need some help in differencing a time series.
For example I have a data set with 100 data points. I
need to create a new dataset that consists of the
difference of two succeeding data points.
something akin to this formula in java:
for (int i = 0, i < 100, i++)
{
newdataset[i] = olddataset[i] - olddataset[i-1]
}
any help is appreciated. Thanks