Let
and estimate it by the average of the two within-sample empirical covariance operators. Let be its leading empirical eigenpairs and let be the sample means. Use the Two-sample FPCA mean statistic
Under , the Hilbert-space central limit theorem gives
where is a centered Gaussian random element with covariance . Distinct eigenvalues give consistent empirical eigenpairs, up to signs, and the standardized leading scores are independent standard normal variables. Hence
Rejecting above the quantile gives an asymptotic level- test.
Under a fixed alternative ,
The test is consistent whenever one retained projection is nonzero. Alternatives orthogonal to the first eigenfunctions are invisible at fixed . Under local alternatives , the limit is noncentral chi-squared with noncentrality .
Let be the ordered eigenpairs of the common covariance operator , and write . Estimate by the pooled covariance operator
and denote its first eigenpairs by . The sign ambiguity of each eigenfunction disappears after squaring. Consider the Two-sample FPCA mean statistic
Under , the Hilbert-space central limit theorem gives
where is a centered Gaussian random element with covariance . The assumed eigenvalue gaps give consistency of the estimated eigenvalues and eigenfunctions, so Slutsky's theorem yields
An asymptotic level- test therefore rejects when exceeds the -quantile of the chi-squared distribution with degrees of freedom.
Under a fixed alternative,
The test is consequently consistent whenever the mean difference has a nonzero projection onto one of the retained principal components. A difference orthogonal to their span is invisible to this fixed- test, so alone does not guarantee consistency. Increasing with can recover such alternatives, but requires additional eigenvalue and approximation control.