NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Functional data analysis for density functions by transformation to a Hilbert space

Alexander Petersen, Hans‐Georg MüllerThe Annals of Statistics 2015 · DOI

This paper, published in The Annals of Statistics, addresses a fundamental mismatch between the tools of Functional Data Analysis (FDA) and the mathematical reality of probability densities.

TL;DR

Probability densities are "constrained" data—they must be non-negative and integrate to one—which prevents them from living in the linear vector spaces required by standard statistical tools. This paper introduces a framework to map densities into a Hilbert space via invertible transformations, allowing researchers to perform Functional Principal Component Analysis (FPCA) and regression while ensuring the results remain valid densities.

What Problem Does This Paper Address?

In Functional Data Analysis, we treat entire curves as single data points. Usually, we assume these curves live in a Hilbert space (like $L^2$), where we can easily calculate averages, distances, and "modes of variation."

However, probability density functions (PDFs) are stubborn. Because a PDF $f(x)$ must satisfy $f(x) \ge 0$ and $\int f(x)dx = 1$, the space of densities is convex but not linear. If you take the average of two densities, you get a density; but if you subtract one from another or scale one by a negative number (standard operations in FPCA), you often end up with something that isn't a density at all.

Existing "extrinsic" methods often ignore these constraints during calculation and then "fix" the result at the end (e.g., by truncating negative values and renormalizing). This paper proposes an "intrinsic" approach: move the data to a space where the constraints don't exist, do the math, and then move back.

Methods

The authors propose a transformation approach. They define a continuous and invertible map $\psi$ that sends a density to a Hilbert space.

  1. Transformation: Map the sample densities $\{f_i\}$ to a linear space using $\psi$.
  2. Analysis: Perform standard FDA (like FPCA or functional linear regression) in that linear space.
  3. Inverse Mapping: Use $\psi^{-1}$ to bring the results (like the mean or principal components) back into the original density space.

The paper highlights two specific transformations:

  • Log Hazard Transformation: Useful for data where the "hazard rate" is a more natural descriptor.
  • Log Quantile Density (LQD) Transformation: This is particularly powerful because it relates to the Wasserstein metric, a way of measuring distances between distributions that accounts for "horizontal" shifts (warping) rather than just "vertical" differences in height.

Crucially, the authors also provide a modified kernel density estimator to handle boundary effects, ensuring that even when densities are estimated from raw data points, the theoretical convergence rates remain optimal.

Datasets

  • Simulated Data: Three different settings testing vertical variation (changing variance), horizontal variation (shifting means), and a combination of both.
  • fMRI Brain Imaging: Data from 68 individuals diagnosed with Alzheimer’s disease. The researchers looked at the distribution of correlations between "seed voxels" and their neighbors in the Right Parietal Lobule—a "hub" associated with high-level mental processing.

Key Insights and Ideas

  • The "Aha!" Moment on Geometry: Standard FPCA is great at capturing vertical changes (the "peaks" getting higher or lower). However, many density datasets involve horizontal shifts (the "peaks" moving left or right). The LQD transformation captures these horizontal shifts much more efficiently than standard methods.
  • Fréchet Variance: The authors generalize the idea of "variance explained." In a non-linear space, you can't just sum squares. They use the Fréchet variance (based on the chosen metric, like Wasserstein) to quantify how much information their components actually capture.
  • Bona Fide Results: Unlike ordinary FPCA, where the "first mode of variation" might result in a curve that dips below zero, the transformation approach guarantees that every result is a mathematically valid PDF.

Key Results

  • Efficiency: In simulations involving horizontal shifts, the transformation method explained significantly more variance with a single component than ordinary FPCA or Hilbert sphere methods.
  • Better Prediction: In the fMRI study, the authors used the densities of brain connectivity to predict cognitive test scores. The model using transformed densities (LQD) achieved a much higher $R^2$ (goodness-of-fit) and lower prediction error than the model using raw densities.
  • Interpretability: The "modes of variation" produced by the LQD transformation were visually intuitive, showing how the "peakedness" and "location" of brain connectivity distributions changed across the patient group.

Limitations and Future Work

  • Dimensionally Restricted: The current work focuses on one-dimensional densities. While the authors suggest using the Rosenblatt transformation to extend this to multivariate data, they acknowledge this would be computationally expensive and subject to the "curse of dimensionality."
  • Boundary Sensitivity: The transformations (especially log-hazard) can be sensitive to what happens at the edges of the data support, requiring careful weight functions to remain stable.
  • Future Directions: The authors suggest applying this framework to more complex functional models, such as functional-to-functional regression where both the predictor and the response are density functions.

Summary updated

BibTeX
@article{petersen2015functional,
  author = {Alexander Petersen and Hans‐Georg Müller},
  title = {{Functional data analysis for density functions by transformation to a Hilbert space}},
  journal = {The Annals of Statistics},
  year = {2015},
  doi = {10.1214/15-aos1363},
}
Figure