Skip to Content
AxiomsAxioms
  • Article
  • Open Access

16 October 2026

50 Pages

Bandit Process Inference for Streaming Functional Data

,
,
,
,
,
and
1
School of Mathematics, Shandong University, Jinan 250100, China
2
School of Statistics and Mathematics, Shandong University of Finance and Economics, Jinan 250014, China
3
Faculty of Education and Liberal Arts, INTI International University, Nilai 71800, Negeri Sembilan, Malaysia
4
Zhongtai Securities Institute for Financial Studies, Shandong University, Jinan 250100, China
This article belongs to the Special Issue Functional Data Analysis and Its Application

Abstract

The functional linear model Y = ∫ T X ( t ) β 0 ( t ) d t + ε is widely used in various fields, including medical image analysis, economics, and climate science. Reliable statistical inference for β 0 ( t ) across the domain t ∈ T is essential in these applications. While substantial progress has been made in addressing prediction problems in offline settings, hypothesis testing for β 0 ( t ) , especially in the context of streaming and functional data, continues to present considerable challenges. In the paper, we propose a novel statistical inference framework designed specifically for streaming data based on functional stochastic gradient descent algorithms. Our approach constructs an online sequence of randomly perturbed estimators and incorporates a two-armed bandit process to build an adaptive test statistic for hypothesis testing. Moreover, we establish the limiting distribution of this statistic under both the null and alternative hypotheses, thus ensuring its statistical validity. Simulation studies examine the power and null calibration of the framework, and a real-world application illustrates its use for streaming functional data.

1. Introduction

The functional linear model has been widely adopted in diverse scientific domains, including medical imaging, economics, and climate science, due to its ability to capture temporal or spatial relationships between functional predictors and scalar responses. A key inferential question in these domains is whether the specific functional predictor at a specific time or space exerts a sufficiently strong positive or negative influence on the response. For example, in neuroimaging studies, such inference enables identification of brain regions where reduced metabolic activity is significantly associated with cognitive impairment [1].
While modern nonparametric models such as deep neural networks have demonstrated strong predictive performance, the development of reliable inferential procedures for individual predictors remains relatively underexplored. For example, Refs. [2,3] studied estimation of the slope function (which reflects the predictor’s effect on the response variable); Ref. [4] studied the generalized functional linear model; and Refs. [5,6] considered tests of the null effect of the slope function. However, statistical inference on the local effect of the predictor at a specific location or time point t 0 remains challenging, particularly in the context of streaming or online data. This gap is especially important in high-stakes domains such as healthcare, where interpretability and formal statistical guarantees are essential.
Challenge. Statistical inference for the slope function in the functional linear model becomes considerably more difficult under the streaming data setting, where observations arrive sequentially and storage or recomputation of the full dataset is infeasible. The key challenges are twofold:
  • Traditional inference procedures typically rely on storing the entire dataset, which is not feasible in streaming environments. More specifically, the asymptotic expansion used in the proof of Theorem 1 centers the averaged randomly perturbed functional SGD estimator at β 0 ( t 0 ) + Bias { β 0 ( t 0 ) } rather than exactly at β 0 ( t 0 ) , consistent with the functional SGD inference theory in Xie et al. [7]. Unless this bias term is asymptotically negligible or explicitly accounted for, it can miscenter the test statistic and distort its sampling distribution, thereby compromising the validity of standard hypothesis-testing procedures. As a result, both estimation and inference require algorithms that are not only memory-efficient but also statistically robust to bias introduced by online learning dynamics.
  • Beyond validity, high statistical power is crucial, particularly in domains where the system exhibits sensitivity to small changes over space or time. For example, climate systems often display chaotic behavior, where small perturbations at specific time points can propagate into large-scale effects. In such settings, standard test statistics based on asymptotic normality may lack sufficient power to detect subtle but important signals. This calls for the development of more sensitive and adaptive testing procedures that go beyond conventional distributional assumptions.
Contributions. We propose a novel inferential framework for functional linear models under streaming data settings by constructing an asymptotically unbiased estimator via functional stochastic gradient descent under the sufficient mean-bias conditions in Proposition 1. Our contributions are as follows:
  • To our knowledge, this is the first work to focus on a one-sided hypothesis test for the effect of the predictor’s value at a fixed t 0 on the response variable in the functional linear model under online data streams. By leveraging a bandit-based mechanism, our approach updates slope function estimates recursively, eliminating the need to store historical data and ensuring computational scalability.
  • To enhance statistical power, we generate multiple candidate estimators in parallel from a single data stream. Inspired by bandit strategies, we adaptively combine these estimators to construct a test statistic for detecting one-sided deviations from the null hypothesis.
  • We establish the asymptotic distribution of the proposed test statistic under both the null and alternative hypotheses, offering a sound theoretical basis for valid and powerful statistical inference in streaming environments.
  • We illustrate the practical utility of our proposed method through an application to the Beijing Multi-Site Air-Quality (BMSAQ) dataset, demonstrating its effectiveness in analyzing real-world streaming functional data.
The remainder of the paper is organized as follows. Section 2 reviews related work. Section 3 formulates the testing problem. Section 4 presents the proposed methodology and online update algorithm. Section 5 establishes the theoretical results. Section 6 reports the simulation studies. Section 7 presents the real-data application. Section 8 concludes the paper.

2. Related Work

2.1. Estimation of Slope Function

The estimation of the slope function in the functional linear model has been studied extensively over the past decades. These methods can be roughly classified into two categories: the PCA approach and the reproducing kernel Hilbert space (RKHS) approach. Ref. [8] discussed optimal convergence rates of the PCA-based estimators and which PCA-based estimators attain those rates. They also explored a Tikhonov-regularization-based approach to estimate the slope function, and they proved that this approach can also achieve optimal convergence rates and that it is robust against potential problems caused by tied, or closely spaced, eigenvalues in the spectral decomposition on which PCA is based. Ref. [9] proposed an estimator based on spectral analysis of the empirical second moment operator of X and proved that the estimator converges almost surely. Ref. [4] discussed the generalized functional linear model. Ref. [10] extended the functional regression approach to longitudinal data using a conditioning idea and constructed asymptotic pointwise confidence bands for predicted response trajectories. Ref. [2] discussed estimating β 0 ( · ) through the PCA technique. Ref. [3] investigated the relationship between the eigen structures of the covariance operator for X ( · ) and the reproducing kernel of the RKHS H and the rates of convergence of the smoothness regularized estimators. Ref. [11] discussed minimax and adaptive prediction with functional predictors in the framework of functional linear model and RKHS, and it indicated that the optimal rate is determined jointly by the reproducing kernel and the covariance kernel. Ref. [12] proposed a roughness-regularization approach for nonparametric inference for generalized functional linear models and constructed asymptotically valid confidence intervals for regression mean, prediction intervals for response, and statistical procedures for hypothesis testing. Ref. [7] proposed functional stochastic gradient descent (fSGD), an online algorithm to estimate β 0 ( · ) , and established the asymptotic distribution of the estimator.

2.2. Hypothesis Testing of the Slope Function

Some literature also discussed hypothesis-testing problems for the functional linear model. Ref. [5] introduced two test statistics based on the norm of the empirical cross-covariance operator of ( X , Y ) to test the null hypothesis of no effect. Ref. [6] discussed the relationship between the power of the Wald-type test and the thresholds in selecting the number of PCs for the functional covariates and proposed a new method of ordering and selecting principal components to construct a test statistic. Ref. [13] established a procedure for testing a general hypothesis on an arbitrary subset of regression coefficient functions.
The testing target determines how these approaches can be compared. Cardot et al. [5] and Su et al. [6] test global functional effects, whereas BPI targets a one-sided contrast at a specified point. Table 1 separates these targets and summarizes the theoretical statements and computational requirements. Section 6.4 therefore presents pointwise adaptations and global procedures separately, with their implementation details in Appendix C.1.
Table 1. Comparison of BPI and functional principal-component tests. Computational costs are operation counts for the stated finite-dimensional implementations.

3. Problem Formulation

Let X be a square-integrable stochastic process defined on a compact set T ⊂ R , Y a real random variable, β 0 ( · ) the unknown slope function, and  ε a random error with zero mean and finite variance σ 0 2 . Without loss of generality, we assume that β 0 ( · ) resides in a RKHS H with reproducing kernel K, T = 0 , 1 , E [ X ( t ) ] = 0 , ∀ t ∈ T and E [ Y ] = 0 . The functional linear model can be formulated as follows:
Y = ∫ T X ( t ) β 0 ( t ) d t + ε .
As discussed earlier, our concern lies in determining whether the value of X at a specific location, for example, t 0 , exerts an influence on Y stronger than a threshold d 0 with streaming or large scale i.i.d. observations ( X i , Y i ) . Since the impact of X ( t 0 ) on Y is depicted by the slope function β 0 ( t 0 ) , our objective can be formalized as follows: given t 0 , let ( X i , Y i ) be a sequential stream of i.i.d. observations of ( X , Y ) (which satisfies (1)). We seek to test the following pair of hypotheses:
H 0 : β 0 ( t 0 ) ≥ d 0 ; H 1 : β 0 ( t 0 ) < d 0 .

Regularity Conditions and Asymptotic Indices

For the mean and second-moment results below, assume i.i.d. observations, E ( ε ∣ X ) = 0 , a separable RKHS H , and a strongly measurable feature η = ∫ T X ( t ) K ( · , t ) d t . Write A = E ( η ⊗ η ) . The mean calculation requires
E ∥ η ∥ H 2 < ∞ , E ( | ε | ∥ η ∥ H ) < ∞ .
For the fixed-n second-moment identities, additionally require E ω 2 < ∞ , E ∥ η ∥ H 4 < ∞ and E ( ε 2 ∥ η ∥ H 2 ) < ∞ . The nonnegative weights are independent across observations and replicas and independent of the data, with  E ω = 1 and Var ( ω ) = 1 . With bounded inclusion ι : H → L 2 , η = ι * X ; thus, E ∥ X ∥ L 2 4 < ∞ and E ( ε 2 ∥ X ∥ L 2 2 ) < ∞ are sufficient covariate/error conditions for these second moments.
The relevant operator is A = ι * C ι , where C is the covariance operator of X. Its nonzero spectrum is that of K 1 / 2 C K 1 / 2 under the RKHS identification, not that of the kernel integral operator K alone. One admissible spectral example is λ ℓ ( A ) ≍ ℓ − a , a > 1 . Kernel and covariance exponents add only under a common eigenbasis (in particular, commuting compact positive operators). Proposition 1 uses K ( t 0 , t 0 ) < ∞ , β 0 = A r g with g ∈ H and 0 < r ≤ 1 , and  0 < γ n ∥ A ∥ ≤ 1 . The spectral bound applies under these source and step-size conditions without specifying an eigenvalue exponent.
Here, γ n is constant during a run of planned length n; γ n = c n − ζ , 0 ≤ ζ < 1 , varies across horizons. This differs from a step that decays with the iteration index. The index n counts observations, whereas J counts independent multiplier sequences on the same observations. Every replica has n updates and reward W j , n = n − 1 ∑ i = 1 n β ^ j , i * ( t 0 ) . Section 5.4 gives the conditional moments of the shared-data reward average and sufficient conditions for vanishing reference-centering displacement along J = J n .

4. Methodology

Overview of our proposed method. In this part, we provide an overview of our proposed method. Our proposed method can be roughly divided into two parts:
  • Utilizing abundant observations of ( X , Y ) , for example, n observations ( X i , Y i ) i = 1 n , to minimize the mean square error with random perturbed functional SGD technique to produce β ¯ j , n * j = 1 J , which is a set of averaged randomly perturbed SGD estimators of β 0 ( · ) .
  • Combining these estimators sequentially through a two-armed bandit (TAB) process to construct a test statistic for one-sided inference. At step j, we pull the left arm to gain reward β ¯ j , n * when our test statistic from the previous step j − 1 is negative and vice versa when our test statistic from the previous step j − 1 is nonnegative, and combine the reward and our test statistic from the previous step to update our test statistic.

4.1. Estimating the Slope Function

We now introduce an estimator for β 0 ( · ) . As described earlier, assume we have ( X i , Y i ) as i.i.d. observations drawn from ( X , Y ) satisfying (1). We take the minimizer of the following loss function as our estimator of β 0 ( · ) :
ℓ n ( β ) : = 1 n ∑ i = 1 n Y i − ∫ 0 1 X i ( t ) β ( t ) d t 2 .
Minimizing (3) in streaming-data or large-scale settings turns out to be challenging, as it is infeasible to store the whole dataset in memory, and when new data arrives, the estimator is recalculated with the observed dataset, leading to computational and memory inefficiencies. Functional stochastic gradient descent algorithm [7] provides a novel approach for updating the estimator recursively. Let K be a reproducing kernel of H , and  η i ( · ) = ∫ 0 1 X i ( t ) K ( · , t ) d t . Since β 0 ( t ) = β 0 ( · ) , K ( t , · ) H , ℓ n ( β ) can be rewritten as follows:
ℓ n ( β ) = 1 n ∑ i = 1 n ( Y i − η i , β H ) 2 .
Because K is a reproducing kernel of H , η i ( · ) resides in the RKHS H , which guarantees the validity of the inner product operation between η i and β .
To compute the functional SGD estimator, we first define and calculate the functional gradient. Let H [ f ] denote a functional on H . Its gradient at f, denoted by ∇ H [ f ] , is the function in H satisfying
H [ f + ϵ g ] = H [ f ] + ϵ ∇ H [ f ] , g + O ( ϵ 2 )
where ϵ is a real number, f and g are functions in H . Let H [ β 0 ] = ( Y i − η i , β 0 ) 2 , we have
H [ β 0 + ϵ g ] − H [ β 0 ] = − 2 ( Y i − η i , β 0 ) η i , g · ϵ + O ( ϵ 2 ) ,
and by definition (4), ∇ H [ β 0 ] = − 2 ( Y i − η i , β 0 ) η i . With a positive constant step size γ , the estimator can be updated in a recursive manner as follows:
β ^ i = β ^ i − 1 + γ Y i − η i , β ^ i − 1 H η i ,
The above method allows us to construct an estimator online with minimal computational cost. However, it still fails to fully exploit the information in observations. To circumvent these problems and obtain higher power, we adopt a bootstrap technique. Specifically, let ω be a nonnegative random variable with mean one and variance one, and  ω i i = 1 n be its i.i.d. copies. For instance, we may let ω ∼ Exp ( 1 ) here. When ( X i , Y i ) arrives, we resample ω i i = 1 n J times and get ω j , i j = 1 J . For every j ∈ 1 , 2 , … , J , the randomly perturbed SGD estimators are updated as follows:
β ^ j , i * = β ^ j , i − 1 * + γ ω j , i Y i − η i , β ^ j , i − 1 * H η i ,
Finally, to speed up the convergence, we apply Polyak–Ruppert averaging [14,15], and use the averaged estimators defined below to construct our test statistic.
Definition 1
(Averaged Random Perturbed Estimators). The averaged jth randomly perturbed estimator of β 0 ( · ) after receiving observation ( X n , Y n ) is defined as
β ¯ j , n * = 1 n ∑ k = 1 n β ^ j , k * .

