timevarcorr: Time Varying Correlation

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.

Getting started

Package details

AuthorAlexandre Courtiol [aut, cre, cph] (<https://orcid.org/0000-0003-0637-2959>), François Rousset [aut] (<https://orcid.org/0000-0003-4670-0371>)
MaintainerAlexandre Courtiol <alexandre.courtiol@gmail.com>
LicenseMIT + file LICENSE
Version0.1.1
URL https://courtiol.github.io/timevarcorr/ https://github.com/courtiol/timevarcorr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("timevarcorr")

Try the timevarcorr package in your browser

Any scripts or data that you put into this service are public.

timevarcorr documentation built on Nov. 8, 2023, 1:11 a.m.