Next Article in Journal
State-Dependent Model Based on Singular Spectrum Analysis Vector for Modeling Structural Breaks: Forecasting Indonesian Export
Next Article in Special Issue
An In-Depth Look at Rising Temperatures: Forecasting with Advanced Time Series Models in Major US Regions
Previous Article in Journal
Forecasting the Occurrence of Electricity Price Spikes: A Statistical-Economic Investigation Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bootstrapping Long-Run Covariance of Stationary Functional Time Series

Department of Actuarial Studies and Business Analytics, Level 7, 4 Eastern Rd, Macquarie University, Sydney, NSW 2109, Australia
Forecasting 2024, 6(1), 138-151; https://doi.org/10.3390/forecast6010008
Submission received: 4 January 2024 / Revised: 30 January 2024 / Accepted: 2 February 2024 / Published: 5 February 2024
(This article belongs to the Special Issue Application of Functional Data Analysis in Forecasting)

Abstract

:
A key summary statistic in a stationary functional time series is the long-run covariance function that measures serial dependence. It can be consistently estimated via a kernel sandwich estimator, which is the core of dynamic functional principal component regression for forecasting functional time series. To measure the uncertainty of the long-run covariance estimation, we consider sieve and functional autoregressive (FAR) bootstrap methods to generate pseudo-functional time series and study variability associated with the long-run covariance. The sieve bootstrap method is nonparametric (i.e., model-free), while the FAR bootstrap method is semi-parametric. The sieve bootstrap method relies on functional principal component analysis to decompose a functional time series into a set of estimated functional principal components and their associated scores. The scores can be bootstrapped via a vector autoregressive representation. The bootstrapped functional time series are obtained by multiplying the bootstrapped scores by the estimated functional principal components. The FAR bootstrap method relies on the FAR of order 1 to model the conditional mean of a functional time series, while residual functions can be bootstrapped via independent and identically distributed resampling. Through a series of Monte Carlo simulations, we evaluate and compare the finite-sample accuracy between the sieve and FAR bootstrap methods for quantifying the estimation uncertainty of the long-run covariance of a stationary functional time series.

1. Introduction

Functional data often arise from the measurements obtained by separating an almost continuous time record into natural consecutive intervals, for example, days, weeks, or years; see [1]. The functions thus obtained form a time series { X t , t Z } where each X t is a random function X t ( u ) for u lies within a function support range I R . Examples include an intraday cumulative return of a financial asset in [2] and the intraday volatility of a financial asset in [3]. When continuum is not a time variable, it presents a general class of functional time series, examples of which include yearly age-specific mortality rates and near-infrared spectroscopy curves. For an overview of a functional time series analysis, consult the monographs of [4,5,6,7].
Analyzing time-series data presents a crucial challenge related to incorporating the temporal dependence inherent in functional observations denoted by X = ( X 1 , , X n ) and represents matrix transpose. The presence of this temporal dependence renders even basic statistics inaccurate. This issue is illustrated by estimating the unknown mean function μ = E ( X ) of a functional time series. The standard sample mean, X ¯ n = 1 n t = 1 n X t , proves inefficient in the presence of strong serial correlation. As demonstrated in [8], it is possible to decompose a scalar-valued time series as X t = μ + ϵ t . Where ϵ t is independent and identically distributed (i.i.d.), X ¯ n is the ordinary least squares estimator of μ . However, when a correlation exists among the errors ( ϵ 1 , , ϵ n ) , the optimal linear unbiased estimator of μ becomes the generalized least squares estimator. Let I n = ( 1 , , 1 ) and Δ n represent the sample covariance function of a time series of functions X with the t , s element given by Cov ( X t , X s ) . The generalized least squares estimator is then expressed as μ ^ = I n Δ n 1 I n 1 I n Δ n 1 X , where symbol denotes matrix transpose. μ ^ represents a weighted average of X where the weights depend on the sample covariance function.
Apart from the mean, the sample covariance is also inefficient in the time-series setting (see [9] for a remedy). Given that various statistics rely on accurately computing the sample mean function, the serial correlation in functional time series complicates the calculation of other summary statistics, including the long-run covariance function of stationary functional time series discussed in Section 2.
In functional time series analysis, a key objective is to draw statistical inferences about the sampling distribution of ϑ ^ n , a statistic that estimates the parameter of interest, ϑ . The focus extends beyond obtaining a consistent estimator; there is also a keen interest in gauging the variability associated with ϑ and constructing confidence intervals (CIs) or performing hypothesis tests. When confronted with such challenges, resampling methodologies, particularly bootstrapping, emerge as the most practical solution, involving the generation of samples from the available data to model the sampling process from the entire population.
In the functional time series literature, Refs. [10,11] introduced a residual-based bootstrap for functional autoregressions. Their work demonstrated that the empirical distribution of the centered sample innovations converges to the distribution of the innovations concerning the Mallows metric (also known as Wasserstein distance). Ref. [12] provided theoretical results for the moving block and tapered block bootstrap, Ref. [13] introduced a maximum entropy bootstrap procedure, and [14] examined functional autoregressions, deriving bootstrap consistency as both the sample size and the order of functional autoregression tend to infinity. Taking a nonparametric perspective, Ref. [15] employed a residual-based bootstrap procedure to construct confidence intervals for the regression function; Ref. [16] proposed a kernel estimation of the first-order nonparametric functional autoregression model and its bootstrap approximation; Ref. [17] explored a sieve bootstrap procedure for constructing pointwise or simultaneous prediction intervals.
The presence of serial dependence in functional time series complicates matters. The bootstrap method needs to be customized to ensure that the resampled functional time series maintains an asymptotically similar dependence structure to the original functional time series. We consider a sieve bootstrap method of [14] and a FAR bootstrap method of [13] to quantify the estimation uncertainty of the long-run covariance of a stationary functional time series in Section 3.
The reminder of the article is organized as follows. Via a series of simulation studies in Section 4, we compute the Hilbert–Schmidt norm of the difference between the bootstrapped and sample long-run covariance functions. Similarly, we compute the Hilbert-Schmidt norm of the difference between the sample and population long-run covariance functions. From the two norms, we evaluate the empirical coverage probabilities obtained from the sieve and FAR bootstrap methods and compare them with a set of nominal coverage probabilities. In Section 5, we apply the sieve bootstrap method to construct 80% confidence intervals of the long-run covariance function of the monthly sea surface temperature from January 1950 to December 2020. Section 6 concludes with some ideas on how the bootstrap methods presented here can be further extended.