Assumptions for the Mean Calculation

For the expectation analysis in Proposition 1, let H be separable and let η i = ∫ T X i ( t ) K ( · , t ) d t exist as a strongly measurable H -valued integral. The data pairs are i.i.d., Y i = ⟨ η i , β 0 ⟩ H + ε i , E ( ε i ∣ X i ) = 0 , and 
E ∥ η i ∥ H 2 < ∞ , E | ε i | ∥ η i ∥ H < ∞ .
All recursions start at zero. The nonnegative weights ω j , i are independent over i and j, independent of the entire data stream, and they satisfy E ω j , i = 1 . Their unit variance, as specified above, is not needed for the mean calculation. For each planned horizon n, write the step size as γ n > 0 ; it is constant throughout that run. Define the bounded positive operator
A = E ( η ⊗ η ) , ( η ⊗ η ) f = ⟨ η , f ⟩ H η .
These conditions provide the first-moment setting for the mean-bias analysis of the averaged estimator in Definition 1.

4.2. Test Statistic Construction

We propose a novel approach to construct an adaptive test statistic using a two-armed bandit framework. The arm choices use the accumulated statistic to combine successive perturbed rewards in an online setting. Define the rewards associated with pulling the left and right arms at step j as
W j L = β ¯ j , n * ( t 0 ) , W j R = − β ¯ j , n * ( t 0 ) ,
where W j L and W j R denote the reward one receives when pulling the left and right arm of the bandit, respectively. At each step j, the decision ϑ j ∈ { 1 , 2 } corresponds to pulling the left or right arm, yielding the reward
Z j θ = W j L , i f ϑ j = 1 ; W j R , i f ϑ j = 2 .
At step J, θ = ϑ 1 , ϑ 2 , … , ϑ J denotes the sequence of arm pulls. Then the test statistic Q J ( θ ) is defined as follows to combine the rewards received in J steps:
Q J ( θ ) = 1 J ∑ j = 1 J Z j θ + 1 J ∑ j = 1 J Z j θ − μ j θ σ ^ J ,
where
μ j θ = d 0 I ( ϑ j = 1 ) − d 0 I ( ϑ j = 2 ) , M ¯ = ∑ k = 1 j β ¯ k , n * j , σ ^ j 2 = var ^ ( W j L ) = var ^ ( W j R ) = ∑ k = 1 j ( β ¯ k , n * − M ¯ ) 2 j − 1 .
Here, n is the number of observed data pairs, whereas j indexes the perturbed recursions and their sequential use as bandit rewards. All J recursions use the same n observations. The rewards and their empirical moments are scalar quantities evaluated at the fixed target t 0 ; in the displayed mean and variance, β ¯ k , n * abbreviates β ¯ k , n * ( t 0 ) . In particular, writing W j = β ¯ j , n * ( t 0 ) and s j θ = I ( ϑ j = 1 ) − I ( ϑ j = 2 ) gives
Z j θ = s j θ W j , μ j θ = s j θ d 0 , Z j θ − μ j θ = s j θ ( W j − d 0 ) .
Thus, μ j θ is the signed null-boundary value used to center the reward; its sign is determined by the selected arm. The prefix mean is M ¯ j = j − 1 ∑ k = 1 j W k , and  σ ^ j 2 = ( j − 1 ) − 1 ∑ k = 1 j ( W k − M ¯ j ) 2 for j ≥ 2 . The same variance applies to the negated rewards because a sign change preserves variance.
Intuitively, pulling the left arm corresponds to collecting the raw estimator, while pulling the right arm corresponds to collecting its negation. The sequence θ determines the adaptive allocation of pulls, aiming to maximize test power. Define an optimal policy θ j − 1 * = ϑ 1 * , ϑ 2 * , … , ϑ j − 1 * , where
ϑ j * = 1 , i f Q j − 1 ( θ j − 1 * ) ≤ 0 ; 2 , i f Q j − 1 ( θ j − 1 * ) > 0 .
The shape of the reference distribution is described in Section 5.1, and the rejection probabilities of the resulting test are examined in Section 6.

4.3. Online Update

We now seek to construct and update the test statistic online. Let S j , 1 = ∑ k = 1 j β ¯ k , n * ( t 0 ) , S j , 2 = ∑ k = 1 j ( β ¯ k , n * ( t 0 ) ) 2 , since both S j , 1 and S j , 2 can be updated online, var ( W j L ) = var ( W j R ) can be estimated online by computing σ ^ j 2 = S j , 2 − S j , 1 2 / j j − 1 , j ≥ 2 . Next, we define
R j , 1 ( θ j ) = ∑ k = 1 j Z k θ , R j , 2 ( θ ) = ∑ k = 1 j ( Z k θ − μ k θ ) .
Since R j , 1 ( θ j * ) and R j , 2 ( θ j * ) can be updated online, Q j ( θ * ) can be updated online by the following:
Q j ( θ * ) = 1 j R j , 1 ( θ j * ) + 1 j σ ^ j R j , 2 ( θ j * ) .
The cumulative sums therefore satisfy
R j , 1 ( θ j ) = ∑ k = 1 j s k θ W k , R j , 2 ( θ j ) = R j , 1 ( θ j ) − d 0 ∑ k = 1 j s k θ .
The first component of Q j averages signed rewards, and the second accumulates their standardized deviations from the null boundary. Each new reward changes these two sums by s j θ W j and s j θ ( W j − d 0 ) , respectively. The policy uses the preceding prefix statistic Q j − 1 ( θ j − 1 * ) to choose the arm at step j.
After combining all estimators β ¯ j , n * ( t 0 ) j = 1 J , we obtain our final test statistic Q J ( θ * ) . The whole process of the online update of Q J ( θ * ) is summarized in pseudocode in Algorithm 1.

4.4. Practical Tuning and Target Specification

The step scale is selected on a pilot segment and held fixed during analysis. In the BMSAQ study of shared-data iterate-averaged BPI, the first 365 complete days form the pilot: the first 237 train the predictor and the remaining 128 assess mean squared prediction error on the pilot-standardized response. The grid is J ∈ { 25 , 50 , 100 , 150 } and step prefactor c ∈ { 0.05 , 0.1 , 0.2 } , with decay exponent 0.2 . Averaging prediction loss over five perturbation draws gives the unique minimum 0.71317 at ( J , c ) = ( 25 , 0.2 ) ; the simulation-selected reference ( 100 , 0.1 ) has loss 1.11101 . Both settings are fixed before examining the analysis outcomes and are evaluated on the same analysis segment. Prediction loss assesses fitting performance. Proposition 1 gives sufficient conditions for vanishing mean bias with a step size γ n held constant throughout a run of planned length n.
Algorithm 1 Hypothesis testing
  • Input: Observations ( X i , Y i ) ; Hyperparameter t 0 , d 0 ; Steps of Bandit process J; Step size γ
  • Initialize β j , 0 * ^ = 0 , Q 0 = 0 , S 0 , 1 = 0 , S 0 , 2 = 0 , R 0 , 1 = 0 , R 0 , 2 = 0 , σ ^ = 0 , Z θ * = 0 , μ θ * = 0
  • while Receiving new data ( X i , Y i )  do
  • Calculate η i = ∫ T X i ( t ) K ( · , t ) d t
  • for  j = 1  to J do
  • Generate ω j , i satisfying E [ ω j , i ] = Var [ ω j , i ] = 1
  • Update β ^ j , i * = β ^ j , i − 1 * + γ ω j , i ( Y i − η i , β ^ j , i − 1 * H ) η i
  • Update averaged estimator β ¯ j , i * = ( ( i − 1 ) β ¯ j , i − 1 * + β ^ j , i * ) / i
  • end for
  • end while
  • for  j = 1  to J do
  • Update S j , 1 = S j − 1 , 1 + β ¯ j , n * ( t 0 ) , S j , 2 = S j − 1 , 2 + ( β ¯ j , n * ( t 0 ) ) 2
  • Update σ ^ = ( S j , 2 − S j , 1 2 / j ) / ( j − 1 )
  • if  Q j − 1 ( θ j − 1 * ) ≤ 0  then
  • Update ϑ j * = 1 , θ j * = ϑ 1 * , ϑ 2 * , … , ϑ j − 1 * , ϑ j *
  • Update R j , 1 ( θ j * ) = R j − 1 , 1 ( θ j * ) + β ¯ j , n * ( t 0 ) , R j , 2 ( θ j * ) = R j − 1 , 2 ( θ j * ) + β ¯ j , n * ( t 0 ) − d 0
  • else
  • Update ϑ j * = 2 , θ j * = ϑ 1 * , ϑ 2 * , … , ϑ j − 1 * , ϑ j *
  • Update R j , 1 ( θ j * ) = R j − 1 , 1 ( θ j * ) − β ¯ j , n * ( t 0 ) , R j , 2 ( θ j * ) = R j − 1 , 2 ( θ j * ) − β ¯ j , n * ( t 0 ) + d 0
  • end if
  • Update Q j ( θ j * ) = R j , 1 ( θ j * ) / j + R j , 2 ( θ j * ) / ( j σ ^ )
  • end for
  • return  Q J ( θ J * )
For inferential tuning, Section 6.5 describes the separate null/alternative screening that fixes J = 100 before independent validation. Increasing J reduces conditional multiplier averaging error but leaves shared-data variation; with p prepared features, BPI costs O ( n J p + J ) time and O ( J p ) storage. Specify t 0 and d 0 on the scientific time and coefficient scales before testing. For hourly BMSAQ curves, t = h / 23 , h = 0 , … , 23 , so t 0 = 0.5 corresponds to 11:30 by interpolation. The threshold applies to the slope after pilot standardization and spline/Gram transformation: H 0 : β 0 ( t 0 ) ≥ d 0 versus β 0 ( t 0 ) < d 0 . The multiple targets and thresholds in Section Tuning Sensitivity and Calendar Dependence are used for exploratory pointwise inference.

5. Theoretical Results

5.1. Asymptotic Distribution

Before introducing the asymptotic distribution of Q J ( θ * ) , we first introduce a family of distributions that characterizes its limiting behavior. This distribution family was initially studied in [16] as a probability model.
Definition 2.
We define the density function of the limiting distribution family, i.e.,
f κ ( y ) = 1 2 π e − ( | y | − κ ) 2 2 − κ e 2 κ | y | Φ ( − | y | − κ ) ,
where Φ denotes the distribution function of the standard normal distribution. We denote this distribution family by B ( κ ) with parameter κ ∈ R .
The quantity d 0 ∈ R is the prespecified threshold in Equation (2), on the same scale as the coefficient β 0 ( t 0 ) . The point t 0 ∈ T specifies where the coefficient is evaluated, while d 0 specifies the value against which that coefficient is tested. Both are held fixed in each testing problem.
The asymptotic distribution of Q J ( θ * ) when J → ∞ is given by the following theorem:
Theorem 1.
Suppose that φ ∈ C ( R ¯ ) , a set of all continuous functions on R with finite limits at ± ∞ , is an even function and monotone on ( 0 , ∞ ) .
1.
For any fixed d 0 , we have
lim J → ∞ E φ ( Q J ( θ * ) ) − E φ ( σ d 0 η J ) = 0 ,
where η J ∼ B ( κ J ) , θ 0 = β 0 ( t 0 ) + Bias ( β 0 ( t 0 ) ) , σ 2 = Var ( W j L ) = Var ( W j R ) , κ J = [ J ( d 0 − θ 0 ) / σ ] − θ 0 and σ d 0 = 1 + ( θ 0 − d 0 ) 2 / σ 2 .
2.
For y ≥ 0 , we have
lim J → ∞ Pr | Q J ( θ * | ) ≤ y = lim J → ∞ Φ y σ d 0 − κ J − e 2 y κ J σ d 0 Φ − y σ d 0 − κ J
where Φ denotes the distribution function of the standard normal distribution. For y < 0 , the absolute-value probability is zero. The CDF formula follows from Definition 2, as shown in Appendix A.2.
The reference family B ( κ ) in Definition 2, depicted in Figure 1a, has the following properties:
Figure 1. (a): Theoretical limit distribution of B ( κ ) under different κ ; (b): Empirical density function of β ¯ j , n * j = 1 J (blue line) and reference density of β ¯ j , n * j = 1 J (brown line); (c): Empirical density function of Q J ( θ * ) (blue line) and reference density of Q J ( θ * ) (brown line).
  • For κ ≤ 0 , the density has a central peak and becomes more concentrated as κ decreases.
  • For κ > 0 , the density has two symmetric modes.
  • For κ = 0 , B ( 0 ) is the standard normal distribution.
These distributional properties motivate the power comparisons with Student’s t-test in Section 6.2.

5.2. Rejection Region

The critical value is defined by Pr ( | Y | < z α / 2 ) = 1 − α , where Y ∼ B ( − d 0 ) . Invoking Theorem 1, we have
Φ ( z α / 2 + d 0 ) − e − 2 d 0 z α / 2 Φ ( − z α / 2 + d 0 ) = 1 − α ,
thus the rejection region is ( − ∞ , − z α / 2 ) ∪ ( z α / 2 , + ∞ ) .

5.3. Mean Bias and Sensitivity to Residual Centering

