Functional data analysis (FDA) is a branch of statistics that analyses data providing information about curves, surfaces or anything else varying over a continuum. In its most general form, under an FDA framework, each sample element of functional data is considered to be a random function. The physical continuum over which these functions are defined is often time, but may also be spatial location, wavelength, probability, etc. Intrinsically, functional data are infinite dimensional. The high intrinsic dimensionality of these data brings challenges for theory as well as computation, where these challenges vary with how the functional data were sampled. However, the high or infinite dimensional structure of the data is a rich source of information and there are many interesting challenges for research and data analysis.
History Functional data analysis has roots going back to work by Grenander and Karhunen in the 1940s and 1950s. They considered the decomposition of square-integrable continuous time stochastic process into eigencomponents, now known as the Karhunen-Loève decomposition. A rigorous analysis of functional principal components analysis was done in the 1970s by Kleffe, Dauxois and Pousse including results about the asymptotic distribution of the eigenvalues. More recently in the 1990s and 2000s the field has focused more on applications and understanding the effects of dense and sparse observations schemes. The term "Functional Data Analysis" was coined by James O. Ramsay.
Mathematical formalism Random functions can be viewed as random elements taking values in a Hilbert space, or as a stochastic process. The former is mathematically convenient, whereas the latter is somewhat more suitable from an applied perspective. These two approaches coincide if the random functions are continuous and a condition called mean-squared continuity is satisfied.
Hilbertian random variables In the Hilbert space viewpoint, one considers an H-valued random element X, where H is a separable Hilbert space such as the space of square-integrable functions L2[0,1]. Under the integrability condition that 𝔼‖X‖L22=𝔼(∫01|X(t)|2dt)<∞, one can define the mean of X as the unique element μ∈H satisfying
𝔼⟨X,h⟩=⟨μ,h⟩,h∈H. This formulation is the Pettis integral but the mean can also be defined as Bochner integral μ=𝔼X. Under the integrability condition that 𝔼‖X‖L22 is finite, the covariance operator of X is a linear operator 𝒞:H→H that is uniquely defined by the relation
𝒞h=𝔼[⟨h,X−μ⟩(X−μ)],h∈H, or, in tensor form, 𝒞=𝔼[(X−μ)⊗(X−μ)]. The spectral theorem allows to decompose X as the Karhunen-Loève decomposition
X=μ+∑i=1∞⟨X,φi⟩φi, where φi are eigenvectors of 𝒞, corresponding to the nonnegative eigenvalues of 𝒞, in a non-increasing order. Truncating this infinite series to a finite order underpins functional principal component analysis.
Stochastic processes The Hilbertian point of view is mathematically convenient, but abstract; the above considerations do not necessarily even view X as a function at all, since common choices of H like L2[0,1] and Sobolev spaces consist of equivalence classes, not functions. The stochastic process perspective views X as a collection of random variables
{X(t)}t∈[0,1] indexed by the unit interval (or more generally interval 𝒯). The mean and covariance functions are defined in a pointwise manner as
μ(t)=𝔼X(t),Σ(s,t)=Cov(X(s),X(t)),s,t∈[0,1] (if 𝔼[X(t)2]<∞ for all t∈[0,1]). Under the mean square continuity, μ and Σ are continuous functions and then the covariance function Σ defines a covariance operator 𝒞:H→H given by
The spectral theorem applies to 𝒞, yielding eigenpairs (λj,φj), so that in tensor product notation 𝒞 writes
𝒞=∑j=1∞λjφj⊗φj. Moreover, since 𝒞f is continuous for all f∈H, all the φj are continuous. Mercer's theorem then states that
sups,t∈[0,1]|Σ(s,t)−∑j=1Kλjφj(s)φj(t)|→0,K→∞. Finally, under the extra assumption that X has continuous sample paths, namely that with probability one, the random function X:[0,1]→ℝ is continuous, the Karhunen-Loève expansion above holds for X and the Hilbert space machinery can be subsequently applied. Continuity of sample paths can be shown using Kolmogorov continuity theorem.
Functional data designs Functional data are considered as realizations of a stochastic process X(t), t∈[0,1] that is an L2 process on a bounded and closed interval [0,1] with mean function μ(t)=𝔼(X(t)) and covariance function Σ(s,t)=Cov(X(s),X(t)). The realizations of the process for the i-th subject is Xi(⋅), and the sample is assumed to consist of n independent subjects. The sampling schedule may vary across subjects, denoted as Ti1,...,TiNi for the i-th subject. The corresponding i-th observation is denoted as 𝐗i=(Xi1,...,XiNi), where Xij=Xi(Tij). In addition, the measurement of Xij is assumed to have random noise ϵij with 𝔼(ϵij)=0 and Var(ϵij)=σij2, which are independent across i and j.
1. Fully observed functions without noise at arbitrarily dense grid Measurements Yit=Xi(t) available for all t∈ℐ,i=1,…,n Often unrealistic but mathematically convenient. Real life example: Tecator spectral data.
2. Densely sampled functions with noisy measurements (dense design) Measurements Yij=Xi(Tij)+εij, where Tij are recorded on a regular grid, Ti1,…,TiNi, and Ni→∞ applies to typical functional data. Real life example: Berkeley Growth Study Data and Stock data
3. Sparsely sampled functions with noisy measurements (longitudinal data) Measurements Yij=Xi(Tij)+εij, where Tij are random times and their number Ni per subject is random and finite. Real life example: CD4 count data for AIDS patients.
… excerpt ends here. Continue reading the full article.
