Under , the Hilbert-space central limit theorem gives
where is a centered Gaussian random element with covariance . Distinct leading eigenvalues imply consistency of the empirical eigenvalues and eigenfunctions, up to irrelevant signs. The first standardized functional principal component scores of are independent variables, so Slutsky theorem yields
An asymptotic level- test rejects above the quantile of the chi-squared distribution.
Under a fixed alternative, put . The weak law of large numbers and eigenpair consistency give
Thus the statistic diverges and the test is consistent whenever at least one retained projection is nonzero. A fixed alternative orthogonal to the first eigenfunctions is invisible to this fixed- statistic.
Let
and define the functional principal component scores
Use empirical centered scores from the sample covariance eigenfunctions and form
The finite-dimensional statistic is
Under , is independent of . The population cross-covariances vanish, and
The multivariate central limit theorem, consistency of the empirical eigenpairs, and Slutsky theorem therefore give
Rejecting above the quantile gives an asymptotic level- test.
Under a fixed alternative, is the coordinate of the cross-covariance operator , where is the Hilbert-Schmidt operator with kernel . Thus
The test is consistent whenever this retained block contains a nonzero cross-covariance; fixed truncation can miss alternatives outside the selected principal-component subspaces.
The Karhunen–Loève expansion has the following Hilbert-space form. Let be a square-integrable Random element of a Hilbert space , with mean and covariance operator . There are nonnegative eigenvalues and orthonormal eigenvectors spanning the closure of the range of such that
in . The functional principal component scores
satisfy
If is a Gaussian random element, the scores are independent normal random variables.
For the proof, is positive, self-adjoint, and trace-class, with
It is therefore compact, so the spectral theorem for compact Hermitian operators supplies the eigenpairs. Their score covariance is
For the residual , Parseval identity and the trace formula give
The centered variable's projection onto has zero second moment and is therefore zero almost surely, which completes the mean-square expansion. When has a continuous covariance kernel, Mercer's theorem additionally expands that kernel as .
If the form the eigenbasis of , then
The retained functional principal component scores are therefore uncorrelated with every omitted score, so . The least-squares estimates of are consistent despite truncation. Fixed still estimates only the projection ; consistency for the complete function requires the truncation level to increase and the tail error to vanish.
Let be the Hilbert-Schmidt operator with kernel , so the function-on-function linear model is . Independence and centering give . Let
and define the functional principal component scores
The cross-covariance operator identity gives, for every ,
Since is centered, the requested integrated variance is . Applying the Karhunen–Loève expansion to and the Parseval identity in the basis yields
Equivalently, if , the expression is .