The exact unconditional mean bias of the averaged perturbed estimator in Definition 1 is
b n , γ n ( t 0 ) = E { β ¯ j , n * ( t 0 ) } − β 0 ( t 0 ) .
The bias is common to all replicas. Independent mean-one multipliers yield the same unconditional mean as the unperturbed averaged recursion. Proposition 1 characterizes this finite-sample bias directly. Its relation to the asymptotic centering term Bias { β 0 ( t 0 ) } in Theorem 1 is governed by the expected remainder of the corresponding stochastic expansion.
Proposition 1
(Mean bias of the averaged perturbed estimator). Under the assumptions in Section 4.1, for 1 ≤ k ≤ n ,
E ( β ^ j , k * − β 0 ) = ( I − γ n A ) k ( − β 0 ) ,
b n , γ n ( t 0 ) = − 1 n ∑ k = 1 n ( I − γ n A ) k β 0 ( t 0 ) .
If K ( t 0 , t 0 ) < ∞ , 0 < γ n ∥ A ∥ ≤ 1 , and β 0 = A r g for g ∈ H and 0 < r ≤ 1 , then
| b n , γ n ( t 0 ) | ≤ K ( t 0 , t 0 ) ∥ g ∥ H ( n γ n ) − r .
The proof is in Appendix A.1. The source condition excludes a component of β 0 in ker A , which the data cannot identify through this recursion. The choice γ n = c n − ζ , with c > 0 , c ∥ A ∥ ≤ 1 and 0 ≤ ζ < 1 , makes the bound vanish; fixed step size is included by ζ = 0 . This schedule is sufficient for vanishing mean bias, with γ n held constant during each run of the planned length n.

5.3.1. The Relevant Spectrum

Let K f ( s ) = ∫ T K ( s , t ) f ( t ) d t denote the kernel integral operator and C f = E [ ⟨ X , f ⟩ L 2 X ] the covariance operator. If E ∥ X ∥ L 2 2 < ∞ and the inclusion ι : H → L 2 is bounded, then η = ι * X and A = ι * C ι . Under the usual RKHS identification with the support of K = ι ι * , its nonzero spectrum is that of K 1 / 2 C K 1 / 2 . An explicit example is λ ℓ ( A ) ≍ ℓ − a , a > 1 , together with the source and point-evaluation conditions of the proposition. If K and C have a common orthonormal eigenfunction system and their eigenvalues have exponents a K and a C , then a = a K + a C . Pointwise bias and variance also depend on the evaluation functional and the noise structure.

5.3.2. Residual Bias on the Testing Scale

The proposition characterizes the expectation of the averaged recursion. The reference-family calculation below quantifies sensitivity to a residual shift of its center. Specifically, consider the family of scaled distributions a b Y κ b , where Y κ b ∼ B ( κ b ) , with a fixed positive reward standard deviation s n and
θ b = β 0 ( t 0 ) + b , κ b = J ( d 0 − θ b ) s n − θ b ,
a b = 1 + ( θ b − d 0 ) 2 / s n 2 .
At fixed s n , direct subtraction gives
κ b − κ 0 = − J s n + 1 b .
Thus b → 0 and J b / s n → 0 are distinct requirements. Together they remove this drift displacement; the second also gives | b | / s n → 0 for J ≥ 1 and hence | a b − a 0 | → 0 . For example, the bias bound makes the displacement vanish if ( n γ n ) − r → 0 and J ( n γ n ) − r / s n → 0 . The first-moment conditions (5) do not imply finite variance. Sufficient additional conditions for finite second moments at each fixed n are E ω 2 < ∞ , E ∥ η ∥ H 4 < ∞ and E ( ε 2 ∥ η ∥ H 2 ) < ∞ ; they do not provide a uniform variance bound or rate. Conditional on the common observations, independent multiplier sequences yield independent perturbed estimates. Their joint sampling distribution also incorporates the randomness of those shared observations.

5.3.3. Reference-Family Rejection Function

For y ≥ 0 , integrating the density in Definition 2 gives
G κ ( y ) = Pr ( | Y κ | ≤ y ) = Φ ( y − κ ) − e 2 κ y Φ ( − y − κ ) ,
and G κ ( y ) = 0 for y < 0 . Appendix A.2 verifies G κ ( 0 ) = 0 , G κ ( ∞ ) = 1 , and G κ ′ ( y ) = 2 f κ ( y ) . Let c α solve G − d 0 ( c α ) = 1 − α , as in Section 5.2. The reference-family rejection function is
R ref ( b ) = 1 − G κ b ( c α / a b ) .
At the unbiased boundary β 0 ( t 0 ) = d 0 and b = 0 , κ 0 = − d 0 , a 0 = 1 , and R ref ( 0 ) = α . Equation (15) quantifies the change in the reference tail probability under a residual shift, including under specified alternatives. Table 2 provides a deterministic numerical illustration of the reference calculation. Equations (11)–(15) describe centering sensitivity within the reference family, while Section 6.3 examines the corresponding finite-sample rejection behavior of BPI.
Table 2. Reference rejection probability for J = 100 , s n = 0.5 , d 0 = 0.2 , α = 0.05 , and b = h s n / J .

5.3.4. Effect of Common Centering

For a common centering term c, define V j = β ¯ j , n * ( t 0 ) − c and construct the two arms as ± V j . Common translation preserves the sample variance at each prefix but changes the signed sums and may alter the adaptive arm choices. The TAB policy and statistic are therefore recomputed from the centered rewards. If c estimates the mean bias, its centering error is assessed on the scale in Equation (13). Equation (9) characterizes the population mean bias, and Section 6.3 examines the effect of controlled translations of the BPI rewards.

5.4. Shared-Data Moments and the Perturbation Count

Let D n = σ { ( X i , Y i ) : i ≤ n } , and use deterministic initialization and fixed settings. Conditional on D n , the rewards W j , n are i.i.d. over multiplier sequences. Under the conditions in Section 3, define
m n ( D n ) = E ω ( W j , n ∣ D n ) = β ¯ n ( t 0 ) , τ n 2 ( D n ) = Var ω ( W j , n ∣ D n ) ,
where β ¯ n is the unperturbed iterate average. Total covariance and variance give, for j ≠ k ,
Cov ( W j , n , W k , n ) = Var ( m n ) ,
Var J − 1 ∑ j = 1 J W j , n = Var ( m n ) + J − 1 E τ n 2 ,
E J − 1 ∑ j = 1 J W j , n − m n 2 = J − 1 E τ n 2 ⟶ 0 ( J → ∞ , n fixed ) .
Thus increasing J averages out multiplier variation around the random data-dependent center, without removing its sampling variance. The conditioning information also includes any pilot settings fixed independently of the analysis multipliers. Appendix D.1 proves these identities.
For a joint sequence J n ≥ 1 and positive reference scale s n , consider the exact unconditional mean bias b = b n , γ n ( t 0 ) . Under the initialization, source and step-size conditions of Proposition 1, Equation (13) gives
| κ b − κ 0 | ≤ C t 0 1 + J n s n ( n γ n ) − r , C t 0 = K ( t 0 , t 0 ) ∥ g ∥ H .
Sufficient conditions for this displacement to vanish are n γ n → ∞ and J n ( n γ n ) − r / s n → 0 , equivalently J n = o { s n 2 ( n γ n ) 2 r } for the second condition. These conditions ensure vanishing displacement of the reference center. Appendix A gives the relation between the exact mean bias and the asymptotic centering term.

6. Simulation Studies

In this section, we examine the finite-sample distribution and testing performance of the proposed statistic. Our interest lies primarily in the following questions:
  • How well a normal distribution approximates the averaged perturbed rewards in the simulated designs.
  • How closely the distribution of Q J ( θ * ) follows its reference distribution.
  • How the rejection probabilities compare with those of Student’s t-test under the specified null and alternative settings.
Let ϕ i i = 1 13 be a B-spline basis on 0 , 1 . The functional covariate X ( · ) is generated by letting X = ∑ i = 1 13 U i ϕ i , where U i are independently sampled from U ( 0 , 5 ) . Y is generated by letting Y = ∫ T X ( t ) β 0 ( t ) d t + ε . ε ∼ N ( 0 , 1 ) . The β 0 ( · ) in the experiments in Section 6.1 and Section 6.2 are all randomly generated by letting β 0 = ∑ i = 1 13 V i ϕ i , where V i are independently sampled from U ( 0 , 1 ) .

6.1. Empirical Density Comparisons

In this part, we compare the empirical densities of β ¯ j , n * j = 1 J and Q J ( θ * ) with their reference curves. Since the limit distribution of β ¯ j , n * j = 1 J and Q J ( θ * ) varies as U i i = 1 13 varies, we take V i i = 1 13 = 0.03 , 0.64 , 0.18 , 0.88 , 0.90 , 0.59 , 0.74 , 0.46 , 0.39 , 0.81 , 0.51 , 0.76 , 0.89 as an example for these density comparisons. The experiment was conducted with step _ size = 0.1 , num _ of _ steps = 100 , and the figures were drawn with data collected from 1000 replications of the experiment to show the empirical density function of β ¯ j , n * j = 1 J and Q J ( θ * ) . When conducting these experiments, outliers of β ¯ j , n * j = 1 J were removed before plotting.
Results Analysis. Figure 1b,c display the empirical reward and TAB-statistic densities alongside their reference curves. The reward density shows a centering discrepancy, and the empirical TAB-statistic density has a flatter central peak. Section 5.3 quantifies the effect of residual centering within the reference family, and Section 6.3 examines sensitivity across the specified simulation settings.
Formal distributional checks for shared-data iterate-averaged BPI are reported in the distributional-diagnostics subsection of Section 6.3, with the fitted-normal bootstrap and fixed-reference KS procedures specified in Appendix B.1.

6.2. The Power of the Proposed Test Statistic

In this part, we inspect the power of the proposed test statistic compared with the conventional Student’s t-test statistic. To better show the power of our proposed test statistic, we consider two examples of β 0 ( · ) :
  • V i i = 1 13 = 0.03 , 0.64 , 0.18 , 0.88 , 0.90 , 0.59 , 0.74 , 0.46 , 0.39 , 0.81 , 0.51 , 0.76 , 0.89
  • V i i = 1 13 = 0.25 , 0.29 , 0.83 , 0.34 , 0.27 , 0.08 , 0.22 , 0.09 , 0.78 , 0.74 , 0.96 , 0.09 , 0.20
The experiment was conducted with step _ size = 0.1 , num _ of _ steps = 100 , and the figures are drawn with data collected from 1000 replications of the experiment.
Results Analysis. Figure 2a,d shows how the test power varies with different d 0 in two cases. These two figures show that the test power rises as d 0 increases. Here, performance is measured by the empirical rejection proportion under the specified alternatives. Section 6.4.1 and Section 6.4.3 compare these proportions alongside boundary-null rejection rates, and Appendix C.3 quantifies paired method differences for the fine pointwise design.
Figure 2. Empirical power comparison between the proposed two-armed bandit (TAB) test and the Student’s t-test under two simulated slope-function settings. Panels (a–c) correspond to Case 1 and show how power changes with d 0 − β 0 ( t 0 ) , σ , and the number J of randomly perturbed estimators, respectively; panels (d–f) show the corresponding results for Case 2. The empirical power curves are based on 1000 simulation replications.
Figure 2b,e shows how the test power varies with different σ 0 (the variance of ε in (1)). These two figures show that under smaller σ , the Student’s t-test and our proposed test show similar performance. As σ increases, the displayed alternative rejection proportions decrease for both statistics, with higher proportions for the TAB test at the larger noise levels in these two examples.
Figure 2c,f shows increasing alternative rejection proportions with J in the displayed settings. The sensitivity study in Section 6.5 examines this behavior together with the corresponding null rejection rates.

6.3. Sensitivity Analyses

The sensitivity analyses use shared-data iterate-averaged BPI, with the averaged perturbed estimators in Definition 1. In each Monte Carlo replication, all J = 100 perturbed recursions process the same sequence of n observations, with independent Exp ( 1 ) multipliers. Each recursion therefore receives n updates. The pointwise rewards are W j = β ¯ j , n * ( t 0 ) , and the TAB statistic is constructed from these rewards as described in Section 4.2.
The simulations use 13 orthonormal cosine functions on [ 0 , 1 ] , t 0 = 0.5 , and sample sizes n ∈ { 100,000 , 500,000 } . Three projected slope functions represent smooth, oscillatory, and localized features, and the baseline covariance eigenvalues are ℓ − 1.5 . Rejection is determined by p < 0.05 , using the B ( − d 0 ) absolute-tail reference. The data-generating mechanisms, spectral transformations, and diagnostic procedures are described in Appendix B.1.

6.3.1. Controlled-Shift Sensitivity

Let W j = β ¯ j , n * ( t 0 ) , and let s W be the sample standard deviation of the J rewards. For h ∈ { − 1 , − 0.5 , 0 , 0.5 , 1 } , define
W j ( h ) = W j + h s W / J .
The complete TAB policy and statistic are recomputed for each set of shifted rewards. The setting h = 0 retains the original reward centering. The gap d 0 − β 0 ( t 0 ) is zero at the boundary null and 0.2 at the specified alternative. The experiment uses independent Gaussian scores and errors, noise standard deviation one, and 500 independent Monte Carlo replications per setting. Table 3 and Figure 3 and Figure 4 report the rejection proportions and their 95% Wilson intervals.
Table 3. Controlled-shift rejection proportions of the BPI test with 95% Wilson intervals.
Figure 3. Controlled-shift sensitivity of the BPI test at n = 100,000 . Panels correspond to the smooth, oscillatory, and localized slope functions. Curves show rejection proportions at the boundary null and the specified alternative. Shifts are measured in units of s W / J , and error bars indicate 95% Wilson intervals based on 500 Monte Carlo replications per setting. The dotted horizontal line marks the nominal significance level of 0.05.
Figure 4. Controlled-shift sensitivity of the BPI test at n = 500,000 . Panels, shifts, gaps, and uncertainty intervals are defined as in Figure 3. The dotted horizontal line marks the nominal significance level of 0.05.
At n = 500,000 and the boundary null, the smooth-shape rejection proportions are 0.300 , 0.164 , 0.074 , 0.034 , and 0.002 as h increases from − 1 to 1. The unshifted localized result is 0.094 . These results quantify the sensitivity of the BPI test to reward centering at the boundary null and the specified alternative.
The mean–variance diagnostics cover all 54 combinations of sample size, shape, noise standard deviation { 0.5 , 1 , 2 } , and error structure (i.i.d., AR(1), or heteroscedastic). Table 4 summarizes each sample-size/error stratum, with all individual rows in Appendix B.2. The reported variance ratio is
Var ^ streams ( W ¯ − β 0 ( t 0 ) ) mean streams ( s W 2 ) / J .
Table 4. Ranges of empirical mean bias and variance ratio for BPI across all three shapes and three noise levels within each stratum.
The variance ratio in Equation (22) compares the across-stream variation of the mean reward with the average within-stream reward variance divided by J. The AR(1) ratios exceed 2.5 , indicating a substantial difference between these two variance summaries.