2. Estimation of Long-Run Covariance Function

2.1. Notation

It is commonly assumed that random functions are sampled from a second-order stochastic process X in L 2 , where L 2 is the square-integrable functions residing in Hilbert space H . Each realization X t satisfies the condition X t 2 = I X t 2 ( u ) d u < with a function support range I , inner product f , g = I f ( u ) g ( u ) d u for any two functions, f and g L 2 ( I ) , and induced squared norm · = · , · . All random functions are defined on a common probability space ( Ω , A , P ) . The notation X L H p ( Ω , A , P ) is used to indicate that, for some p > 0 , the condition E ( X p ) < . When p = 1 , X has the mean curve μ = E ( X ) ; when p = 2 , X has the covariance function C ( u , v ) = Cov [ X ( u ) , X ( v ) ] = E { [ X ( u ) μ ( u ) ] [ X ( v ) μ ( v ) ] } , where u , v s . I .

2.2. Estimation of Long-Run Covariance Function

To provide a formal definition of the long-run covariance function, suppose that { X t ( u ) , u I } t Z is a set of stationary and ergodic functional time series. By stationary, the moments of a stochastic process, such as mean, variance, and autocorrelation, do not change over time. It is a key property for the sieve bootstrap of [14] to go backwards in time. In terms of ergodicity, it implies that the long-term statistical behavior of the process can be deduced from a sufficiently long realization of that process.
At the population level, the long-run covariance function is defined as
C ( u , v ) = = γ ( u , v ) , γ ( u , v ) = cov [ X 0 ( u ) , X ( v ) ]
is a well-defined element of L 2 ( I 2 ) under mild weak dependence and moment conditions (see [18]). From the autocovariance function, one can define the fourth-order cumulant function as
Ψ , r , θ ( u , v ) = E [ X 0 ( u ) X ( v ) X r ( u ) X θ ( v ) ] γ ( u , v ) γ θ r ( u , v ) γ r ( u , u ) γ θ ( v , v ) γ θ ( u , v ) γ r ( u , v )
A key condition is the existence of the finite fourth-order moment, i.e.,
, r , θ = Ψ , r , θ ( u , v ) d u d v < .
Since the bootstrap methods are designed to study the variability associated with the long-run covariance function, it is a crucial condition that a finite fourth-order moment exists. For example, such a condition can be met for Gaussian processes, where sample autocovariance functions have simpler variance expressions due to zero-value fourth-order cumulants.
Via right integration, c denotes the Hilbert–Schmidt integral operator on L 2 given by
c ( f ) ( u ) = I C ( u , v ) f ( v ) d v ,
whose eigenvalues and eigenfunctions are related to the dynamic functional principal components, and (1) provides asymptotically optimal finite-dimensional representations of the sample mean of dependent functional data. Therefore, it is important to study the inference of the long-run covariance function and its associated covariance operator.
A sandwich estimator can estimate the long-run covariance function at the sample level using the observations X 1 ( u ) , , X n ( u ) . The sandwich estimator is defined as:
C ^ h , q ( u , v ) = = n n W q h γ ^ ( u , v ) ,
where h is called the bandwidth parameter,
γ ^ ( u , v ) = 1 n t = 1 n X t ( u ) X ¯ ( u ) X t + ( v ) X ¯ ( v ) , 0 1 n t = 1 n X t ( u ) X ¯ ( u ) X t + ( v ) X ¯ ( v ) , < 0 ,
is an estimator of γ ( u , v ) with X ¯ ( u ) = 1 n t = 1 n X t ( u ) . W q is a symmetric weight function with bounded support of order q, which satisfies the following properties:
W q ( 0 ) = 1 , W q ( u ) 1 , W q ( u ) = W q ( u ) , W q ( u ) = 0 , if | u | > ι for some ι > 0 ,
and W q is continuous on [ ι , ι ] , and 0 lim x 0 | x | q ( 1 W q ( x ) ) < . Depending on the choice of the kernel function, the commonly used Bartlett, Parzen, Tukey–Hanning, and Quadratic spectral kernel functions have their corresponding orders q = 1 , 2 , 2 , and 2.
The estimation accuracy of the kernel sandwich estimator depends on the selection of the bandwidth parameter. Typically, one has to under-smooth in bandwidth selection to avoid bias problems (cf. [19]). The bandwidth parameter can be selected via a plug-in algorithm of [18]. To minimize asymptotic mean-squared normed error, Ref. [18] recommends that a flat-top kernel function of [20] is used with a fixed bandwidth h = n 1 5 in the pilot estimation stage, coupled with a final Bartlett kernel function. The Bartlett kernel function is defined as:
W 1 ( η ) = 1 | η | for   | η | 1 ; 0 otherwise .
The plug-in bandwidth selection method minimizes the asymptotic mean-squared error between the estimated and population long-run covariance functions. The asymptotic mean-squared error can be defined as
E C ^ h , q C 2 = h n C 2 + C ( u , u ) d u 2 W q 2 ( x ) d x + h 2 q C ( q ) 2 + o h n + h 2 q .

