xiacf: Quantifying Nonlinear Dependence and Lead-Lag Dynamics via Chatterjee's Xi

Computes Chatterjee's non-parametric correlation coefficient for time series data. It extends the original metric to time series analysis by providing the Xi-Autocorrelation Function (Xi-ACF) and Xi-Cross-Correlation Function (Xi-CCF). The package allows users to test for non-linear dependence using Iterative Amplitude Adjusted Fourier Transform (IAAFT) surrogate data. Main functions include xi_acf() and xi_ccf() for computation, along with matrix extraction tools. Methodologies are based on Chatterjee (2021) <doi:10.1080/01621459.2020.1758115> and surrogate data testing methods by Schreiber and Schmitz (1996) <doi:10.1103/PhysRevLett.77.635>.

Getting started

Package details

AuthorYasunori Watanabe [aut, cre]
MaintainerYasunori Watanabe <watanabe.yasunori@outlook.com>
LicenseMIT + file LICENSE
Version0.4.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("xiacf")

Try the xiacf package in your browser

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

xiacf documentation built on April 16, 2026, 5:08 p.m.