6.3.2. Spectral Sensitivity

Five profiles change the covariance exponent a C or kernel exponent a K around ( 1.5 , 0 ) : ( 1 , 0 ) , ( 1.5 , 0 ) , ( 2 , 0 ) , ( 1.5 , 0.5 ) , and ( 1.5 , 1 ) . In the 13-dimensional representation, let D K = diag ( ℓ − a K ) and a ℓ = ϕ ℓ ( t 0 ) . The implementation uses z = D K 1 / 2 x , ϑ = D K − 1 / 2 β , and the point contrast D K 1 / 2 a , so ( D K 1 / 2 a ) ⊤ ϑ = a ⊤ β and the target is unchanged. The transformed score covariance is diag ( ℓ − a C − a K ) .
Table 5 reports every boundary-null combination of profile, shape, and sample size, with 200 independent repetitions and 95% Wilson intervals. Figure 5 and Figure 6 display these boundary-null results. Appendix B.3 gives the additional results at gaps − 0.2 , 0.2 and 0.5 . For the localized shape at n = 500,000 , a C = 1.5 and a K ∈ { 0 , 0.5 , 1 } yield boundary-null rejection proportions of 0.080 , 0.335 , and 1.000 , respectively. The latter two profiles exhibit substantial size distortion in the rank-13 representation.
Table 5. Boundary-null rejection proportions of the BPI test under five spectral profiles, with 95% Wilson intervals.
Figure 5. Boundary-null rejection proportions of the BPI test under five spectral profiles at n = 100,000 . Panels correspond to the three slope functions in the rank-13 representation. Error bars indicate 95% Wilson intervals based on 200 Monte Carlo replications per setting. The dashed line marks the nominal level 0.05 .
Figure 6. Boundary-null rejection proportions of the BPI test under five spectral profiles at n = 500,000 . Spectral profiles, panels, and uncertainty intervals are defined as in Figure 5. The dotted horizontal line marks the nominal significance level of 0.05.

6.3.3. Distributional Diagnostics

The diagnostics distinguish fitted-normal BPI rewards, the BPI TAB statistic Q J , and an independent-Gaussian-reward TAB control. Each design uses 500 independent data streams. The fitted-normal reward check takes the same replica index from each stream, fits the mean and standard deviation, and uses 499 parametric bootstrap samples with both parameters refitted in every sample. The BPI Q J and Gaussian-control statistics are compared with the fixed B ( − d 0 ) distribution. The control rewards are independent N ( d 0 , 1 ) variables; its error-structure labels identify the paired designs.
Table 6 summarizes the three sets of 54 tests. A common Holm adjustment across all 162 tests gives 0, 17, and 1 rejections for fitted-normal BPI rewards, BPI Q J , and Gaussian-control statistics, respectively. All 17 adjusted rejections for BPI Q J occur in oscillatory or localized designs at n = 100,000 ; none occurs at n = 500,000 under the same Holm adjustment. Appendix B.1 gives the diagnostic methods. These diagnostics assess the fitted shape of individual rewards, the reference approximation for the BPI statistic, and the reference approximation under ideal Gaussian rewards, respectively.
Table 6. Distributional diagnostics for BPI rewards, the BPI TAB statistic, and an independent-Gaussian-reward TAB control.

6.4. Comparisons with Functional Linear-Model Tests

We examine pointwise and global testing performance on a common functional design with finite rank. The covariates use the 13 orthonormal cosine functions ϕ 1 ( t ) = 1 and ϕ ℓ ( t ) = 2 cos { ( ℓ − 1 ) π t } , with score variances ℓ − 1.5 . The smooth, oscillatory, and localized slopes are the projections of 0.6 + 0.4 cos ( 2 π t ) , 0.6 + 0.5 cos ( 6 π t ) and 0.3 + exp { − 80 ( t − 0.5 ) 2 } , respectively. The primary design crosses n ∈ { 100,000 , 500,000 } , noise standard deviation σ ε ∈ { 0.5 , 1 , 2 } , the three shapes and three error structures. The resulting signal-to-noise ratios ∑ ℓ = 1 13 ℓ − 1.5 β ℓ 2 / σ ε 2 range from 0.0658 to 1.5016 before global signal scaling.
The error structures are independent Gaussian observations, stationary AR(1) dependence with coefficient 0.8 in both each score process and the error process, and conditionally heteroscedastic errors ε i = σ ε ( 0.25 + ξ i 1 2 ) / 1.25 Z i . The AR score and error processes are mutually independent; in the heteroscedastic design Z i is independent standard normal, so the conditional mean is zero and the marginal noise variance is σ ε 2 . The primary pointwise and global studies use 500 independent streams per cell; the fine pointwise and local global studies use 200 separate streams. Methods within a cell receive the same data. Shapes, noise levels, and sample-size checkpoints share random numbers within a repetition and are not pooled as independent repetitions.
All procedures use p < 0.05 . Figures show pointwise 95% Wilson intervals; tables distinguish null rejection from power. The Monte Carlo standard error is { p ^ ( 1 − p ^ ) / M } 1 / 2 for M independent Monte Carlo replications, and is about 0.0097 at p = 0.05 , M = 500 , or 0.0154 at M = 200 . Appendix C specifies the comparison procedures, results across noise levels and paired differences with Monte Carlo uncertainty. The main figures show n = 100,000 and 500,000 at noise SD one for the smooth, oscillatory, and localized shapes, with i.i.d., AR(0.8), and heteroscedastic errors in the primary and local-global studies and i.i.d. errors in the fine pointwise study. Appendix C.2 reports the primary comparisons at noise SD 0.5 , 1 and 2.

6.4.1. Pointwise Comparisons

For t 0 = 0.5 , the hypotheses remain H 0 : β 0 ( t 0 ) ≥ d 0 and H 1 : β 0 ( t 0 ) < d 0 , with gap g = d 0 − β 0 ( t 0 ) ∈ { − 0.2 , 0 , 0.2 , 0.5 } . Thus, g < 0 is an interior null, g = 0 the boundary and g > 0 an alternative. The pointwise studies use shared-data iterate-averaged BPI, with the averaged perturbed estimators in Definition 1. In each Monte Carlo replication, all J = 100 zero-initialized recursions process the same sequence of n observations, with independent Exp ( 1 ) multipliers. Every observation updates all recursions, so each recursion receives n updates. The pointwise rewards are
W j = β ¯ j , n * ( t 0 ) = 1 n ∑ i = 1 n β ^ j , i * ( t 0 ) , j = 1 , … , J .
These rewards enter the TAB policy and statistic described in Algorithm 1.
The same-data competitors are a reward-based one-sided t statistic, a pointwise FPCA contrast using 95% variance explained, a finite-rank RKHS ridge contrast with GCV smoothing, and an AVI-selected contrast fitted after a first-third pilot split. The FPCA and AVI contrasts are pointwise adaptations, rather than the original global tests of Cardot or Su. Offline pointwise variances use the i.i.d., HC2 or Bartlett HAC formula appropriate to the design; projection and smoothing bias are not removed. Appendix C.1 defines the statistics, selection and reference laws.
Figure 7 and Figure 8 show that the method ordering depends on shape, noise, and the null configuration. At n = 500,000 , noise SD one, the BPI boundary rejection rates are 0.074 , 0.070 , and 0.094 under i.i.d. sampling for the smooth, oscillatory, and localized shapes, rising to 0.150 , 0.152 , and 0.142 under AR dependence (Table 7). FPCA is closer to 0.05 for the smooth and oscillatory shapes but rejects the localized i.i.d. boundary in 0.436 of repetitions. The AVI split contrast rejects every localized boundary repetition and no smooth or oscillatory boundary repetition in this stratum. These results expose the effect of testing a point contrast after projection or response-informed selection. Across the primary designs, the BPI boundary rejection rate ranges from 0 to 0.672 , indicating substantial variation in finite-sample calibration. Power comparisons are interpreted alongside the corresponding null rejection rates.
Figure 7. Pointwise comparisons at n = 100,000 and noise SD one, using 500 independent streams per cell. Rows show i.i.d., AR(0.8), and heteroscedastic errors; columns show smooth, oscillatory, and localized slopes. g = d 0 − β 0 ( 0.5 ) ; g ≤ 0 is the null. BPI uses the averaged perturbed estimators in Definition 1; FPCA, RKHS, and AVI split denote pointwise contrasts. Symbols are rejection proportions and bars are pointwise 95% Wilson intervals; the dashed line is 0.05.
Figure 8. Pointwise comparisons at n = 500,000 and noise SD one, using 500 independent streams per cell. Rows show i.i.d., AR(0.8), and heteroscedastic errors; columns show smooth, oscillatory, and localized slopes. g = d 0 − β 0 ( 0.5 ) ; g ≤ 0 is the null. BPI uses the averaged perturbed estimators in Definition 1; FPCA, RKHS and AVI split denote pointwise contrasts. Symbols are rejection proportions and bars are pointwise 95% Wilson intervals; the dashed line is 0.05.
Table 7. Pointwise boundary rejection at n = 500,000 , noise SD one. Entries are rates and 95% Wilson intervals from 500 streams.

6.4.2. Global Comparisons

The global study tests H 0 : β 0 ( · ) = 0 against β 0 ( · ) = a b h ( · ) for a ∈ { 0.5 , 1 } and each projected shape b h . Its competitors are Cardot’s D n with a spectral residual-variance estimate, Su’s AVI/PAVE Wald procedure with 99% pre-fit variance explained and 85% association-variation explained, and a finite-rank RKHS quadratic-norm test with penalty diag ( ℓ 4 ) and smoothing n − 0.7 . The finite-rank RKHS quadratic-norm statistic is calibrated using the fitted Gaussian covariance mixture. Su’s reference calculation repeats PAVE selection for each of the 1999 reference draws; the RKHS reference also uses 1999 draws. These three procedures address the global null H 0 : β 0 ( · ) = 0 , while BPI addresses the pointwise hypothesis in Section 6.4.1.
Figure 9 and Figure 10 display saturated rejection under the fixed nonzero signals. Every primary global alternative cell has 500 rejections out of 500, with Wilson interval [ 0.992 , 1.000 ] , so these alternatives do not distinguish methods. At n = 500,000 and noise SD one, i.i.d. null rates are 0.042 , 0.056 , and 0.032 for Cardot, Su, and RKHS, respectively (Table 8). Their AR rates are 0.986 , 0.988 , and 0.830 ; heteroscedastic rates are 0.098 , 0.112 , and 0.056 . All three retain their i.i.d. working reference in these stress settings. The high null rejection rates under AR dependence indicate the severe size distortion of these i.i.d.-calibrated procedures. Each zero-function result is computed once per sample-size/noise/error cell and shown at the origin of each shape panel.
Figure 9. Global comparisons at n = 100,000 and noise SD one, using 500 independent streams per cell. Rows show i.i.d., AR(0.8), and heteroscedastic errors; columns show smooth, oscillatory, and localized slopes. Slopes are a b h ; signal zero is the global null. The curves correspond to the Cardot, Su and finite-rank RKHS global procedures. Symbols are rejection proportions and bars are pointwise 95% Wilson intervals; the dashed line is 0.05.
Figure 10. Global comparisons at n = 500,000 and noise SD one, using 500 independent streams per cell. Rows show i.i.d., AR(0.8), and heteroscedastic errors; columns show smooth, oscillatory, and localized slopes. Slopes are a b h ; signal zero is the global null. The curves correspond to the Cardot, Su and finite-rank RKHS global procedures. Symbols are rejection proportions and bars are pointwise 95% Wilson intervals; the dashed line is 0.05.
Table 8. Global null rejection at n = 500,000 , noise SD one (500 streams; 95% Wilson intervals).

6.4.3. Pointwise Power near the Null Boundary

The fine pointwise study holds the projected slope fixed and changes d 0 through gaps 0 , 0.01 , 0.02 , 0.05 , 0.1 , 0.2 . It uses i.i.d. errors, noise SD one, both sample sizes, and all shapes, with the same pointwise procedures and 200 independent streams per cell. Figure 11 and Table 9 resolve power differences obscured by the coarser grid.
Figure 11. Pointwise power near the null boundary under i.i.d. sampling and noise SD one. The upper and lower plots use n = 100,000 and 500,000, respectively, with 200 streams per cell. Columns show all three shapes. The slope is fixed and the gap varies through 0 , 0.01 , 0.02 , 0.05 , 0.1 , 0.2 ; gap zero is the null boundary. BPI denotes shared-data iterate-averaged BPI, with all J = 100 perturbed recursions processing the same n observations and rewards given by their iterate averages as in Definition 1. Bars are pointwise 95% Wilson intervals. The dashed horizontal line indicates the nominal significance level of 0.05.
Table 9. Fine pointwise rejection rates at n = 500,000 , i.i.d. errors, and noise SD one (200 streams).
For the smooth shape at n = 500,000 and gap 0.02 , BPI, the reward t, FPCA, and RKHS reject in proportions 0.115 , 0.110 , 0.415 , and 0.585 ; their boundary rates are 0.065 , 0.040 , 0.070 , and 0.035 . The paired BPI-minus-reward-t difference is 0.005 (MCSE 0.0112 ), while the BPI-minus-FPCA and BPI-minus-RKHS differences are − 0.300 (MCSE 0.0395 ) and − 0.470 (MCSE 0.0400 ). These paired comparisons use the same 200 data streams. The corresponding Holm-adjusted exact McNemar p-values are 1.000 , 3.10 × 10 − 10 and 2.06 × 10 − 20 , respectively; the BPI-minus-Reward-t interval is [ − 0.017 , 0.027 ] . Across all 36 fine-grid BPI–Reward-t comparisons, none is significant after the common Holm adjustment over 144 comparisons. Appendix C.3 gives the paired-difference definition and the comparisons for this design. For the localized shape, the boundary rejection rates are 0.470 for FPCA, 0.245 for RKHS, and 1.000 for AVI. Their high positive-gap rejection rates are accompanied by substantial boundary size distortion. BPI power increases with the gap, reaching 0.970 – 0.985 at gap 0.2 across the three shapes at this sample size.