3. Bootstrap Methods

In Section 3.1, the sieve bootstrap can be viewed as a nonparametric bootstrap procedure. The FAR(1) bootstrap described in Section 3.2 is an alternative semi-parametric bootstrap procedure, which shows a superior accuracy in [13].

3.1. Sieve Bootstrap

The basic idea of the sieve bootstrap method of [14] is to generate a functional time series of pseudo-random elements X 1 * , X 2 * , , X n * , which appropriately imitate the dependence structure of the functional time series at hand. The sieve bootstrap begins with centering the observed functional time series by computing X t c = X t X ¯ n for t = 1 , 2 , , n . Via Karhunen–Loève representation, the random element X t can be decomposed in two parts:
X t = i = 1 ξ i , t v i = i = 1 m ξ i , t v i + i = m + 1 ξ i , t v i ,
where m denotes the number of retained functional principal components. While the first term on the right-hand side of (2) is considered the main driving part of X t , the second term is treated as a white noise component.
In the original work of [14], m was chosen by a generalized variance ratio criterion. The criterion relies on a threshold parameter, which can be arbitrary. Following the early work by [21], the value of m is determined as the integer minimizing ratios of two adjacent empirical eigenvalues given by
m = arg min 1 m m max λ ^ m + 1 λ ^ m × 1 λ ^ m λ ^ 1 τ + 1 λ ^ m λ ^ 1 < τ ,
where m max is a pre-specified positive integer, τ is a pre-specified small positive number, and 1 ( · ) is the binary indicator function. With prior knowledge about a possible maximum of m, it is unproblematic to choose a relatively large m max , e.g., m max = # { m | λ ^ m 1 n m = 1 n λ ^ m } [22]. Since small empirical eigenvalues λ ^ m are close to zero, we adopt the threshold constant τ = 1 ln [ max ( λ ^ 1 , n ) ] to ensure consistency of m.
We compute the sample variance operator 1 n t = 1 n X t c X t c , and extract the first m set of estimated orthonormal eigenfunctions ( v ^ i , i = 1 , 2 , , m ) corresponding to the m largest estimated eigenvalues. By projecting functions onto these orthonormal eigenfunctions, we obtain a m-dimensional multivariate time series of estimated scores; that is,
ξ ^ i , t = ( X t c , v ^ i ) , i = 1 , 2 , , m , t = 1 , 2 , , n ξ ^ t = ( ξ ^ 1 , t , , ξ ^ m , t )
We fit a vector autoregressive (VAR) process of order p to the time series of estimated scores;
ξ ^ t = j = 1 p A ^ j , p ξ ^ t j + e ^ t , t = p + 1 , p + 2 , , n ,
where ( A ^ 1 , p , , A ^ p , p ) is a set of regression coefficients at various lags from 1 to p, and e ^ t denotes the residuals after fitting the VAR(p) model to the m-dimensional, vector time series of estimated scores ξ ^ 1 , ξ ^ 2 , , ξ ^ n . The order p of the fitted VAR model is chosen using a corrected Akaike information criterion (AIC) [23], that is, by minimizing
AIC ( p ) = n log Σ ^ e , p + n ( n m + p m 2 ) n m ( p + 1 ) 1 ,
over a range of values of p, and Σ ^ e = 1 n t = p + 1 n e ^ t e ^ t is the variance of the residuals.
Given the VAR is an autoregressive process, it requires a burn-in period to eliminate the effects of starting values. With a burn-in sample of 50, we generate the vector time series of scores
ξ t * = j = 1 p A ^ j , p ξ t j * + e t * , t = 1 , 2 , , ( 50 + n ) ,
where we use the starting value ξ t * = ξ ^ t for t = 1 , 2 , , p . The bootstrap residuals e t * are i.i.d. resampled from the set of centered residuals { e ^ t e ¯ n , t = p + 1 , p + 2 , , n } , and e ¯ n = 1 n p t = p + 1 n e ^ t .
Through the Karhunen–Loève expansion in (2), we obtain bootstrap samples
X t * = X ¯ n + i = 1 m ξ t * v ^ i + U t , m * ,
where U t , m * are i.i.d. resampled from the set { U ^ t , m U ¯ n , t = 1 , 2 , , n } , U ¯ n = 1 n t = 1 n U ^ t , m and U ^ t , m = X t c i = 1 m ξ ^ i , t v ^ i . We discard the first 50 generated X t * observations and keep ( X 50 + 1 * , X 50 + 2 * , , X 50 + n * ) as the bootstrap generated pseudo time series.

