Two-sample and change-point inference for non-Euclidean valued time series

Feiyu Jiang, Changbo Zhu, Xiaofeng ShaoElectronic Journal of Statistics 2025

TL;DR

This paper introduces novel statistical methods for analyzing time series data where each data point lives in a non-Euclidean space (like distributions or matrices). The authors extend existing "self-normalization" techniques to handle temporal dependence in these complex data types, enabling robust two-sample testing and change-point detection. This work is crucial for analyzing increasingly common, complex time-series data in fields like medicine, finance, and network analysis.

What Problem Does This Paper Address?

Modern data analysis frequently encounters time series where individual observations are not simple numbers or vectors, but rather complex objects residing in non-Euclidean spaces. Examples include yearly age-at-death distributions, time-varying network structures (represented by graph Laplacians), and evolving covariance matrices. Traditional statistical methods, often designed for Euclidean data, struggle with these objects because standard operations like inner products and projections are not well-defined. Furthermore, many real-world time series exhibit temporal dependence, meaning observations are not independent, which further complicates inference.

Existing work on non-Euclidean data has largely focused on independent observations. While some progress has been made for functional data in Hilbert spaces, extending these methods to general metric spaces and accounting for temporal dependence has remained a significant challenge. This paper aims to fill this gap by developing statistically sound and practical methods for two-sample testing (comparing two such time series) and change-point detection (identifying shifts in the underlying process) in the presence of temporal dependence.

Methods

The core innovation of this paper is the adaptation of the self-normalization (SN) technique to non-Euclidean valued time series. SN is a powerful inferential tool that bypasses the need for consistent estimation of long-run variances, which can be difficult in time series. The authors extend SN by:

  • Developing new regularity conditions: These conditions are designed to be more practical and easier to verify for non-Euclidean data compared to existing approaches.
  • Leveraging M-estimation theory: Instead of relying on empirical process theory, the authors draw inspiration from M-estimation in Euclidean spaces, adapting it to the metric space setting. This involves decomposing the distance between data points and estimators of the Fréchet mean.
  • Constructing SN-based test statistics: For two-sample testing, they propose statistics that compare Fréchet variances and contaminated Fréchet variances. For change-point detection, they adapt these ideas and combine them with wild binary segmentation (WBS), a powerful algorithm for detecting multiple change points.

The theoretical contributions include deriving the limiting distributions of the proposed test statistics under both null and local alternatives, and establishing the consistency of change-point estimators.

Datasets

The paper evaluates its methods using both simulated data and real-world datasets:

  • Simulated Data:
    • Gaussian univariate probability distributions (equipped with 2-Wasserstein metric).
  • Graph Laplacians of weighted graphs (equipped with Frobenius metric).
  • Covariance matrices (equipped with log-Euclidean metric).
  • Functional time series data generated from a VAR(1) process.
  • Real-World Data:
    • Mortality Data: Yearly age-at-death distributions for European countries from the Human Mortality Database. This dataset is used for two-sample testing to compare the longevity patterns of different countries.
  • Cryptocurrency Data: Daily Pearson correlation matrices of minute prices for Bitcoin, Dogecoin, Cardano, Monero, and Chainlink in 2021. This dataset is used for change-point detection to identify structural breaks in cryptocurrency correlations.

The paper does not introduce new benchmark datasets but applies its methods to existing, relevant data sources.

Key Insights and Ideas

  • Bridging the Gap for Complex Time Series: The paper successfully extends powerful statistical inference tools (SN) to a challenging class of data – non-Euclidean time series – which were previously underserved, especially when temporal dependence is present.
  • Practicality of New Assumptions: The proposed regularity conditions for non-Euclidean data are designed to be more amenable to verification than those in prior work, making the methods more accessible.
  • Robustness to Temporal Dependence: The SN-based approach inherently handles temporal dependence, a critical feature for most real-world time series, leading to more reliable inference compared to methods that assume independence.
  • Power of the Contaminated Variance Test: The introduction of a "power-augmented" test statistic (Dn,2) that incorporates contaminated Fréchet variances proves effective in detecting changes in both Fréchet mean and variance, offering broader detection capabilities.
  • WBS for Multiple Change Points: Combining the SN change-point test with Wild Binary Segmentation provides an effective framework for identifying multiple structural breaks in complex time series.

Key Results

  • Theoretical Guarantees: The paper provides theoretical derivations for the asymptotic distributions of the two-sample and change-point test statistics under both null and local alternatives. The consistency of the change-point estimator is also established.
  • Simulation Performance: Numerical simulations demonstrate that the proposed SN-based tests exhibit accurate size control, especially when compared to existing methods (like DM) that suffer from severe size distortion under temporal dependence. The tests also show good power performance, with the Dn,2 statistic being particularly effective.
  • Real-World Applications:
    • Mortality Data: The analysis revealed clustering of European countries based on their age-at-death distributions, suggesting similarities related to economic development and healthcare systems.
  • Cryptocurrency Data: The change-point detection method successfully identified a significant structural break in cryptocurrency correlations around mid-May 2021, coinciding with a major market crash.

Limitations and Future Work

  • Focus on Variance: While the proposed tests are effective, they primarily rely on the asymptotic behavior of Fréchet variances. The authors suggest that developing formal tests that directly target Fréchet mean differences or changes would be valuable.
  • Change-Point Estimator Consistency: The paper establishes the consistency of the change-point estimator but leaves the derivation of explicit convergence rates and asymptotic distributions for future work. This would be crucial for constructing confidence intervals for change-point locations.
  • Smooth Structural Changes: Investigating methods to detect structural changes that occur smoothly over time, rather than abruptly, is identified as an interesting area for future research.
  • Fréchet Mean Change Consistency: While the change-point estimator's consistency is shown for Fréchet variance changes, deriving it for Fréchet mean changes alone is noted as challenging and left for future investigation.

Summary updated

BibTeX
@article{jiang2025two,
  author = {Feiyu Jiang and Changbo Zhu and Xiaofeng Shao},
  title = {{Two-sample and change-point inference for non-Euclidean valued time series}},
  journal = {Electronic Journal of Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=BdwtKfARZn},
}
Figure