6.4.4. Global Power Under Local Alternatives

To examine nonsaturated global power, the final study uses β 0 , n = c b h / n , with c ∈ { 0 , 2 , 5 , 10 } , noise SD one, both sample sizes, and all three error structures. The shapes retain their original projection coefficients and are not rescaled to unit norm. The signal-to-noise ratio is c 2 ∑ ℓ ℓ − 1.5 b h ℓ 2 / n . Figure 12 and Figure 13 show all error structures; Table 10 gives the null and c = 5 results at n = 500,000 .
Figure 12. Global local alternatives at n = 100,000 and noise SD one, using 200 independent streams per cell. Rows show i.i.d., AR(0.8), and heteroscedastic errors; columns show smooth, oscillatory, and localized slopes. Slopes are c b h / n ; the horizontal axis gives c. The zero-function result is common to the three shapes. Symbols are rejection proportions and bars are pointwise 95% Wilson intervals; the dashed line is 0.05.
Figure 13. Global local alternatives at n = 500,000 and noise SD one, using 200 independent streams per cell. Rows show i.i.d., AR(0.8), and heteroscedastic errors; columns show smooth, oscillatory, and localized slopes. Slopes are c b h / n ; the horizontal axis gives c. The zero-function result is common to the three shapes. Symbols are rejection proportions and bars are pointwise 95% Wilson intervals; the dashed line is 0.05.
Table 10. Global local-study null and c = 5 rejection at n = 500,000 (200 streams; 95% Wilson intervals).
For the smooth i.i.d. shape, Cardot, Su, and RKHS have rejection rates 0.495 , 0.545 , and 0.155 at c = 5 , with corresponding null rates 0.055 , 0.065 , and 0.075 . At c = 10 , their rates reach 0.985 , 0.985 , and 0.835 . The lower intermediate-signal rejection of this finite-rank RKHS implementation is also visible for the other shapes. Under AR dependence, the null rejection rates are 0.980 , 0.985 , and 0.815 , indicating severe size inflation. The corresponding heteroscedastic rates are 0.120 , 0.135 , and 0.070 . Local-alternative rejection rates therefore reflect both signal sensitivity and calibration under the specified error structure.

6.5. Sensitivity to the Perturbation Count

The perturbation count for Section 6.4 is selected using the screening design described in Appendix D.2. The shared-data iterate-averaged BPI uses J ∈ { 25 , 50 , 100 , 150 , 200 , 300 } , n ∈ { 100,000 , 500,000 } , the three slope shapes of Section 6.4, i.i.d. errors of standard deviation one, and step prefactor 0.1 with decay exponent 0.2 . Each cell has 200 independent data-stream replications; different J, shapes, and sample-size prefixes within a replication share random inputs. Threshold offsets are Δ = d 0 − β 0 ( 0.5 ) ∈ { − 0.2 , 0 , 0.2 , 0.5 } . The negative and zero offsets are null settings.
Selection uses only n = 500,000 : minimize failures, then the largest null rejection proportion across the three shapes and Δ ≤ 0 , then mean absolute boundary deviation from 0.05 , then maximize mean rejection at Δ = 0.5 . The selected J = 100 has worst null rate 0.060 (95% Wilson upper limit 0.1019 ) and mean boundary deviation 0.00833 . The worst null rates for J = 25 , 50 , 150 , 200 , 300 are 0.080 , 0.080 , 0.100 , 0.145 , 0.265 , respectively. Thus larger J need not improve null calibration. Figure 14 displays screening sensitivity; the precise tie rule is in Appendix D.2.
Figure 14. Perturbation-count sensitivity of shared-data iterate-averaged BPI at t 0 = 0.5 : boundary and interior nulls and two alternatives, with 200 independent data streams per cell. Curves show rejection proportions at nominal α = 0.05 ; bars are pointwise 95% Wilson intervals. Rows distinguish n = 100,000 and 500,000, and columns the slope shapes. Shared random inputs link settings within a replication. The selection uses only the lower row; the dashed line is 0.05 .
The selected setting is fixed before the independent 500-replication primary study and is retained throughout validation. Table 11 gives the matching i.i.d., unit-noise boundary results. At n = 500,000 , the three rejection proportions are 0.074 , 0.070 , and 0.094 ; at n = 100,000 , they are 0.076 , 0.004 , and 0.336 . At Δ = 0.5 , all six cells reject in 500 / 500 replications (Wilson interval [ 0.9924 , 1 ] ). The high alternative rejection rates occur alongside departures from nominal size at the null boundary. Section 6.4 and Appendix C report results for the other error and noise settings. The variation in the boundary rejection rates indicates that finite-sample calibration depends on both sample size and slope shape.
Table 11. Independent boundary-null validation of the selected J = 100 setting under i.i.d. unit-noise errors. MCSE is p ^ ( 1 − p ^ ) / 500 ; intervals quantify Monte Carlo uncertainty.

7. Applications

In this section, we demonstrate the usefulness of the proposed method using the Beijing Multi-Site Air Quality (BMSAQ) data [17]. The dataset contains hourly observations of air pollutants including PM 2.5 , SO 2 , NO 2 , etc., among which we focus primarily on PM 2.5 for its significant impact on human health. We investigate the functional association between PM 2.5 and other pollutants, and here we choose SO 2 as an example.
In the dataset, the air pollutants are observed hourly, so we take the daily average of PM 2.5 as the scalar response, and we take the hourly observed SO 2 as the discretely observed functional covariate X ( t ) . Since we only have discrete data points, we need to apply smoothing splines to the data to obtain a functional covariate.
The original BMSAQ dataset contains some missing values, and the metrics are different for different pollutants. Thus, preprocessing is necessary for hypothesis testing. Observations containing missing values are removed from the dataset, and the pollutant measurements are standardized. We apply B-spline smoothing to the discrete observations of X ( · ) and scale time axis to [ 0 , 1 ] to get our functional covariate. Then we apply functional SGD to get a set of randomly perturbed SGD estimators β ¯ j , n * j = 1 J , and we construct Q J ( θ * ) .
Figure 15a displays variation among the perturbed fitted slope curves for the observed data. The estimated slope is negative around t = 0.4 and largest around t = 0.6 . These patterns describe the fitted functional association between the standardized response and covariate.
Figure 15. (a) Perturbed fitted slope curves for SO 2 . The colored curves represent different randomly perturbed fitted slope estimates, and the gray dashed horizontal line indicates zero. (b) Original threshold-response curve at t 0 = 0.5 , with the mean perturbed point estimate shown by the red dashed line.
The inferential target is the slope β 0 ( t 0 ) under the left-sided alternative in Equation (2). Figure 15b displays the original threshold-response curve at t 0 = 0.5 ; its red dashed line marks the mean perturbed point estimate. Section Tuning Sensitivity and Calendar Dependence reports conditional rejection fractions with explicit randomization counts and a separate calendar-dependence reference.

Tuning Sensitivity and Calendar Dependence

The sensitivity analysis uses the Aotizhongxin station. Both pollutants are measured in μ g / m 3 before transformation. A day is included only if all 24 distinct hours have finite SO 2 and PM 2.5 measurements; there is no imputation. The 1193 retained days span 1 March 2013–28 February 2017. The first 365 complete days (through 14 April 2014) form the pilot; the remaining n = 828 days (15 April 2014–28 February 2017) form the analysis segment. Both segments retain calendar order, and calendar dependence is examined by the HAC reference below.
Hourly SO 2 curves are centered by pilot hourly means and divided by the pooled pilot residual standard deviation; daily-mean PM 2.5 is centered and scaled using its pilot mean and standard deviation. These means and scales are estimated from all 365 pilot days and held fixed for the analysis segment. Thirteen cubic B-splines on t = h / 23 and the Gram transformation described in Appendix D.3 define the coefficient scale.
For shared-data iterate-averaged BPI, all J recursions process the same 828 analysis observations and use iterate-averaged rewards. For each of the 4 × 3 × 5 × 5 = 300 settings, R = 100 multiplier randomizations recompute the full TAB policy and statistic. The grid combines J = 25 , 50 , 100 , 150 , step prefactors c = 0.05 , 0.1 , 0.2 (decay exponent 0.2 ), t 0 = 0.25 , 0.4 , 0.5 , 0.6 , 0.75 , and d 0 = − 0.5 , 0 , 0.5 , 1 , 1.5 . Figure 16 shows complementary slices through this grid, including the simulation-selected reference setting ( 100 , 0.1 ) and the pilot prediction choice ( 25 , 0.2 ) .
Figure 16. BMSAQ sensitivity of shared-data iterate-averaged BPI on n = 828 fixed analysis days. Rejection fractions and pointwise 95% Wilson intervals use R = 100 full TAB randomizations per setting at nominal level 0.05 . (a) Targets under ( J , c ) = ( 100 , 0.1 ) ; (b) step-prefactor sensitivity at J = 100 , t 0 = 0.5 ; (c) perturbation-count sensitivity at c = 0.1 , t 0 = 0.5 ; (d) targets under the pilot prediction choice ( 25 , 0.2 ) . The decay exponent is 0.2 . Lines connect the five evaluated thresholds, and the Wilson intervals quantify conditional randomization error.
At ( t 0 , d 0 ) = ( 0.5 , 0.5 ) , the conditional rejection fractions for J = 100 and c = 0.05 , 0.1 , 0.2 are 1.00 , 1.00 , 0.87 ; for c = 0.1 and J = 25 , 50 , 100 , 150 , they are 0.01 , 0.97 , 1.00 , 1.00 . The pilot-selected pair gives 0 / 100 , compared with 100 / 100 at the simulation-selected pair, with Wilson intervals [ 0 , 0.0370 ] and [ 0.9630 , 1 ] . For 87 / 100 , the interval is [ 0.7902 , 0.9224 ] and MCSE is 0.0336 . These differences indicate material sensitivity to the tuning parameters. Rejection fractions and Wilson intervals quantify multiplier variability conditional on the observed analysis sample. Each individual TAB test uses the reference distribution in Section 5.2 at nominal level 0.05 .
As a dependence reference on the same analysis subset and transformed slope scale, finite-basis least squares with an intercept gives β ^ ( 0.5 ) = 1.7631 . Calendar-day Bartlett HAC bandwidths H = 7 , 14 , 30 yield standard errors 2.5784 , 2.6150 , 2.6394 . For d 0 = 0.5 , the left-tail normal reference gives p = 0.6879 , 0.6855 , 0.6839 , respectively. Over all five targets, five thresholds, and three bandwidths, the smallest unadjusted value is 0.0378 at ( t 0 , d 0 , H ) = ( 0.4 , 1.5 , 30 ) ; Holm adjustment over these 75 exploratory comparisons yields p Holm = 1 throughout. Actual date differences define lags, so excluded days are not compressed into consecutive observations. This single-station reference assesses temporal variation in the finite-basis regression scores.

8. Conclusions

In this paper, we introduce a novel approach to conduct statistical inference for β 0 ( · ) in the functional linear model. Furthermore, we establish the limiting distribution of the proposed test statistic to ensure its theoretical validity. The simulation studies characterize power and null calibration across the specified designs, and the real-world application illustrates inference for streaming functional data.

Author Contributions

Conceptualization, investigation, and writing—review and editing: Z.Z. (Ziyu Zhang), Y.W., J.Y., Z.X., R.X., W.D. and Z.Z. (Zhenzhe Zhang). All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (Grant No. 12371292). The APC was funded by Shandong University.

Data Availability Statement

The Beijing Multi-Site Air Quality dataset analyzed in this study is openly available in the UCI Machine Learning Repository at https://doi.org/10.24432/C5RK5G under the Creative Commons Attribution 4.0 International license. The simulated data were generated according to the data-generating mechanism described in Section 6.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Technical Proofs