3.2. Functional Autoregressive Bootstrap

When the weakly stationarity condition satisfies for a functional time series { X 1 , , X n } , a parametric estimator of the conditional mean can capture most of the correlation among functional time series. Among all parametric estimators, the FAR of order 1 is widely used; see [24], who derived one-step-ahead forecasts based on a regularized form of the Yule–Walker equations. We consider the FAR(1) model to estimate the conditional mean, and the model can be written as
X t = μ + ρ ( X t 1 μ ) + ϵ t , t = 2 , , n ,
where ϵ t denotes an error term with a mean of zero and ρ = Γ ( 1 ) / Γ ( 0 ) represents the first-order autocorrelation operator. From a set of functional time series, the variance and first-order autocovariance functions Γ ( 0 ) and Γ ( 1 ) are estimated by the sample variance and autocovariance
Γ ^ ( 0 ) = 1 n t = 1 n X t c X t c , Γ ^ ( 1 ) = 1 n t = 1 n 1 X t c X t + 1 c ,
where X t c = X t 1 n t = 1 n X t and ⊗ denotes a tensor product which is a means of combining vectors from different Hilbert spaces to form a new vector in a larger Hilbert space.
When the FAR(1) model is the correct parametric model for modeling the underlying data-generating process, the best linear predictor of X t c given the past values X t 1 c is given by
X ^ t c = ρ ^ X t 1 c ,
where ρ ^ = Γ ^ ( 1 ) / Γ ^ ( 0 ) . Since Γ ^ ( 0 ) may be unbounded, a regularization technique, such as ridge estimator, can be adopted (see, e.g., [24]). The ridge estimator adds a random noise to the Γ ^ ( 0 ) to make it invertible. The one-step-ahead residual function is then given by
ϵ ^ t = X t c X ^ t c , t = 2 , , n .
Let ϵ ^ t c = ϵ ^ t 1 n 1 t = 2 n ϵ ^ t be centered realizations of a stochastic process. The centering is important to ensure that the resulting bootstrap approximation is free of a random bias that does not vanish in the limit (see also [25]). The residual functions can be resampled with a replacement from the centered residual functions (see [13], Section 3.2 for more details).

4. Simulation Study

We introduce our simulation setup in Section 4.1, while the evaluation metrics are presented in Section 4.2. Simulation results for the FMA processes are shown in Section 4.3, while simulation results for the FAR processes are presented in Section 4.4.

4.1. Simulation Data Generating Processes (DGPs)

Let { B t ( u ) , < t < , u [ 0 , 1 ] } denote i.i.d. standard Brownian motions. Following [18], we generate a set of stationary functional time series from the following DGPs
FAR ϕ ( ω ) : X t ( u ) = k = 1 ω ϕ k X t k ( u ) + B t ( u ) FMA ψ ( q ) : X t ( u ) = B t ( u ) + ψ k = 1 q B t k ( u ) ,
where FAR ϕ ( ω ) is the functional analog of an autoregressive process of order ω , and FMA ψ ( q ) is the functional analog of a moving average process of order q. The coefficients ϕ k and ψ are scalar chosen to mimic various dependence structures. We consider a total of six DGPs: FAR 0.5 ( 1 ) , FAR ( 0.6 , 0.09 ) ( 2 ) , FMA 1 ( 0 ) , FMA 0.5 ( 1 ) , FMA 0.5 ( 4 ) , FMA 0.5 ( 8 ) .
In Figure 1, we show perspective plots of the long-run covariance function estimates from a set of samples following the FAR 0.5 ( 1 ) process. Using the kernel sandwich estimator in Section 2, we display the estimated long-run covariance function for n = 100 ,   300 ,   500 and the theoretical long-run covariance.
We compute the Hilbert–Schmidt norm of the difference between the estimated and actual long-run covariance functions. For this simulated example, the values of the Hilbert–Schmidt norm are 114, 58, and 47 when n = 100, 300, and 500, respectively. As the sample size increases, the Hilbert–Schmidt norm decreases for this data-generating process. This phenomenon practically justifies the kernel sandwich estimator can consistently estimate the population long-run covariance function.
To assess the strength of temporal dependence, we compute a functional analog of the autocorrelation function (ACF), defined as
γ ^ γ ^ 0 ( t , t ) d t ,
where · denotes the L 2 norm. Unlike the univariate ACF, functional ACF only measures the strength of the temporal dependency since γ ^ 0 . Proposed by [26], the functional ACF is a graphical indicator for the order selection of functional moving average (FMA) processes. Table 1 presents the estimated functional ACF averaged over 200 replications for 6 DGPs. The DGPs exhibit different levels of dependence structures. When the process follows an FMA 1 ( 0 ) , the autocorrelations at all lags are similar. When the process follows an FMA 0.5 ( 8 ) , there is still a strong dependence even at lag 5, highlighting a strong persistence in the functional time series.

