dif4: order 4 differencing of a time series vector
Description
This is for momentum traders who focus on growth, acceleration, its gorwth
and further acceleration. The diff function of R seems to do
recycling of available numbers, not wanted for our purposes.
Usage
dif4(x)
Value
ou2 matrix having five columns, first for x, the next four
columns have diff(x), diff-squared(x), diff-cubed(x) and diff-fourth(x)
Arguments
x
(n X 1) vector of time series (market returns) with n items each
Author
Prof. H. D. Vinod, Economics Dept., Fordham University, NY