Proof of Theorem 1.
Let φ ∈ C ( R ) be an even function. The result is clear if φ is globally constant. Thus, we assume that φ is not a constant function. We only give the proof for the case that φ is decreasing on ( 0 , ∞ ) ; the case in which φ is increasing on ( 0 , ∞ ) can be proved similarly. Assume that φ is decreasing on ( 0 , ∞ ) . For any h > 0 , define the function φ h by
φ h ( x ) = ∫ − ∞ ∞ 1 2 π φ ( x + h y ) e − y 2 2 d y
By the Approximation Lemma in Chapter VIII of [18], we have that
lim h → 0 sup x ∈ R | φ ( x ) − φ h ( x ) | = 0
It follows from direct calculation that
φ h ( x ) = ∫ − ∞ ∞ 1 2 π φ ( x + h y ) e − y 2 2 d y = ∫ − ∞ ∞ 1 2 π φ ( − x − h y ) e − y 2 2 d y = ∫ − ∞ ∞ 1 2 π φ ( − x + h y ) e − y 2 2 d y = φ h ( − x )
Thus, φ h is also an even function. In addition, we have
φ ˙ h ( x ) = ∫ − ∞ ∞ 1 2 π h 3 φ ( x + y ) y e − y 2 2 h 2 d y = ∫ 0 ∞ 1 2 π h 3 ( φ ( y + x ) − φ ( y − x ) ) y e − y 2 2 h 2 d y
Since φ is decreasing on ( 0 , ∞ ) , it follows that
sgn ( φ ˙ h ( x ) ) = − sgn ( x )
In the remaining proof of this theorem, we will use F t ( x ) and L l , J ( x ) defined in [19]; for the reader’s convenience we put their definition here:
F t ( x ) = ∫ R φ h ( z ) q − κ J , σ d 0 ( t , x , z ) d z , L l , J ( x ) = F l J ( x ) + κ J J | F ˙ l J ( x ) | + σ d 0 2 2 J F ¨ l J ( x ) , x ∈ R .
where
q − κ J , σ d 0 ( t , x , z ) = 1 σ d 0 2 π ( 1 − t ) e − ( x − z ) 2 + 2 κ J σ d 0 ( 1 − t ) ( | z | − | x | ) + κ J 2 σ d 0 2 ( 1 − t ) 2 2 ( 1 − t ) σ d 0 2 + κ J σ d 0 e − 2 κ J | z | σ d 0 Φ ( − | z | + | x | σ d 0 1 − t + κ J 1 − t ) .
Let η J ∼ S ( − κ J , 0 ) be a spike distribution; by direct calculation, we obtain
E [ φ h ( Q J ( θ * ) ) ] − E [ φ h ( σ d 0 η J ) ] = E F 1 Q J ( θ * ) − F 0 ( 0 ) = E F 1 R J , 1 ( θ * ) J + R J , 2 ( θ * ) J σ ^ J − E F J − 1 J R J − 1 , 1 ( θ * ) J + R J − 1 , 2 ( θ * ) J σ ^ J + E F J − 1 J R J − 1 , 1 ( θ * ) J + R J − 1 , 2 ( θ * ) J σ ^ J − E F J − 2 J R J − 2 , 1 ( θ * ) J + R J − 2 , 2 ( θ * ) J σ ^ J + ⋯ + E F l J R l , 1 ( θ * ) J + R l , 2 ( θ * ) J σ ^ J − E F l − 1 J R l − 1 , 1 ( θ * ) J + R l − 1 , 2 ( θ * ) J σ ^ J + ⋯ + E F 1 J R 1 , 1 ( θ * ) J + R 1 , 2 ( θ * ) J σ ^ J − F 0 ( 0 ) = ∑ l = 1 J E F l J R l , 1 ( θ * ) J + R l , 2 ( θ * ) J σ ^ J − E F l − 1 J R l − 1 , 1 ( θ * ) J + R l − 1 , 2 ( θ * ) J σ ^ J = ∑ l = 1 J E F l J R l , 1 ( θ * ) J + R l , 2 ( θ * ) J σ ^ J − E L l , J R l − 1 , 1 ( θ * ) J + R l − 1 , 2 ( θ * ) J σ ^ J + ∑ l = 1 J E L l , J R l − 1 , 1 ( θ * ) J + R l − 1 , 2 ( θ * ) J σ ^ J − E F l − 1 J R l − 1 , 1 ( θ * ) J + R l − 1 , 2 ( θ * ) J σ ^ J = : I J 1 + I J 2 .
An application of Lemma 2 in [19] implies that | I J 1 | → 0 as J → ∞ . It follows from (5) in Lemma 1 in [19] that
| I J 2 | ≤ ∑ l = 1 J E L l , J R l − 1 , 1 ( θ * ) J + R l − 1 , 2 ( θ * ) J σ ^ J − F l − 1 J R l − 1 , 1 ( θ * ) J + R l − 1 , 2 ( θ * ) J σ ^ J ≤ ∑ l = 1 J sup x ∈ R L l , J ( x ) − F l − 1 J ( x ) = ∑ l = 1 J sup x ∈ R F l − 1 J ( x ) − F l J ( x ) − κ J J F ˙ l J ( x ) − σ d 0 2 2 J F ¨ l J ( x ) → 0 , as J → ∞ ,
which implies that
lim h → 0 lim J → ∞ | E [ φ h Q J ( θ * ) ] − E [ φ h ( σ d 0 η J ) ] | = 0 .
Putting together (A1) and (A2), we have
lim J → ∞ | E [ φ ( Q J ( θ * ) ) ] − E [ φ ( σ d 0 η J ) ] | ≤ lim h → 0 lim J → ∞ | E [ φ ( Q J ( θ * ) ) ] − E [ φ h ( Q J ( θ * ) ) ] | + lim h → 0 lim J → ∞ E [ φ h ( Q J ( θ * ) ) ] − E [ φ h ( σ d 0 η J ) ] + lim h → 0 E [ φ h ( σ d 0 η J ) ] − E [ φ ( σ d 0 η J ) ] = 0 .
The mean of the averaged recursion is given exactly by Proposition 1 under its stated assumptions. Under its source and step-size conditions, together with n γ n → ∞ , we have E { β ¯ j , n * ( t 0 ) } − β 0 ( t 0 ) → 0 .
For an integrable expansion
a n { W n − β 0 ( t 0 ) − B n } = L n + R n , E L n = 0 ,
where W n = β ¯ j , n * ( t 0 ) , a n > 0 is deterministic and B n is the deterministic centering term of that expansion, taking expectations gives
E W n − β 0 ( t 0 ) − B n = a n − 1 E R n .
If E | R n | → 0 , the right-hand side is o ( a n − 1 ) . This relation specifies the remainder condition linking the exact mean bias to the asymptotic centering term Bias { β 0 ( t 0 ) } in Theorem 1. □

Appendix A.1. Proof of the Mean-Bias Proposition

Proof of Proposition 1.
Fix a replica j and a horizon n, and put e j , k = β ^ j , k * − β 0 . The model and the update imply the exact identity
e j , k = ( I − γ n ω j , k η k ⊗ η k ) e j , k − 1 + γ n ω j , k ε k η k , e j , 0 = − β 0 .
Let F k − 1 contain the data and weights through time k − 1 . The new data pair and weight are independent of F k − 1 , and the weight is independent of that pair. The integrability assumptions make all expectations below Bochner integrals. Indeed, induction using ∥ η ⊗ η ∥ = ∥ η ∥ 2 gives
E ∥ e j , k ∥ ≤ ( 1 + γ n E ∥ η ∥ 2 ) E ∥ e j , k − 1 ∥ + γ n E ( | ε | ∥ η ∥ ) < ∞ .
Here and below, unlabeled norms are in H . Conditional mean-zero errors give E ( ε η ) = E { η E ( ε ∣ X ) } = 0 . Conditional expectation in (A3) therefore yields
E ( e j , k ∣ F k − 1 ) = ( I − γ n A ) e j , k − 1 .
Taking expectations and iterating proves (8). Setting every weight to one gives the identical mean recurrence for the unperturbed estimator. Averaging over k = 1 , … , n and applying the continuous functional f ↦ f ( t 0 ) = ⟨ f , K ( · , t 0 ) ⟩ H proves (9).
The positive operator A is trace class because E ∥ η ∥ 2 < ∞ . On its nonzero spectral subspace, let
q n ( λ ) = 1 n ∑ k = 1 n ( 1 − γ n λ ) k .
For 0 < λ ≤ ∥ A ∥ and 0 < γ n ∥ A ∥ ≤ 1 , the summands lie in [ 0 , 1 ] . The geometric series gives
0 ≤ q n ( λ ) ≤ 1 , q n ( λ ) ≤ 1 n ∑ k = 0 ∞ ( 1 − γ n λ ) k = 1 n γ n λ .
Writing u = n γ n λ , for 0 < r ≤ 1 we obtain
λ r q n ( λ ) ≤ ( n γ n ) − r u r min ( 1 , u − 1 ) ≤ ( n γ n ) − r ,
because u r ≤ 1 when u ≤ 1 and u r − 1 ≤ 1 when u ≥ 1 . The source condition gives zero coefficient in ker A , so the multiplier at λ = 0 contributes zero. Spectral calculus consequently implies
1 n ∑ k = 1 n ( I − γ n A ) k β 0 = ∥ q n ( A ) A r g ∥ ≤ ( n γ n ) − r ∥ g ∥ .
Finally ∥ K ( · , t 0 ) ∥ = K ( t 0 , t 0 ) and Cauchy–Schwarz prove (10). Without the source restriction, a component β 0 , ⊥ ∈ ker A remains unchanged by ( I − γ n A ) k and contributes − β 0 , ⊥ ( t 0 ) to the bias. □

Appendix A.2. Derivation of the Absolute-Value Distribution Function

Write ϕ for the standard normal density. For y > 0 ,
d d y { Φ ( y − κ ) − e 2 κ y Φ ( − y − κ ) } = ϕ ( y − κ ) − 2 κ e 2 κ y Φ ( − y − κ ) + e 2 κ y ϕ ( y + κ ) = 2 { ϕ ( y − κ ) − κ e 2 κ y Φ ( − y − κ ) } ,
where e 2 κ y ϕ ( y + κ ) = ϕ ( y − κ ) . This derivative equals 2 f κ ( y ) . At zero, the two CDF terms cancel. For large y with y + κ > 0 , the normal-tail bound gives
0 ≤ e 2 κ y Φ ( − y − κ ) ≤ e 2 κ y ϕ ( y + κ ) y + κ = ϕ ( y − κ ) y + κ ⟶ 0 .
Thus G κ ( y ) → 1 . The density is nonnegative: this is immediate for κ ≤ 0 ; for κ > 0 , the same tail bound gives f κ ( y ) ≥ ϕ ( y − κ ) y / ( y + κ ) for y ≥ 0 . By symmetry, integrating 2 f κ over [ 0 , y ] establishes (14). A positive scale a b changes the argument to y / a b , yielding (15). In particular, the sign convention gives Φ ( c α + d 0 ) − e − 2 d 0 c α Φ ( − c α + d 0 ) = 1 − α , consistent with Section 5.2.

Appendix A.3. Auxiliary Calculations for the Bandit Comparison

The comparison in the proof of Theorem 1 uses a smooth test function, an auxiliary time parameter, and a second-order expansion. The following identities give these steps explicitly. The parameter t ∈ [ 0 , 1 ] in F t is an auxiliary comparison time; the functional evaluation point remains t 0 . Dots on F t denote differentiation with respect to its scalar argument, and F 1 = φ h is the terminal condition.

Appendix A.3.1. Gaussian Smoothing

A function φ ∈ C ( R ¯ ) is bounded and uniformly continuous. Define its modulus of continuity by ω φ ( δ ) = sup | x − y | ≤ δ | φ ( x ) − φ ( y ) | , and let N ∼ N ( 0 , 1 ) . Splitting the expectation according to | h N | ≤ δ yields
∥ φ h − φ ∥ ∞ ≤ ω φ ( δ ) + 2 ∥ φ ∥ ∞ Pr ( | N | > δ / h ) .
For fixed δ > 0 , the second term tends to zero as h ↓ 0 ; subsequently, letting δ ↓ 0 proves Equation (A1). The symmetry of N preserves evenness. Differentiating the Gaussian kernel also gives bounded derivatives of every order for each fixed h > 0 . Hence smoothing permits Taylor expansion while its approximation error is uniform in the argument of the test function.

Appendix A.3.2. Terminal-Horizon Partial Sums

For a fixed J with σ ^ J > 0 , set
T l , J = R l , 1 ( θ * ) J + R l , 2 ( θ * ) J σ ^ J , 0 ≤ l ≤ J , Δ l , J = T l , J − T l − 1 , J = Z l θ * J + Z l θ * − μ l θ * J σ ^ J .
Thus T 0 , J = 0 and T J , J = Q J ( θ * ) . The denominators in T l , J are kept at the terminal horizon J for the comparison argument; the online prefix statistic in Section 4.3 uses l and σ ^ l . With g l = F l / J , telescoping and adding and subtracting the same quantity give the exact identity
E { g J ( T J , J ) } − g 0 ( 0 ) = ∑ l = 1 J E { g l ( T l , J ) − L l , J ( T l − 1 , J ) } + ∑ l = 1 J E { L l , J ( T l − 1 , J ) − g l − 1 ( T l − 1 , J ) } = I J 1 + I J 2 .

Appendix A.3.3. Increment and Time-Step Comparisons

Taylor’s formula with an integral remainder gives
g l ( x + u ) = g l ( x ) + g l ′ ( x ) u + 1 2 g l ′ ′ ( x ) u 2 + ρ l ( x , u ) ,
where ρ l ( x , u ) = u 2 ∫ 0 1 ( 1 − v ) { g l ′ ′ ( x + v u ) − g l ′ ′ ( x ) } d v . Consequently, with x = T l − 1 , J and u = Δ l , J ,
I J 1 = ∑ l = 1 J E [ g l ′ ( T l − 1 , J ) Δ l , J − κ J J | g l ′ ( T l − 1 , J ) | + 1 2 g l ′ ′ ( T l − 1 , J ) Δ l , J 2 − σ d 0 2 J + ρ l ( T l − 1 , J , Δ l , J ) ] .
For fixed J and h, write M J , h = max l ∥ g l ′ ′ ∥ ∞ and ω J , h ( δ ) = max l sup | x − y | ≤ δ | g l ′ ′ ( x ) − g l ′ ′ ( y ) | . Whenever the displayed expectations are finite, the remainder obeys
∑ l = 1 J E | ρ l ( T l − 1 , J , Δ l , J ) | ≤ ω J , h ( δ ) 2 ∑ l = 1 J E Δ l , J 2 + M J , h ∑ l = 1 J E { Δ l , J 2 I ( | Δ l , J | > δ ) } .
The two leading terms in Equation (A6) are the drift and quadratic-increment comparisons, and the remaining bound separates small increments from large-increment tails. These are the components of the increment estimate in Lemma 2 of Chen et al. [19]. The other sum satisfies
| I J 2 | ≤ ∑ l = 1 J ∥ L l , J − F ( l − 1 ) / J ∥ ∞ ,
which is the time-step consistency estimate used from Lemma 1 of that paper. This identifies the distinct roles of the cited analytic estimates in the comparison argument.
The functional-estimation calculation enters through the reward center. Proposition 1 and Appendix A.1 derive the exact mean directly from the affine SGD recursion and its spectral filter. The expansion associated with functional SGD inference [7] supplies the asymptotic centering notation; the expectation identity following Equation (A2) states the integrable remainder condition that links that notation to the exact mean. Appendix A.2 integrates the density in Definition 2, and Appendix D.1 gives the conditional moments for shared-data iterate-averaged BPI.

Appendix B. Simulation Settings and Additional Sensitivity Results

Appendix B.1. Simulation Settings

Appendix B.1.1. Data-Generating Mechanisms