4.2. Simulation Evaluation Metrics

Let C = ψ ( F 0 ) be the population long-run covariance whose distribution is unknown, where ψ is the function that defines C . Although the distribution of a statistic is unknown, we can approximate it by an empirical distribution of F 1 . Let X * = ( X 1 * , X 2 * , , X n * ) be a set of bootstrap sample of size n drawn from the empirical distribution F 1 . Let F 1 * be the estimate of F 0 re-computed from the bootstrap sample X * .
Let D ( C ^ n , C ) be the distance of the long-run covariance functions between the population and sample levels. Let D ( C ^ n * , C ^ n ) be the distance of the long-run covariance functions between the original and bootstrap samples.
To evaluate the finite-sample performance of the bootstrap procedures, we compute the bootstrap CIs of the long-run covariance. As a performance measure, L 2 distance metrics are used for constructing CIs. The Hilbert–Schmidt norm is defined as
T n C ( u , v ) C ^ n ( u , v ) HS = u I v I C ( u , v ) C ^ ( u , v ) 2 d u d v 1 2 .
Given a set of original functions { X 1 , X 2 , , X n } , we draw B = 400 bootstrap samples for each of the R = 200 replications. The same pseudo-random seed was used for all the procedures to ensure the same simulation randomness. We compute the Hilbert–Schmidt norm of the difference between the bootstrap and sample long-run covariance functions for each replication. By sorting the norm values, we find a threshold value, denoted by T n * , threshold , that 100 ( 1 α ) % of the norm values are included.
Based on 200 replications, we compute the empirical coverage probability as 1 200 r = 1 200 I r , where I r = 1 ( T n * , threshold T n ) and 1 { · } denotes a binary indicator function. Our evaluation procedure presents a partial view by only showing only the distributional approximation of C ( u , v ) C ^ n ( u , v ) HS by C ^ n * ( u , v ) C ^ n ( u , v ) HS instead of the distributional approximation of C ^ n ( u , v ) C ( u , v ) by C ^ n * ( u , v ) C ^ n ( u , v ) . Due to the infinite dimensionality of functional data, some estimators of an infinite-dimensional parameter may not have an asymptotic result [27].

4.3. Simulation Results of the FMA Processes

Based on the Hilbert–Schmidt norm introduced in (4), we could determine the empirical coverage probability, calculated as the ratio of the number of observations that fall into the constructed confidence intervals to the total number of observations. For a range of nominal coverage probabilities from 0.5 to 0.95 in a step of 0.05, we display the nominal and empirical coverage probabilities in Figure 2 for the four chosen FMA processes. As the order of FMA processes increases from lag 0 to 8, it becomes more difficult to estimate the long-run covariance function with the same sample size.
The sieve bootstrap is the method that follows comparably close to the nominal coverage probabilities. We calculate the coverage probability difference (CPD), the absolute difference between the empirical and nominal coverage probabilities. In Table 2, we present the average CPD values over a set of nominal coverage probabilities ranging from 0.5 to 0.95 in a step of 0.05. For the four FMA processes, the sieve bootstrap is generally recommended. The bootstrap methods produce relatively large CPD values as the temporal dependence increases. As the sample size n increases, the performance of the sieve bootstrap improves, but it is not necessary for the FAR bootstrap. A possible reason is the model misspecification issue between the chosen model and the data-generating process.

4.4. Simulation Results of the FAR Processes

In Figure 3, we display the nominal and empirical coverage probabilities for estimating the long-run covariance of stationary functional time series among the bootstrap methods. We consider two FAR processes in which the serial dependence changes from FAR ( 1 ) to FAR ( 2 ) . The FAR bootstrap method is recommended between the two bootstrap methods.
From Figure 3 and Table 3, the FAR bootstrap is the method that follows comparably close to the nominal coverage probabilities. When FAR(1) is the true data-generating process, the FAR bootstrap is expected to perform the best. When the model is misspecified, the FAR bootstrap still outperforms the sieve bootstrap, reflecting some degree of model robustness. From the averaged CPD values, the FAR bootstrap is recommended with the smallest values for the two FAR processes. As the sample size increases from n = 100 to 300, the CPD values decrease for the bootstrap methods.

