This function returns a list of following relation variables below.
- follVal
is a following-relation value s.t. if follVal is positive, then Y follows X. If follVal is negative, then X follows Y.
Otherwise, if follVal is zero, there is no following relation between X,Y.
- nX
is a time series that is rearranged from X by applying the lags optIndexVec in order to imitate Y.
- optDelay
is the optimal time delay inferred by cross-correlation of X,Y. It is positive if Y is simply just a time-shift of X (e.g. Y[t]=X[t-optDelay]).
- optCor
is the optimal correlation of Y[t]=X[t-optDelay] for all t.
- optIndexVec
is a time series of optimal warping-path from DTW that is corrected by cross correlation.
It is approximately that Y[t]=X[t-optIndexVec[t]]).
- VLval
is a percentage of elements in optIndexVec that is not equal to optDelay.
- ccfout
is an output object of ccf function.