Functional Models for Time-Varying Random Objects

Paromita Dubey, Hans‐Georg MüllerJournal of the Royal Statistical Society Series B (Statistical Methodology) 2020 · DOI

Abstract

Functional data analysis provides a popular toolbox for the analysis of samples of random functions that are real-valued. In recent years, samples of time-varying object data—such as time-varying networks that do not reside in a vector space—have been increasingly collected. These data can be viewed as elements of a general metric space that lacks local or global linear structure; therefore, common approaches like functional principal component analysis (FPCA) cannot be applied. We propose metric covariance, a novel association measure for paired object data lying in a metric space (Ω, d), to define a metric autocovariance function for a sample of random Ω-valued curves. This proposed function is non-negative definite when the squared semimetric d² is of negative type. The eigenfunctions of the linear operator can then be used as building blocks for an object FPCA for Ω-valued functional data, including time-varying probability distributions, covariance matrices, and dynamic networks. Analogues of functional principal components are obtained by applying Fréchet means and projections of distance functions, leading to real-valued Fréchet scores. Using generalized Fréchet integrals, we construct object functional principal components that lie in the metric space Ω. We establish asymptotic consistency for these estimators and illustrate the concepts with human mortality distributions, trading-based covariance matrices, and New York taxi trip networks.

Introduction

Functional Data Analysis (FDA) has traditionally focused on data that can be represented as curves or functions within linear spaces. In these settings, standard arithmetic—addition, subtraction, and scalar multiplication—allows researchers to calculate means and variances with ease. However, modern data science increasingly encounters "random objects" that lack this linear structure. Examples include evolving social networks, the shifting shapes of probability distributions, or time-varying covariance matrices.

Because traditional FPCA relies heavily on inner products and vector operations, it is fundamentally incompatible with general metric spaces where you cannot simply "average" two objects. This paper introduces a framework to bridge this gap, providing a mathematically rigorous way to identify the dominant patterns of variation for trajectories of objects defined solely by a distance metric.

Methodology: The Metric Covariance Framework

The core innovation of this research is the Metric Covariance. The authors leverage a known identity: in Euclidean space, the variance of a random variable $U$ can be expressed as $\frac{1}{2}E[d^2(U, U')]$, where $U'$ is an independent copy of $U$. By extending this logic, they define a covariance measure for paired objects in a metric space $(\Omega, d)$ using only the distances between them.

The Workflow

  1. Metric Auto-covariance: A kernel function is defined based on the metric covariance of the object-valued process at different time points.
  2. Eigen-decomposition: Provided the squared distance $d^2$ is of "negative type" (a property satisfied by Wasserstein or Frobenius metrics), the kernel is positive semi-definite. This allows for the extraction of eigenfunctions representing the "directions" of maximum variation.
  3. Fréchet Scores: Since objects cannot be projected onto vectors in the traditional sense, the authors project the distance between the object and its mean onto the eigenfunctions. This results in scalar "Fréchet scores," which are suitable for standard visualization, regression, or clustering.
  4. Object FPCs: To visualize the variation within the original object space, the authors use generalized Fréchet integrals. This produces "Object FPCs"—actual elements of the metric space (e.g., a representative network or distribution) that illustrate the physical meaning of a specific mode of variation.

The "Remote" Hilbert Space

The requirement for a "negative type" metric implies the existence of an isometric embedding into a hidden Hilbert space. The power of this approach is that researchers can perform complex functional analysis without ever needing to explicitly define or know the mapping into that abstract space.

Empirical Applications

The versatility of the metric FPCA framework was demonstrated across three distinct data types:

1. Human Mortality (Probability Distributions)

Using age-at-death distributions for 32 countries (1960–2009) and the 2-Wasserstein metric, the analysis highlighted how population "mass" shifts across ages over time. The first principal component captured significant historical volatility, specifically separating Eastern European countries and reflecting the political and social upheavals of the late 1980s and early 1990s, which had a pronounced impact on male mortality rates.

2. New York Taxi Trips (Dynamic Networks)

Daily traffic networks between Manhattan zones were analyzed using the Frobenius metric. The Fréchet scores successfully clustered traffic patterns into weekdays versus weekends. Furthermore, the method identified specific outliers, such as New Year’s Day and the dates of the 2016 Manhattan bombings, where traffic flow deviated sharply from standard daily patterns.

3. World Trade (Time-Varying Covariance)

Analyzing trade ratios for 26 commodities across 46 countries (1970–1999), the model captured the global expansion of trade. The first eigenfunction revealed a sharp increase in trade variability starting around 1985, while the second captured specific economic downturns during the early 1980s.

Discussion and Limitations

While this framework extends FDA to previously inaccessible data structures, it faces unique challenges:

  • Non-Linearity: Unlike standard PCA, one cannot perfectly reconstruct the original object trajectory by summing principal components, as the metric space lacks a native addition operation.
  • Inference: While asymptotic consistency is established (the estimators converge as sample size grows), formal hypothesis testing for comparing groups of object trajectories remains an area for future research.
  • Computation: Calculating Fréchet means and integrals requires iterative optimization, which can be computationally intensive for high-dimensional objects or very large datasets.

Despite these hurdles, metric FPCA provides a vital tool for modern statistics, allowing for the visualization and quantification of change in the complex, non-Euclidean structures that define contemporary data science.

Summary updated

BibTeX
@article{dubey2020functional,
  author = {Paromita Dubey and Hans‐Georg Müller},
  title = {{Functional Models for Time-Varying Random Objects}},
  journal = {Journal of the Royal Statistical Society Series B (Statistical Methodology)},
  year = {2020},
  doi = {10.1111/rssb.12337},
}
Figure