[Paper Review] A Kernel Independence Test for Random Processes
This paper proposes a non-parametric kernel independence test for random processes using the Hilbert-Schmidt Independence Criterion (HSIC), which adapts the i.i.d. HSIC test to time series by replacing bootstrap resampling with temporal shifting to preserve serial dependence. The method ensures valid Type I error control and detects nonlinear dependencies missed by linear methods, with empirical validation on artificial and forex data showing superior performance over bootstrap-based approaches.
A new non parametric approach to the problem of testing the independence of two random process is developed. The test statistic is the Hilbert Schmidt Independence Criterion (HSIC), which was used previously in testing independence for i.i.d pairs of variables. The asymptotic behaviour of HSIC is established when computed from samples drawn from random processes. It is shown that earlier bootstrap procedures which worked in the i.i.d. case will fail for random processes, and an alternative consistent estimate of the p-values is proposed. Tests on artificial data and real-world Forex data indicate that the new test procedure discovers dependence which is missed by linear approaches, while the earlier bootstrap procedure returns an elevated number of false positives. The code is available online: https://github.com/kacperChwialkowski/HSIC .
Motivation & Objective
- To develop a consistent, non-parametric test for instantaneous dependence between two random processes without assuming parametric models or density estimates.
- To address the failure of standard bootstrap procedures in time series due to temporal dependence, which inflates Type I error rates.
- To provide a valid null distribution estimate for HSIC under temporal dependence by using signal shifting instead of permutation.
- To detect nonlinear dependencies in time series that are missed by linear correlation or traditional i.i.d. tests.
- To ensure the test maintains the nominal significance level (e.g., α = 0.05) under temporal dependence, avoiding false positives.
Proposed method
- The test uses the Hilbert-Schmidt Independence Criterion (HSIC) as a non-parametric measure of dependence between two random processes X_t and Y_t at time t.
- The null hypothesis assumes X_t and Y_t are independent at each time point, while the alternative allows for any form of dependence.
- The asymptotic null distribution of HSIC for time series is derived as a weighted sum of correlated χ² variables, differing from the i.i.d. case where they are independent.
- A novel resampling procedure is proposed: shifting one signal relative to the other to preserve the internal temporal dependence structure of each process.
- The method avoids permutation-based bootstrap, which breaks temporal dependence and leads to inflated Type I errors in time series.
- Theoretical analysis establishes that under the null, HSIC converges to a sum of scaled χ² variables with correlated eigenvalues, and under the alternative, it is asymptotically normal.
Experimental results
Research questions
- RQ1Can the standard bootstrap procedure used for i.i.d. data be reliably applied to test independence in time series?
- RQ2Does the proposed shifted resampling method maintain the correct Type I error rate under temporal dependence?
- RQ3Can HSIC detect nonlinear dependencies in time series that are undetected by linear correlation or traditional i.i.d. tests?
- RQ4What is the asymptotic distribution of HSIC when applied to stationary, weakly dependent random processes?
- RQ5How does the performance of the new test compare to bootstrap-based approaches on real-world financial time series?
Key findings
- The bootstrap procedure used in i.i.d. settings fails for time series, leading to an elevated rate of false positives due to disruption of temporal dependence.
- The proposed shifted resampling method successfully maintains the nominal Type I error rate (α = 0.05) even under strong temporal dependence.
- The test detects nonlinear dependencies in artificial data that are absent in linear correlation, demonstrating sensitivity to complex dependence structures.
- On real-world forex data, the proposed method identifies dependencies missed by linear approaches, confirming its practical utility.
- The asymptotic null distribution of HSIC for time series is a weighted sum of correlated χ² variables, differing from the independent case.
- Under the alternative hypothesis, the test statistic is asymptotically normal, enabling consistent inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.