tempCor_fast: Temporal Correlation

Description Usage Arguments Value References

Description

Calculates the temporal correlation (correlation between the difference vectors) as defined by Chouakria and Nagabhushan (2007). We additionally set the correlation between two constant series to 1 and between a constant and a non-constant one to 0 to guarantee that the result is always a proper (aka not NaN, not infinity) number.

Usage

1

Arguments

x

1st numeric vector/time series.

y

2nd numeric vector/time series.

Value

The temporal correlation as double from the range [-1,1].

References

Chouakria, A. D. & Nagabhushan, P. N. (2007). Adaptive dissimilarity index for measuring time series proximity. Advances in Data Analysis and Classification, 1(1), 5-21.


Jakob-Bach/FastTSDistances documentation built on May 13, 2019, 1:15 p.m.