5. Monthly Sea Surface Temperature

We consider a time series of average monthly sea surface temperatures in degrees Celsius from January 1950 to December 2020, available online at https://www.cpc.ncep.noaa.gov/data/indices/ersst5.nino.mth.91-20.ascii (accessed on 31 January 2024). These sea surface temperatures are measured by moored buoys in the “Niño region” defined by the coordinates 0– 10 South and 90 80 , West. In this case, each curve represents one year of observed sea surface temperatures. There are N = 852 discrete univariate time series data points, which are converted into n = 71 monthly curves. The discretized functional time series, which consists of δ = N / n discrete data points, is given by
X t ( u i ) = { x w , w ( δ ( t 1 ) , δ t ] } , t = 1 , 2 , , n ,
where i = 1 , 2 , , 12 denotes 12 discrete data points within a year. A univariate time series display of the monthly sea surface temperature is given in Figure 4a, with the same data shown in Figure 4b as a time series of functions.
We examine the stationarity assumption of this dataset by applying a test procedure of [28]. Under the null hypothesis that the functional time series is stationary, based on the p-value of 0.684, we cannot reject the null hypothesis at the customarily 5% level of significance.
We apply the sieve bootstrap method to construct 80% confidence intervals of the long-run covariance function of the dataset. The sample estimated long-run covariance is shown in Figure 5a, and the lower and upper bounds of the 80% CIs are shown in Figure 5b and Figure 5c, respectively.

6. Conclusions

We apply two bootstrap methods, namely the sieve and FAR bootstrap methods, to generate bootstrap samples of stationary functional time series. Via a series of simulation studies, we study several data-generating processes for stationary functional time series. The data-generating processes can be split into the FMA and FAR processes. We compute the distance between the sample and population long-run covariance functions for each data-generating process. For each bootstrap sample, we estimate its long-run covariance function and compute its distance from the sample’s long-run covariance. With the two distances from 200 replications, we compute empirical coverage probability for a set of nominal coverage probabilities ranging from 0.5 to 0.95 in a step of 0.05. The sieve bootstrap is generally recommended when the data-generating process is generated from the FMA processes. The FAR bootstrap is advocated when the data-generating process stems from the FAR processes. To determine whether a functional time series is generated from a FAR process, one can apply a hypothesis test of [29].
Our finding highlights the importance of model specification for stationary functional time series and further confirms the estimation difficulty associated with strongly dependent functional time series. The bootstrap validity hinges on the existence of the fourth-order moment and works for Gaussian processes. If the underlying process is non-Gaussian, the bootstrap is known to fail (cf. [30,31]). This is because the variance of the limiting distributions depends on the fourth-order cumulants; the bootstrap may not approximate these fourth-order cumulants. The hypothesis tests of [32] are useful for testing the normality of functional time series. In future research, one may develop hypothesis tests to examine whether or not a stochastic process is generated from a heavy-tailed distribution with an infinite second or fourth moment.

Funding

This research received no external funding.

Data Availability Statement

The monthly sea surface temperature data set is publicly available from https://www.cpc.ncep.noaa.gov/data/indices/ersst5.nino.mth.91-20.ascii (accessed on 4 January 2024).

Acknowledgments