The simulations use the orthonormal cosine basis
ϕ 1 ( t ) = 1 , ϕ ℓ ( t ) = 2 cos ( ( ℓ − 1 ) π t ) , ℓ = 2 , … , 13 , t ∈ [ 0 , 1 ] ,
and the finite-dimensional model
X ( t ) = ∑ ℓ = 1 13 x ℓ ϕ ℓ ( t ) , β 0 ( t ) = ∑ ℓ = 1 13 β ℓ ϕ ℓ ( t ) , Y = x ⊤ β + ε .
The smooth, oscillatory, and localized shapes are obtained by projecting, respectively,
0.6 + 0.4 cos ( 2 π t ) , 0.6 + 0.5 cos ( 6 π t ) , 0.3 + exp { − 80 ( t − 0.5 ) 2 }
onto this basis using trapezoidal integration on 2001 equally spaced grid points. The projected functions are the simulation truths; at t 0 = 0.5 , their values are approximately 0.2 , 0.1 , and 1.298893 . The baseline scores are centered Gaussian with covariance eigenvalues λ ℓ = ℓ − 1.5 . The sample sizes are n ∈ { 100,000 , 500,000 } , with J = 100 and t 0 = 0.5 .
The 54 mean–variance and distributional diagnostic designs combine two sample sizes, three shapes, three noise standard deviations σ 0 ∈ { 0.5 , 1 , 2 } , and three error structures. In the i.i.d. design, scores and errors are independent Gaussian variables with the specified variances. In the AR(1) design, each score coordinate and the error process follow stationary AR(1) recursions with coefficient 0.8 and innovation multiplier 1 − 0 . 8 2 = 0.6 , preserving their marginal variances. The coordinate processes and the error process are mutually independent. This is a temporal-dependence sensitivity design outside the i.i.d. setting of Proposition 1. In the heteroscedastic design, independent Gaussian scores are paired with
ε = σ 0 ( 0.25 + x 1 2 ) / 1.25 Z , Z ∼ N ( 0 , 1 ) , Z ⊥ x .
Since E x 1 2 = 1 , the marginal noise standard deviation remains σ 0 .

Appendix B.1.2. BPI Rewards and Spectral Profiles

The BPI procedure uses the averaged perturbed estimators in Definition 1. In each Monte Carlo replication, all J = 100 perturbed recursions process the same sequence of n observations with independent Exp ( 1 ) multipliers. Every observation updates all replicas, so each replica receives n updates. The pointwise rewards are
W j = β ¯ j , n * ( t 0 ) = 1 n ∑ k = 1 n β ^ j , k * ( t 0 ) , j = 1 , … , J .
The two arms are ± W j , and the complete TAB policy and statistic are constructed as in Section 4.2.
The spectral analysis uses the five profiles
Profile P 1 P 2 P 3 P 4 P 5 ( a C , a K ) ( 1.0 , 0.0 ) ( 1.5 , 0.0 ) ( 2.0 , 0.0 ) ( 1.5 , 0.5 ) ( 1.5 , 1.0 )
as specified comparisons around ( 1.5 , 0 ) . Covariance and kernel eigenvalues are ℓ − a C and ℓ − a K in the rank-13 representation. Let
D K = diag ( ℓ − a K ) , z = D K 1 / 2 x , ϑ = D K − 1 / 2 β , a = ( ϕ ℓ ( t 0 ) ) ℓ = 1 13 .
The pointwise contrast is transformed to D K 1 / 2 a , preserving
( D K 1 / 2 a ) ⊤ ϑ = a ⊤ β = β 0 ( t 0 ) , Cov ( z ) = diag ( ℓ − a C − a K ) .
The horizontal-axis order in Figure 5 and Figure 6 is P1, P2, P4, P5, P3.

Appendix B.1.3. Design Sizes and Random Inputs

The gap is d 0 − β 0 ( t 0 ) . The controlled-shift study uses gaps 0 and 0.2 and h ∈ { − 1 , − 0.5 , 0 , 0.5 , 1 } in Equation (21), giving 60 result cells with 500 Monte Carlo replications per cell. The complete TAB policy and statistic are recomputed from each set of shifted rewards. The spectral study uses gaps − 0.2 , 0, 0.2 , and 0.5 , giving 120 result cells with 200 replications per cell. Gap − 0.2 is an interior null, gap 0 is the boundary null, and positive gaps specify alternatives. Both studies use independent Gaussian scores and errors with noise SD one. The 54 mean–variance and distributional diagnostic designs each use 500 independent streams at gap zero.
Monte Carlo replications are independent. The two sample sizes use the corresponding prefixes of the same stream. Matched shapes, noise levels, and spectral settings share the appropriate random inputs within a replication; these settings are not additional independent replications. The shift and spectral studies use different replication streams, so rejection proportions at their common baseline profile need not coincide.

Appendix B.1.4. Rejection Rule and Monte Carlo Uncertainty

The rejection rule is strictly p < 0.05 , where
p = 1 − G − d 0 ( | Q J | ) , G κ ( y ) = Φ ( y − κ ) − e 2 κ y Φ ( − y − κ ) , y ≥ 0 .
For k rejections in M replications, the rejection proportion and its Monte Carlo standard error are
p ^ = k / M , MCSE = p ^ ( 1 − p ^ ) / M .
The 95% Wilson interval has center and half-width
p ^ + z 2 / ( 2 M ) 1 + z 2 / M , z p ^ ( 1 − p ^ ) / M + z 2 / ( 4 M 2 ) 1 + z 2 / M , z = Φ − 1 ( 0.975 ) .

Appendix B.1.5. Distributional Diagnostics

