timevarcorr

From MaRDI portal
Software:5980334



CRANtimevarcorrMaRDI QIDQ5980334

Time Varying Correlation

Francois Rousset, Alexandre Courtiol

Last update: 7 November 2023

Copyright license: MIT license, File License

Software version identifier: 0.1.1



Computes how the correlation between 2 time-series changes over time. To do so, the package follows the method from Choi & Shin (2021) <doi:10.1007/s42952-020-00073-6>. It performs a non-parametric kernel smoothing (using a common bandwidth) of all underlying components required for the computation of a correlation coefficient (i.e., x, y, x^2, y^2, xy). An automatic selection procedure for the bandwidth parameter is implemented. Alternative kernels can be used (Epanechnikov, box and normal). Both Pearson and Spearman correlation coefficients can be estimated and change in correlation over time can be tested.