The author is grateful for the comments from three reviewers and thanks Professor Efstathios Paparoditis for fruitful discussions on the sieve bootstrap.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hörmann, S.; Kokoszka, P. Functional time series. In Handbook of Statistics; Rao, T.S., Rao, S.S., Eds.; Elsevier: Amsterdam, The Netherlands, 2012; Volume 30, pp. 157–186. [Google Scholar]
  2. Kokoszka, P.; Rice, G.; Shang, H.L. Inference for the autocovariance of a functional time series under conditional heteroscedasticity. J. Multivar. Anal. 2017, 162, 32–50. [Google Scholar] [CrossRef]
  3. Andersen, T.G.; Su, T.; Todorov, V.; Zhang, Z. Intraday periodic volatility curves. J. Am. Stat. Assoc. Theory Methods 2023, in press. [Google Scholar] [CrossRef]
  4. Ferraty, F.; Vieu, P. Nonparametric Functional Data Analysis: Theory and Practice; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  5. Ramsay, J.O.; Silverman, B.W. Functional Data Analysis; Springer: New York, NY, USA, 2005. [Google Scholar]
  6. Kokoszka, P.; Reimherr, M. Introduction to Functional Data Analysis; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
  7. Peña, D.; Tsay, R.S. Statistical Learning for Big Dependent Data; Wiley: Hoboken, NJ, USA, 2021. [Google Scholar]
  8. Politis, D.N. The impact of bootstrap methods on time series analysis. Stat. Sci. 2003, 18, 219–230. [Google Scholar] [CrossRef]
  9. Hörmann, S.; Kidzinski, L.; Hallin, M. Dynamic functional principal components. J. R. Stat. Soc. Ser. B 2015, 77, 319–348. [Google Scholar] [CrossRef]
  10. Franke, J.; Nyarige, E.G. A residual-based bootstrap for functional autoregressions. Working paper, Technische Universität Kaiserslautern. arXiv 2019, arXiv:abs/1905.07635. [Google Scholar]
  11. Nyarige, E.G. The Bootstrap for the Functional Autoregressive Model FAR(1). Ph.D. Thesis, Technische Universität Kaiserslautern, Kaiserslautern, Germany, 2016. Available online: https://kluedo.ub.uni-kl.de/frontdoor/index/index/year/2016/docId/4410 (accessed on 31 January 2023).
  12. Pilavakis, D.; Paparoditis, E.; Sapatinas, T. Moving block and tapered block bootstrap for functional time series with an application to the K-sample mean problem. Bernoulli 2019, 25, 3496–3526. [Google Scholar] [CrossRef]
  13. Shang, H.L. Bootstrap methods for stationary functional time series. Stat. Comput. 2018, 28, 1–10. [Google Scholar] [CrossRef]
  14. Paparoditis, E. Sieve bootstrap for functional time series. Ann. Stat. 2018, 46, 3510–3538. [Google Scholar] [CrossRef]
  15. Ferraty, F.; Vieu, P. Kernel regression estimation for functional data. In The Oxford Handbook of Functional Data Analysis; Ferraty, F., Ed.; Oxford University Press: Oxford, UK, 2011; pp. 72–129. [Google Scholar]
  16. Zhu, T.; Politis, D.N. Kernel estimates of nonparametric functional autoregression models and their bootstrap approximation. Electron. J. Stat. 2017, 11, 2876–2906. [Google Scholar] [CrossRef]
  17. Paparoditis, E.; Shang, H.L. Bootstrap prediction bands for functional time series. J. Am. Stat. Assoc. Theory Methods 2023, 118, 972–986. [Google Scholar] [CrossRef]
  18. Rice, G.; Shang, H.L. A plug-in bandwidth selection procedure for long run covariance estimation with stationary functional time series. J. Time Ser. Anal. 2017, 38, 591–609. [Google Scholar] [CrossRef]
  19. Franke, J.; Hardle, W. On bootstrapping kernel spectral estimate. Ann. Stat. 1992, 20, 121–145. [Google Scholar] [CrossRef]
  20. Politis, D.N.; Romano, J.P. On flat-top spectral density estimators for homogeneous random fields. J. Stat. Plan. Inference 1996, 51, 41–53. [Google Scholar] [CrossRef]
  21. Li, D.; Robinson, P.M.; Shang, H.L. Long-range dependent curve time series. J. Am. Stat. Assoc. Theory Methods 2020, 115, 957–971. [Google Scholar] [CrossRef]
  22. Ahn, S.C.; Horenstein, A.R. Eigenvalue ratio test for the number of factors. Econometrica 2013, 81, 1203–1227. [Google Scholar]
  23. Hurvich, C.M.; Tsai, C.-L. A corrected Akaike information criterion for vector autoregressive model selection. J. Time Ser. Anal. 1993, 14, 271–279. [Google Scholar] [CrossRef]
  24. Bosq, D. Linear Processes in Function Spaces; Lecture notes in Statistics; Springer: New York, NY, USA, 2000. [Google Scholar]
  25. Lahiri, S.N. Resampling Methods for Dependent Data; Springer: New York, NY, USA, 2003. [Google Scholar]
  26. Mestre, G.; Portela, J.; Rice, G.; Roque, A.M.S.; Alonso, E. Functional time series model identification and diagnosis by means of auto- and partial autocorrelation analysis. Comput. Stat. Data Anal. 2021, 155, 107108. [Google Scholar] [CrossRef]
  27. Cardot, H.; Mas, A.; Sarda, P. CLT in functional linear regression models. Probab. Theory Relat. Fields 2007, 138, 325–361. [Google Scholar] [CrossRef]
  28. Horváth, L.; Kokoszka, P.; Rice, G. Testing stationarity of functional time series. J. Econom. 2014, 179, 66–82. [Google Scholar] [CrossRef]
  29. Kokoszka, P.; Reimherr, M. Determining the order of the functional autoregressive model. J. Time Ser. Anal. 2013, 34, 116–129. [Google Scholar] [CrossRef]
  30. Kreiss, J.-P.; Paparoditis, E.; Politis, D.N. On the range of validity of the autoregressive sieve bootstrap. Ann. Stat. 2011, 39, 2103–2130. [Google Scholar]
  31. Paparoditis, E.; Meyer, M.; Kreiss, J.-P. Extending the validity of frequency domain bootstrap methods to general stationary processes. Annals of Statistics 2020, 48, 2404–2427. [Google Scholar]
  32. Górecki, T.; Hörmann, S.; Horváth, L.; Kokoszka, P. Testing normality of functional time series. J. Time Ser. Anal. 2018, 39, 471–487. [Google Scholar] [CrossRef]
