In statistics, functional correlation is a dimensionality reduction technique used to quantify the correlation and dependence between two variables when the data is functional. Several approaches have been developed to quantify the relation between two functional variables.
Overview A pair of real valued random functions X(t) and Y(t) with t∈T, a compact interval, can be viewed as realizations of square-integrable stochastic process in a Hilbert space. Since both X and Yare infinite dimensional, some kind of dimension reduction is required to explore their relationship. Notions of correlation for functional data include the following.
Functional canonical correlation coefficient (FCCA) FCCA is a direct extension of multivariate canonical correlation. For a pair of random functions X∈ℒ2(ℐ𝒳) and Y∈ℒ2(ℐ𝒴) the first canonical coefficient ρ1 is defined as:
where ⟨⋅,⋅⟩ denotes the inner product in Lp space (p=2) i.e. ⟨f1,f2⟩=∫ℐf1(t)f2(t)dt, f1,f2∈ℒ2(ℐ) The kth canonical coefficient ρk, given ρ1,ρ2,…,ρk−1 is defined as:
where (Uk,Vk)=(⟨uk,X⟩,⟨vk,Y⟩) is uncorrelated with all previous pairs (Uj,Vj)=(⟨uj,X⟩,⟨vj,Y⟩)j=1,2,…,k−1. Thus FCCA implements projections in the directions of Uk and Vk for X and Y respectively, such that their linear combinations (inner products) (Uk,Vk) are maximally correlated. X and Y are uncorrelated if all their canonical correlations are zero, equivalently, if and only if ρ1=0.
Alternative formulation The cross-covariance operator for two random functions X and Y defined as ΣXY:ℒ2(ℐ𝒳)→ℒ2(ℐ𝒴):ΣXYv(t)=∫cov(X(t),Y(t))v(s)ds;v∈ℒ2(ℐ𝒴) and analogously the auto covariance operators for X,ΣXX, for Y,ΣYY and using cov(⟨u,X⟩,⟨v,Y⟩)=⟨u,ΣXYY⟩, the kth canonical coefficient ρk in (2) can be re-written as,
, where (Uk,Vk)=(⟨uk,X⟩,⟨vk,Y⟩) is uncorrelated with all previous pairs (Uj,Vj)=(⟨uj,X⟩,⟨vj,Y⟩)j=1,2,..,k−1 Maximizing (3) is equivalent to finding eigenvalues and eigenvectors of the operator R=ΣXX−1/2ΣXYΣYY−1/2.
Challenges Since ΣXX and ΣYY are compact operators, the square root of the auto-covariance operator of ℒ2 processes may not be invertible. So the existence of R and hence computing its eigenvalues and eigenvectors is an ill-posed problem. As a consequence of this inverse problem, overfitting may occur which may lead to an unstable correlation coefficient. Due to this inverse problem, ρ1 tends to be biased upwards and therefore close to 1 and hence is difficult to interpret. FCCA also requires densely recorded functional data so that the inner products in (2) can be accurately evaluated.
Possible solutions Some possible solutions to this problem have been discussed.
By restricting the maximization of (1) to discrete l2 sequence spaces that are restricted to a reproducing kernel Hilbert space instead of entire ℒ2 Using cross-validation to regularize the FCCA in practical implementation.
Functional singular correlation analysis (FSCA) FSCA bypasses the inverse problem by simply replacing the objective function by covariance in place of correlation in (2). FSCA aims to quantify the dependency of X,Y by implementing the concept of functional singular-value decomposition for the cross-covariance operator. FSCA can be viewed as an extension of analyses using singular-value decomposition of vector data to functional data. For a pair of random functions X∈ℒ2(ℐ𝒳) and Y∈ℒ2(ℐ𝒴) with smooth mean functions μX(t)=𝔼(X(t)) and μY(t)=𝔼(Y(t)) and smooth covariance functions, FSCA aims at a "functional covariance" corresponding to the first singular value of the cross-covariance operator ΣXY,
which is attained at functions u1∈ℒ2(ℐ𝒳),v1∈ℒ2(ℐ𝒴). A standardized version of this serves as a functional correlation and is defined as
, The singular representation of the cross-covariance can be employed to find a solution to the maximization problem (4). Analogously, we can extend this concept to find the next k ordered singular correlation coefficients ρ1,ρ2,…,ρk.
Correlation as angle between functions In the multivariate case, the inner product of two vectors a and b is defined as, ⟨a,b⟩=‖a‖‖b‖cosα where α is the angle between a and b. This can be extended to the space of square integrable random functions. For this notion to be a meaningful measure of alignment of shapes, the integrals of the functions, which are the projections on the constant function 1, are subtracted. This part corresponds to a "static part" and the remainder can be thought of as a "dynamic part" for each random function. The cosine of the L2 angle between these "dynamic parts" then provides a correlation measure of functional shapes. Denoting M1=⟨X,1⟩ and M2=⟨Y,1⟩ the standardized curves may be defined as X∗(t)=(X(t)−M1(t))/(∫(X(t)−M1(t))2dt)1/2 Y∗(t)=(Y(t)−M2(t))/(∫(Y(t)−M2(t))2dt)1/2 and the correlation is defined as,
See also Functional data analysis Functional principal component analysis Karhunen–Loève theorem Functional regression Generalized functional linear model Stochastic processes Canonical correlation
References