ArticleslgStudy

mathematics

Functional data analysis

Functional data analysis is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Functional data analysis rather than just read about it. In short: 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.

Functional data analysis — main illustration
Functional data analysis — illustration

Key takeaways

  • Functional data analysis belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Functional data analysis to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Functional data analysis from memory before moving on to harder problems.

Reference excerpt

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.

Worked examples

Example 1 — a first encounter with Functional data analysis

Start with the simplest possible case. Write down what Functional data analysis claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Functional data analysis before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Functional data analysis ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Functional data analysis

In research
Functional data analysis appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Functional data analysis in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Functional data analysis is common in secondary-school and first-year university syllabi. It links to neighbouring topics Statistical analysis, Statistical data types, so understanding it makes those chapters shorter.
In everyday life
Look for Functional data analysis outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Functional data analysis” →

How to study Functional data analysis in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Functional data analysis means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Functional data analysis out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Functional data analysis in simple terms?

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.

Why does Functional data analysis matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Functional data analysis?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Functional data analysis.

Tags

  • Statistical analysis
  • Statistical data types

Keep exploring