For each design, the fitted-normal BPI reward check takes the first replica’s reward from each of 500 independent streams, fits the normal mean and standard deviation, and computes the Kolmogorov–Smirnov (KS) distance D. The parametric bootstrap uses 499 samples, refitting the mean and standard deviation in each sample, with p value ( 1 + # { D * ≥ D } ) / 500 . Writing F ^ M for the empirical CDF of the M = 500 independent-stream values and F 0 for the tested CDF, the statistic is D = sup x | F ^ M ( x ) − F 0 ( x ) | .
The BPI TAB-statistic check compares 500 statistics with the fixed CDF
F κ ( x ) = 1 2 + sgn ( x ) G κ ( | x | ) / 2 , κ = − d 0 .
The independent-Gaussian-reward TAB control constructs the statistic from independent N ( d 0 , 1 ) rewards using the same TAB recursion and compares it with the same fixed distribution. The i.i.d., AR(1), and heteroscedastic labels on this control identify matched designs; its rewards are always independent Gaussian variables. All three sets of 54 tests form a single Holm correction family of 162 tests. The adjusted rejection counts are 0, 17, and 1 for fitted-normal BPI rewards, BPI Q J , and the Gaussian control, respectively, as summarized in Table 6.

Appendix B.2. Mean–Variance Diagnostics

Table A1 reports all 54 designs, each based on 500 independent streams at gap zero. Mean bias is the across-stream average of W ¯ − β 0 ( t 0 ) , with MCSE equal to its across-stream standard deviation divided by 500 . Define
v W = mean streams ( s W 2 ) , v W ¯ = Var ^ streams ( W ¯ − β 0 ( t 0 ) ) .
The ratio v W ¯ / ( v W / J ) compares these variance summaries as in Equation (22).
Table A1. BPI mean–variance diagnostics for all 54 designs. Each row uses 500 independent streams.

Appendix B.3. Additional Spectral Sensitivity Results

Table A2 reports the 90 results at gaps − 0.2 , 0.2 , and 0.5 . Together with the 30 boundary-null results in Table 5, these cover all 120 spectral settings. Profiles P1–P5 are defined in Appendix B.1. Rejection proportions under the null assess size, while positive gaps specify alternatives. Each result uses 200 Monte Carlo replications, with 95% Wilson intervals.
Table A2. Additional spectral sensitivity results for the BPI test: rejection proportions and 95% Wilson intervals at the interior null and specified alternatives.

Appendix C. Comparison Procedures and Additional Simulation Results

Appendix C.1. Comparison Procedures

Appendix C.1.1. Functional Design and Sampling

Section 6.4 specifies the 13-dimensional cosine model and the primary, fine-pointwise, and local-global designs. The three slopes are projected by trapezoidal integration on 2001 equally spaced points without subsequent unit-norm normalization. Their values at t 0 = 0.5 are 0.2 , 0.1 and 1.298893372 , and their signal variances v h = ∑ ℓ = 1 13 ℓ − 1.5 b h ℓ 2 are 0.375396007 , 0.366749366 , and 0.263119089 , respectively. The global signal-to-noise ratio is a 2 v h / σ ε 2 . The AR processes start from their stationary Gaussian laws and use innovation multiplier 0.6 . The heteroscedastic design has zero conditional error mean and marginal noise variance σ ε 2 .
The primary studies use 500 independent Monte Carlo replications per cell; the fine-pointwise and local-global studies use 200 separate replications. Within a replication and error structure, the smaller sample is a prefix of the larger sample, and shapes and noise settings share scores, standardized errors, and perturbation multipliers. Methods within a design use the same data. Different designs sharing random inputs are not pooled as independent replications. The global zero function is generated once per sample-size, noise, error, and replication combination and displayed at the origin of each shape panel. For AR data, the pilot and analysis segments of the AVI split are adjacent and are not independent.

Appendix C.1.2. BPI and Reward t

The pointwise BPI studies use Definition 1 and Algorithm 1, with all J = 100 zero-initialized perturbed recursions processing the same n observations and rewards given by their iterate-averaged point estimates. Multipliers are independent Exp ( 1 ) variables, independent of the data, and the kernel coordinate weights equal one. A separate 200-replication screening over J ∈ { 25 , 50 , 100 , 150 , 200 , 300 } selected J = 100 before the primary 500-replication study.
For the TAB calculation, set S 0 = C 0 = 0 and Q 0 = − 10 − 5 for odd repetitions and 10 − 5 for even repetitions. Let a j = 1 when Q j − 1 ≤ 0 and a j = − 1 otherwise, and compute
S j = S j − 1 + a j W j , C j = C j − 1 + a j ( W j − d 0 ) , Q j = S j j + C j j s j .
Here, s j = 1 for j ≤ 5 ; for j > 5 , it is the prefix sample standard deviation of the unsigned rewards, with variance floor 2.220446049250313 × 10 − 16 . The prefix variance includes the current reward. Rejection occurs when p = 1 − G − d 0 ( | Q J | ) < 0.05 , where
G κ ( y ) = Φ ( y − κ ) − e 2 κ y Φ ( − y − κ ) , y ≥ 0 .
The Reward t comparator uses J ( W ¯ − d 0 ) / s W and the lower tail of t J − 1 .

Appendix C.1.3. Pointwise Contrasts

For offline methods, center the available design matrix and response to obtain X c , y c , and write G = X c ⊤ X c , h = X c ⊤ y c . The point-evaluation vector is a 0 = ( ϕ 1 ( 0.5 ) , … , ϕ 13 ( 0.5 ) ) ⊤ . FPCA retains the smallest q accounting for at least 95% of the sample score variation (excluding eigenvalues at or below 10 − 10 times the largest). With eigenvectors V q and corresponding eigenvalues d ℓ of G, define A = V q diag ( d ℓ − 1 ) V q ⊤ , b ^ = A h , and the estimate a 0 ⊤ b ^ . The residual degrees of freedom are n − q − 1 , and the lower-tail reference for the standardized point contrast is t n − q − 1 .
The pointwise RKHS fit uses D = diag ( 1 4 , … , 13 4 ) , A λ = ( G + n λ D ) − 1 , and b ^ λ = A λ h . GCV selects from the 12 equally spaced log-scale values between 10 − 7 and 1, minimizing
RSS λ / n { 1 − ( tr ( A λ G ) + 1 ) / n } 2 .
Its i.i.d. sampling variance for the contrast is σ ^ 2 a 0 ⊤ A λ G A λ a 0 , with σ ^ 2 = RSS λ / ( n − 13 − 1 ) ; it is not a posterior variance. The lower-tail reference is standard normal. The fine-study use of t ∞ for this contrast is the same reference.
The AVI split adaptation selects PCs using the first ⌊ n / 3 ⌋ observations. The pre-fit retains 99% variance explained, orders d ℓ b ^ ℓ 2 , and retains the smallest number accounting for 85% of their sum. The selected eigenvectors are fixed when fitting the remaining observations, and the resulting point contrast uses t N − q s − 1 , where N is the analysis-segment size and q s the selected count. This is an adaptation of association-informed selection, not Su’s original global Wald test. Truncation and smoothing can change the point estimand, and the reported procedures do not correct that bias.
For each fit, let N denote its sample size ( N = n for a full-sample fit). In the i.i.d. design, all offline contrast variances take the form RSS / ν times a 0 ⊤ A G A a 0 , with the degrees of freedom given above. In the heteroscedastic design define v i = ( X c A a 0 ) i , residual r i , leverage h i = 1 / N + x c i ⊤ A x c i and z i = v i r i / max ( 1 − h i , 0.01 ) . The HC2 variance is ∑ i z i 2 . In the AR design the Bartlett HAC variance is
∑ i z i 2 + 2 ∑ ℓ = 1 H 1 − ℓ H + 1 ∑ i = ℓ + 1 N z i z i − ℓ , H = min { N − 1 , ⌊ 4 ( N / 100 ) 2 / 9 ⌋ } .
The variance is floored at machine precision. The selected or penalized inverse A and retained-segment centering are those of each fit. These variance choices address score variability; they do not eliminate projection or smoothing bias.

Appendix C.1.4. Global Procedures

The global null is zero slope in the identifiable finite score space. Retain 99% of sample score variation, and let d ℓ , V ℓ denote the eigenpairs of G. Put b ^ ℓ = V ℓ ⊤ h / d ℓ and c ℓ = d ℓ b ^ ℓ 2 . Cardot’s statistic is D n = ∑ ℓ = 1 q c ℓ / σ ^ 2 , compared with χ q 2  [5]. Here, σ ^ 2 is the GCV spectral-ridge residual sum of squares divided by n − tr ( A λ G ) − 1 . This variance smoother differs from the B-spline example in Cardot et al.; the cross-covariance statistic is retained.
For the Su procedure, first divide c ℓ by the PC residual variance σ ^ PC 2 = RSS PC / ( n − q − 1 ) , sort in decreasing order, and sum the fewest entries whose cumulative sum is at least 85% of the total [6]. Each null reference draw consists of q independent χ 1 2 variables and repeats this sorting and selection. The reference uses B = 1999 draws, cached for each pre-fit q independently of the data stream; the tail probability is ( 1 + # { T b ≥ T obs } ) / ( B + 1 ) . It is not Pr ( χ q s 2 ≥ T obs ) after selection.
The finite-rank RKHS global procedure fixes λ = n − 0.7 independently of the response, computes b ^ λ = A λ h , and uses T R = ∥ b ^ λ ∥ 2 . If ν ℓ are the nonnegative eigenvalues of σ ^ 2 A λ G A λ , its working null reference is ∑ ℓ ν ℓ Z ℓ 2 , with independent standard normal Z ℓ and the same GCV variance estimate used for Cardot. Its tail probability also uses 1999 reference draws and the plus-one formula. The fitting penalty is λ b ^ λ ⊤ D b ^ λ , whereas the global statistic uses the unweighted coefficient norm T R = b ^ λ ⊤ b ^ λ . Global procedures retain the i.i.d. references under AR and heteroscedastic stress designs. The same working laws are used without error-structure-specific recalibration.

Appendix C.1.5. Computational Requirements

Here, n is the observation count, p = 13 the feature dimension, q ≤ p the pre-fitted PC count, J = 100 the perturbation count, L = 12 the GCV grid size, B = 1999 the reference-draw count, and H the HAC bandwidth. For dense prepared features, forming G and h costs O ( n p 2 ) time; decomposition or an inverse costs O ( p 3 ) . A length-L GCV grid adds O ( L p 3 ) after these summaries. Thus Cardot with this variance smoother costs O ( n p 2 + L p 3 ) , and RKHS global fitting and its covariance mixture cost O ( n p 2 + L p 3 + B p ) . Su’s ordering and reference calculation cost O ( B q log q ) in addition to O ( n p 2 + p 3 ) . Storing rows and dense summaries uses O ( n p + p 2 ) memory, with O ( B p ) additional reference storage if all draws are retained; reference caching for several q values adds their individual array sizes. Sample covariance summaries alone can be accumulated without storing all rows. The actual pointwise HC2/HAC calculation additionally uses individual residuals and leverages, with O ( n p 2 + n H ) time and O ( n p + n + p 2 ) memory for a fitted contrast. BPI requires O ( n J p + J ) time and O ( J p ) storage, including updates of all J perturbed recursions, their running averages and the TAB aggregation. Feature preparation and curve reconstruction are separate costs that depend on the observation scheme.

Appendix C.2. Results Across Noise Levels

Table A3, Table A4 and Table A5 report the minimum and maximum rejection proportions over the smooth, oscillatory, and localized shapes, separately for each sample size, error structure, method, noise level, and gap. Each endpoint is a cell proportion from 500 independent Monte Carlo replications. These ranges summarize variation across shapes; they are neither pooled rejection proportions nor confidence intervals. The interior null ( g = − 0.2 ), boundary null ( g = 0 ) and alternatives ( g = 0.2 , 0.5 ) are displayed separately, including the extreme null rejection rates. The full shape-specific curves at noise SD one appear in Figure 7 and Figure 8.
Table A6 gives global null rejection for both sample sizes and all three noise levels and error structures. All primary global nonzero-signal cells ( a = 0.5 , 1 ; all three shapes and methods) have 500 rejections out of 500, with 95% Wilson interval [ 0.992 , 1.000 ] . These saturated alternatives do not distinguish the methods. The global local-alternative curves in Figure 12 and Figure 13 resolve intermediate-signal behavior and show the associated null calibration.
For a cell with K rejections among M replications, p ^ = K / M and MCSE ( p ^ ) = p ^ ( 1 − p ^ ) / M . The 95% Wilson interval has center and half-width
p ^ + z 2 / ( 2 M ) 1 + z 2 / M , z p ^ ( 1 − p ^ ) / M + z 2 / ( 4 M 2 ) 1 + z 2 / M , z = Φ − 1 ( 0.975 ) .
The plotted intervals are pointwise intervals. Even at proportions zero or one, their width is positive.
Table A3. Pointwise rejection ranges across shapes at noise SD 0.5.
Table A4. Pointwise rejection ranges across shapes at noise SD 1.
Table A5. Pointwise rejection ranges across shapes at noise SD 2.
Table A6. Global null rejection across noise levels (500 replications; 95% Wilson intervals).

Appendix C.3. Paired Comparisons

For methods evaluated on the same Monte Carlo data, define I BPI , m and I comparator , m as the respective rejection indicators and
D m = I BPI , m − I comparator , m , Δ ^ = 1 M ∑ m = 1 M D m , MCSE ( Δ ^ ) = s D M , s D 2 = 1 M − 1 ∑ m = 1 M ( D m − Δ ^ ) 2 .
A positive difference indicates more BPI rejections. For each paired comparison, let N + and N − count replications with D m = 1 and D m = − 1 , respectively. Equality of the two rejection probabilities is assessed by the exact two-sided McNemar test: conditional on N + + N − , the reference distribution of N + is Binomial ( N + + N − , 1 / 2 ) . The p value is one when there are no discordant pairs. Holm adjustment is applied jointly to the 144 fine-study comparisons formed by two sample sizes, three shapes, six gaps, and four BPI-versus-comparator pairs. The intervals Δ ^ ± 1.96 MCSE ( Δ ^ ) are pointwise normal-approximation intervals for the paired rejection differences.
Table A7 gives the smooth-shape comparisons at n = 500,000 , noise SD one, and g = 0.02 . Boundary and alternative rejection rates appear in Table 9.
Table A7. Paired BPI-minus-comparator rejection differences for the fine smooth-shape design at g = 0.02 .

Appendix D. Shared-Data Identities and Tuning Details

Appendix D.1. Conditional Moments and Centering

Write η i = ∫ X i ( t ) K ( · , t ) d t . For the constant-within-run step γ n , the update is
β ^ j , i * = ( I − γ n ω j , i η i ⊗ η i ) β ^ j , i − 1 * + γ n ω j , i Y i η i .
Conditional on the full data and the previous weights of replica j, the current weight remains independent with mean one. Taking its expectation gives the unperturbed affine update. Starting from the same deterministic initial value, induction yields E ω ( β ^ j , i * ∣ D n ) = β ^ i for every i ≤ n . Averaging and applying the bounded point-evaluation functional proves Equation (16).
For integrability, let e i = β ^ j , i * − β 0 . Then
e i = ( I − γ n ω j , i η i ⊗ η i ) e i − 1 + γ n ω j , i ε i η i .
The operator norm is at most 1 + γ n | ω j , i | ∥ η i ∥ 2 . Using ∥ u + v ∥ 2 ≤ 2 ∥ u ∥ 2 + 2 ∥ v ∥ 2 and independence of the current observation/weight from the past shows that E ∥ e i ∥ 2 is bounded by a finite constant times E ∥ e i − 1 ∥ 2 plus 2 γ n 2 E ω 2 E ( ε 2 ∥ η ∥ 2 ) . The coefficient is finite under E ∥ η ∥ 4 < ∞ . Induction from deterministic initialization establishes finite second moments at each fixed n; averaging and | f ( t 0 ) | ≤ K ( t 0 , t 0 ) ∥ f ∥ give E W j , n 2 < ∞ .
Conditional independence across replicas implies zero conditional covariance. Total covariance therefore gives Equation (17). The conditional mean and variance of J − 1 ∑ j W j , n are m n and τ n 2 / J . Total variance proves Equation (18); integrating its conditional squared deviation from m n proves Equation (19). If pilot settings are fixed independently of analysis weights, include them in the conditioning sigma field and impose the corresponding conditional moment assumptions.
Finally, substitute the bound | b | ≤ C t 0 ( n γ n ) − r into Equation (13) to obtain Equation (20). Since s n > 0 , squaring J n ( n γ n ) − r / s n → 0 gives J n = o { s n 2 ( n γ n ) 2 r } . This establishes the sufficient centering condition with the positive reference scale s n retained explicitly.

Appendix D.2. Screening and Independent Validation

For each candidate J, let F J be the total failures over the screening cells at n = 500,000 , N J the maximum rejection proportion over shapes and Δ ∈ { − 0.2 , 0 } , B J the mean of | p ^ J , h , 0 − 0.05 | over shapes, and P J the mean rejection proportion at Δ = 0.5 . Rank candidates lexicographically by ( F J , N J , B J , − P J ) ; remaining exact ties retain the ascending candidate order. For J = 25 and 50, N J = 0.08 ties, and B J = 0.02167 versus 0.02667 ranks 25 first. At J = 100 , ( F J , N J , B J , P J ) = ( 0 , 0.06 , 0.00833 , 1 ) , so no tie determines the selected value. The Wilson upper bound quantifies uncertainty in the screening rejection proportion. The primary validation uses a separate random-number stream and 500 repetitions per cell, with J = 100 fixed throughout. Within each study, settings and nested sample sizes share the same data stream within a replication. The TAB startup, prefix variance and tail calculation are those in the BPI and Reward t paragraph of Appendix C.1.

Appendix D.3. BMSAQ Preprocessing and Dependence Reference

The pilot training segment has 237 complete days (1 March–15 November 2013), followed by 128 pilot days for evaluating predictions (16 November 2013–14 April 2014). For each ( J , c ) pair, average the mean squared prediction error on the final 128 pilot days over five perturbation draws and choose the smallest loss. The observed minimizer is unique; if losses were tied, the first minimizer in ascending step-prefactor order and then ascending J order would be retained. Preprocessing means and scales use the full pilot only and are fixed for analysis. Let B be the 24 × 13 cubic B-spline matrix on hours h / 23 , with equally spaced interior knots and repeated boundary knots. Smooth a standardized daily curve x by
c ^ = ( B ⊤ B + 10 − 4 D 2 ⊤ D 2 ) − 1 B ⊤ x , G = ∫ 0 1 B ( t ) B ( t ) ⊤ d t = L ⊤ L .
Here, D 2 takes second differences, and G is evaluated by the trapezoidal rule on 1001 equally spaced points. The design vector is z = L c ^ and the evaluation vector is a ( t 0 ) ⊤ = B ( t 0 ) ⊤ L − 1 , giving slope a ( t 0 ) ⊤ b . Thus d 0 is on the standardized functional coefficient scale.
For the HAC reference, center the analysis design and response to obtain Z c , y c , put M = ( Z c ⊤ Z c ) − 1 and b ^ = M Z c ⊤ y c , and let r i = y c i − z c i ⊤ b ^ , h i = z c i ⊤ M z c i + 1 / n . At each target define
u i = ( z c i ⊤ M a ( t 0 ) ) r i max ( 1 − h i , 0.01 ) .
If d i is the calendar date of retained day i, the contrast variance is
V ^ H = ∑ i u i 2 + 2 ∑ ℓ = 1 H 1 − ℓ H + 1 ∑ i , j : d i − d j = ℓ days u i u j , H ∈ { 7 , 14 , 30 } .
The standard error is max ( V ^ H , ϵ mach ) , with ϵ mach = 2.220446049250313 × 10 − 16 , and the one-sided reference value is Φ { ( a ( t 0 ) ⊤ b ^ − d 0 ) / se ^ H } . This estimator uses all 828 analysis days at one station and includes an intercept through centering. It provides a calendar-dependence comparison on the same targets and thresholds.

References

  1. Wang, X.; Nan, B.; Zhu, J.; Koeppe, R. Regularized 3D functional regression for brain image data via Haar wavelets. Ann. Appl. Stat. 2014, 8, 1045. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Cai, T.T.; Hall, P. Prediction in functional linear regression. Ann. Stat. 2006, 34, 2159–2179. [Google Scholar] [CrossRef] [Scilit]
  3. Yuan, M.; Cai, T.T. A reproducing kernel Hilbert space approach to functional linear regression. Ann. Stat. 2010, 38, 3412–3444. [Google Scholar] [CrossRef] [Scilit]
  4. Müller, H.G.; Stadtmüller, U. Generalized functional linear models. Ann. Stat. 2005, 33, 774–805. [Google Scholar] [CrossRef] [Scilit]
  5. Cardot, H.; Ferraty, F.; Mas, A.; Sarda, P. Testing hypotheses in the functional linear model. Scand. J. Stat. 2003, 30, 241–255. [Google Scholar] [CrossRef] [Scilit]
  6. Su, Y.R.; Di, C.Z.; Hsu, L. Hypothesis testing in functional linear models. Biometrics 2017, 73, 551–561. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Xie, J.; Shi, E.; Sang, P.; Shang, Z.; Jiang, B.; Kong, L. Scalable inference in functional linear regression with streaming data. Ann. Stat. 2026, 54, 120–145. [Google Scholar] [CrossRef] [Scilit]
  8. Hall, P.; Horowitz, J.L. Methodology and convergence rates for functional linear regression. Ann. Stat. 2007, 35, 70–91. [Google Scholar] [CrossRef] [Scilit]
  9. Cardot, H.; Ferraty, F.; Sarda, P. Functional linear model. Stat. Probab. Lett. 1999, 45, 11–22. [Google Scholar] [CrossRef] [Scilit]
  10. Yao, F.; Müller, H.G.; Wang, J.L. Functional linear regression analysis for longitudinal data. Ann. Stat. 2005, 33, 2873–2903. [Google Scholar] [CrossRef] [Scilit]
  11. Cai, T.T.; Yuan, M. Minimax and adaptive prediction for functional linear regression. J. Am. Stat. Assoc. 2012, 107, 1201–1216. [Google Scholar] [CrossRef] [Scilit]
  12. Shang, Z.; Cheng, G. Nonparametric inference in generalized functional linear models. Ann. Stat. 2015, 43, 1742–1773. [Google Scholar] [CrossRef] [Scilit]
  13. Xue, K.; Yao, F. Hypothesis testing in large-scale functional linear regression. Stat. Sin. 2021, 31, 1101–1123. [Google Scholar] [CrossRef] [Scilit]
  14. Ruppert, D. Efficient Estimations from a Slowly Convergent Robbins-Monro Process; Technical report; Cornell University Operations Research and Industrial Engineering: Ithaca, NY, USA, 1988. [Google Scholar]
  15. Polyak, B.T.; Juditsky, A.B. Acceleration of stochastic approximation by averaging. SIAM J. Control Optim. 1992, 30, 838–855. [Google Scholar] [CrossRef] [Scilit]
  16. Chen, Z.; Epstein, L.G. A central limit theorem for sets of probability measures. Stoch. Process. Their Appl. 2022, 152, 424–451. [Google Scholar] [CrossRef] [Scilit]
  17. Zhang, S.; Guo, B.; Dong, A.; He, J.; Xu, Z.; Chen, S.X. Cautionary tales on air-quality improvement in Beijing. Proc. R. Soc. A Math. Phys. Eng. Sci. 2017, 473, 20170457. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Feller, W. An Introduction to Probability Theory and Its Applications Vol II; John Wiley and Sons: New York, NY, USA, 1971. [Google Scholar]
  19. Chen, Z.; Yan, X.; Zhang, G. Strategic two-sample test via the two-armed bandit process. J. R. Stat. Soc. Ser. B Stat. Methodol. 2023, 85, 1271–1298. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.