Figure 1. Three-dimensional perspective plots of the long-run covariance function estimators with simulated data from the FAR 0.5 ( 1 ) model using the sandwich estimator with a plug-in bandwidth selection method of [18] for sample sizes of n = 100, 300, and 500 along with the theoretical long-run covariance (lower right).
Figure 1. Three-dimensional perspective plots of the long-run covariance function estimators with simulated data from the FAR 0.5 ( 1 ) model using the sandwich estimator with a plug-in bandwidth selection method of [18] for sample sizes of n = 100, 300, and 500 along with the theoretical long-run covariance (lower right).
Forecasting 06 00008 g001
Figure 2. Empirical vs. nominal coverage probabilities of the four FMA processes when n = 100 (left column) and n = 300 (right column).
Figure 2. Empirical vs. nominal coverage probabilities of the four FMA processes when n = 100 (left column) and n = 300 (right column).
Forecasting 06 00008 g002aForecasting 06 00008 g002b
Figure 3. Empirical vs. nominal coverage probability of the FAR processes when n = 100 (left column) and n = 300 (right column).
Figure 3. Empirical vs. nominal coverage probability of the FAR processes when n = 100 (left column) and n = 300 (right column).
Forecasting 06 00008 g003
Figure 4. Graphical displays of monthly measurements of the sea surface temperatures from January 1950 to December 2020: (a) a univariate time series display; (b) a functional time series display via rainbow plot. The curves in the distant past are shown in red, while the most recent curves are shown in purple.
Figure 4. Graphical displays of monthly measurements of the sea surface temperatures from January 1950 to December 2020: (a) a univariate time series display; (b) a functional time series display via rainbow plot. The curves in the distant past are shown in red, while the most recent curves are shown in purple.
Forecasting 06 00008 g004
Figure 5. Sample long-run covariance function estimated by the kernel sandwich estimator, and the estimated 80% lower and upper bounds of the estimated long-run covariance function: (a) sample; (b) lower bound; and (c) upper bound.
Figure 5. Sample long-run covariance function estimated by the kernel sandwich estimator, and the estimated 80% lower and upper bounds of the estimated long-run covariance function: (a) sample; (b) lower bound; and (c) upper bound.
Forecasting 06 00008 g005
Table 1. Estimated functional ACF averaged over 200 replications for various DGPs.
Table 1. Estimated functional ACF averaged over 200 replications for various DGPs.
DGP lag 1 lag 2 lag 3 lag 4 lag 5
FAR 0.5 ( 1 ) 0.39790.19670.12980.11720.1112
FAR ( 0.6 , 0.09 ) ( 2 ) 0.43960.19140.12420.11780.1140
FMA 1 ( 0 ) 0.09230.09300.09120.09220.0959
FMA 0.5 ( 1 ) 0.39610.11230.11130.11070.1153
FMA 0.5 ( 4 ) 0.63650.46470.30550.18490.1653
FMA 0.5 ( 8 ) 0.70680.59860.49740.40240.3134
Table 2. When the data-generating processes are the FMA processes, we compute the averaged CPD over a set of nominal coverage probabilities from 0.5 to 0.95 in a step of 0.05 between the FAR and sieve bootstrap methods.
Table 2. When the data-generating processes are the FMA processes, we compute the averaged CPD over a set of nominal coverage probabilities from 0.5 to 0.95 in a step of 0.05 between the FAR and sieve bootstrap methods.
n = 100 n = 300
FAR BootstrapSieve BootstrapFAR BootstrapSieve Bootstrap
FMA 1 ( 0 ) 0.10100.05250.15600.0490
FMA 0.5 ( 1 ) 0.08450.12800.12800.0825
FMA 0.5 ( 4 ) 0.49050.39350.23100.3105
FMA 0.5 ( 8 ) 0.72500.62450.68700.5590
Table 3. When the data-generating processes are the FAR processes, we compute the averaged CPD over a set of nominal coverage probabilities from 0.5 to 0.95 in a step of 0.05 among the FAR and sieve bootstrap methods.
Table 3. When the data-generating processes are the FAR processes, we compute the averaged CPD over a set of nominal coverage probabilities from 0.5 to 0.95 in a step of 0.05 among the FAR and sieve bootstrap methods.
n = 100 n = 300
FAR Bootstrap Sieve Bootstrap FAR Bootstrap Sieve Bootstrap
FAR 0.5 ( 1 ) 0.18800.33900.09100.2535
FAR 0.6 , 0.09 ( 2 ) 0.14750.26500.11800.2015
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.

Share and Cite

MDPI and ACS Style

Shang, H.L. Bootstrapping Long-Run Covariance of Stationary Functional Time Series. Forecasting 2024, 6, 138-151. https://doi.org/10.3390/forecast6010008

AMA Style

Shang HL. Bootstrapping Long-Run Covariance of Stationary Functional Time Series. Forecasting. 2024; 6(1):138-151. https://doi.org/10.3390/forecast6010008

Chicago/Turabian Style

Shang, Han Lin. 2024. "Bootstrapping Long-Run Covariance of Stationary Functional Time Series" Forecasting 6, no. 1: 138-151. https://doi.org/10.3390/forecast6010008

Article Metrics

Back to TopTop