Functional mean test Created 2026-09-24 Updated 2026-11-05
A functional mean test asks whether the expectation of a Hilbert-space-valued random variable is zero. Suppose are independent and identically distributed in a Hilbert space with a countable dense subset , with . Write for their covariance operator and . Under the null hypothesis , the Hilbert-space central limit theorem gives
where is a centered Gaussian random element in , the are the eigenvalues of , and the are independent standard normal random variables. The second assertion follows by the continuous mapping theorem. Since , the nonnegative series is finite almost surely. Limits given by Gaussian random elements for functional sample means and the corresponding weighted squared-norm laws also extend to suitable dependent observations.[ref]
The eigenvalues determine the calibration: the limit is generally a weighted sum of random variables with a chi-squared distribution, rather than a single ordinary chi-squared distribution. The squared norm measures deviations across all covariance operator directions. An FPCA mean test instead retains finitely many eigenvectors and divides their squared coordinates by their eigenvalues, producing a different statistic with a simpler limiting calibration.
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 .
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 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.
Write for the rank-one operator . The estimator is the kernel representation of the empirical covariance operator
Since ,
Thus the estimator has the fixed bias of an estimator for .
The fourth-moment assumption makes square-integrable in the Hilbert space of Hilbert-Schmidt operators. The weak law of large numbers therefore gives
Consequently consistency for holds exactly when . More precisely, if , then
The Hilbert-space central limit theorem also yields
where is a centered Gaussian random element in the Hilbert-Schmidt operator space with covariance determined by . Relative to , the same fluctuation is displaced by and hence does not have a finite centered limit when .
Use the test statistic
Under the null hypothesis, the Hilbert-space central limit theorem gives , where is centered Gaussian with covariance . If , its Karhunen–Loève expansion and the continuous mapping theorem give
for independent . Reject for above the quantile of this weighted chi-squared law; replacing the by empirical covariance eigenvalues gives a plug-in estimator of the critical value.
Under every fixed alternative , the weak law of large numbers gives , so and the test is consistent. Under a local alternative , the limit is , which describes its local power.
Two-sample FPCA mean statistic Created 2026-09-28 Updated 2026-11-05
Let and be two independent samples of independent and identically distributed Hilbert-space-valued random variables, with finite second moments and covariance operators . To test equality of their expectations, use the pooled covariance operator . This choice works even when the two population covariance operators differ: under the null hypothesis, the covariance operator of is exactly .
Let estimate the eigenvalues and orthonormal eigenvectors of , for example from the average of the two within-sample empirical covariance operators. For fixed , positive retained eigenvalues, a separated retained eigenspace and suitable statistical consistency of these estimates,
The proof applies the Hilbert-space central limit theorem to the difference of sample means, then standardizes its first coordinates and uses Slutsky's theorem. A sufficient simple-eigenvalue condition is with .[ref]
For unequal sample sizes , the scaling becomes and the relevant population covariance operator is . Thus a sample-size-weighted pooled estimate cannot automatically be reused for unequal sizes and unequal covariance operators: its weights must match the variance of the difference being tested.