EconBase
← Back to paper

Inference on common trends in functional time series

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

154,221 characters · 19 sections · 101 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

-1cm Inference on common trends in functional time series

abstractWe study statistical inference on unit roots and cointegration for time series in a Hilbert space. We develop statistical inference on the number of common stochastic trends embedded in the time series, i.e., the dimension of the nonstationary subspace. We also consider tests of hypotheses on the nonstationary and stationary subspaces themselves. The Hilbert space can be of an arbitrarily large dimension, and our methods remain asymptotically valid even when the time series of interest takes values in a subspace of possibly unknown dimension. This has wide applicability in practice; for example, to cointegrated vector time series that are either high-dimensional or of finite dimension, to high-dimensional factor models that include a finite number of nonstationary factors, to cointegrated curve-valued (or function-valued) time series, and to nonstationary dynamic functional factor models. To illustrate our methods, we include two empirical examples. JEL codes: C32. MSC 2010: primary 62G99, 62H99; secondary 62H25, 62M10, 91B84. Keywords: cointegration, common trends, functional data, high-dimensional data, nonstationarity, stochastic trends, variance ratio.

Introduction

We consider statistical inference on unit roots and common stochastic trends for time series taking values in a Hilbert space of arbitrary dimension or a subspace of possibly unknown dimension. An important first step in the analysis of such time series is the determination of the dimension of the nonstationary subspace, i.e., the subspace in which the time series behaves like a unit root process (see Section (ref)). This dimension is the number of common stochastic trends. Our objectives are to test hypotheses on the dimension of the nonstationary subspace as well as hypotheses on the stationary and nonstationary subspaces themselves.

Since we want to examine nonstationary time series in a possibly unknown-dimensional subspace of a Hilbert space $\mathcal H$, our tests need to be statistically valid regardless of (i) whether the dimension of the space in which the time series takes values is finite or not and (ii) whether the dimension is known in advance or not. That is, the tests need to be (at least asymptotically) invariant to the dimensionality of the time series, and due to this property they will be called Asymptotically Dimension Invariant (ADI) tests.

This is especially relevant in the recent literature on functional time series, where it is both empirically and theoretically supported that nonstationarity tends to be driven by a finite-dimensional process Chang2016,BS2018,Franchi2017b,LRS2020,LRS2020nonst,NSS. Even when a function-valued random element can be accommodated in a finite-dimensional space, and thus can be represented by a finite number of basis functions, its dimension is generally unknown and large. In such cases, most existing cointegration rank tests are not applicable since they require either finite (preferably small) dimensionality or a priori information on the dimensionality of the time series; this is true even for recently developed cointegration tests for high-dimensional time series Onatski2018,BG2022,BG2023.

Our testing procedures have wide applicability in practice. For example, they can be used with (i) cointegrated vector time series of finite dimension SW1988,Johansen1991, (ii) high-dimensional factor models with a finite number of nonstationary factors NelsonSiegel87,PENA2004291,PENA20061237, (iii) cointegrated curve-valued (or function-valued) time series Chang2016,NSS, and (iv) nonstationary dynamic functional factor models martinez2020nonparametric.

\phantomsectionOur approach to developing ADI tests utilizes a dimension-reduction method that projects a high-dimensional or functional time series onto a fixed $\mathrm{K}$-dimensional subspace. This projection is constructed such that, asymptotically, the $\mathrm{K}$-dimensional projected component includes all stochastic trends, while the residual component (of unknown or possibly infinite dimension) contains no information regarding these trends. By constructing test statistics solely from the projected series, we effectively bypass interference from the residual component, ensuring that the resulting inference is inherently ADI. The analysis proceeds by examining generalized eigenvalues of two variance operators associated with the projected time series. Thus, the proposed tests will be classified as variance ratio-type tests, and some are generalizations of existing tests (Remark (ref) and Appendix (ref)). Variance ratio tests have desirable properties for the study of nonstationary time series. First, they can avoid estimation of the long-run variance, which implies a consistency property not shared by other tests muller2007,muller2008. Second, the limiting behavior of the tests does not depend on a parametric assumption, such as a vector autoregression. As shown in the finite-dimensional case, finite-sample properties of parametric cointegration rank tests, such as those proposed by SW1988,Ahn1990,Johansen1991,Bewley1995,Ahn1997, depend crucially on the model specification; see Toda1995,Haug1996,Bewley1998. \phantomsectionThird, many parametric assumptions, e.g.\ autoregressive structures, are not preserved under projection, and tests relying on such assumptions cannot generally be ADI (Remark (ref)). In these regards, nonparametric variance ratio tests are appealing.

Our theoretical results can be summarized by the following four points. First, we provide limit theory for general variance ratio-type statistics based on partial summation and/or differencing, and this limit theory is applied to obtain our ADI inferential methods. Second, we apply our ADI tests sequentially to determine the dimension of the nonstationary subspace via either a top-down, bottom-up, or hybrid approach. The bottom-up does not require the choice of an initial hypothesis, but the top-down has better finite-sample properties, while the hybrid combines these advantages. Third, we consider also a direct estimator of the dimension of the nonstationary subspace based on ratios of generalized eigenvalues. This is similar to estimation of the dimension of the “dominant subspace” in LRS2020,LRS2020nonst and may be considered complementary to their estimator for curve-valued time series and to those in Zhang2018, Zhang_et_al2019, and Franchi2023 for vector-valued time series. Fourth, we consider hypothesis testing on the nonstationary or stationary subspaces.

Comparisons with existing work

First, we view the time series of interest, $\{X_t\}_{t\geq 1}$, as a sequence in a known Hilbert space $\mathcal H$, but allow for the possibility that $\{X_t\}_{t \geq 1}$ takes values only in a subspace of $\mathcal H$. In the latter case, the variance operator of $X_t$ is singular on $\mathcal H$ and may allow only finitely many nonzero eigenvalues even in an infinite-dimensional setting. This violates the common assumption in the literature of having sufficiently many (often infinitely many) nonzero eigenvalues. Of course, the eigenstructure of such a population variance operator is not known in practice, and assuming that infinitely many eigenvalues are nonzero may not only be unrealistic but is also not testable. For example, each functional observation of interest could be constructed by only a finite number of discrete and regularly spaced points on a grid of the domain, and such empirical examples can easily be found in the literature; see e.g., NSS (age-specific employment rates), LRS2020nonst (US treasury yield curves, in the working paper version), and Section (ref). This poses an obstacle to the use of existing methods, and this is precisely where our ADI inference methods have a distinctive advantage over existing ones. As will be detailed, our methods are designed to be asymptotically valid under a more general scenario where the (long-run) variance operator of the stationary part of $X_t$ permits only a few nonzero eigenvalues (we also provide analysis on the exact number of nonzero eigenvalues required for the proposed tests). In comparison, existing methods rule out this possibility by assumption (including our own recent work, NSS). Thus, our methodology can accommodate more general and realistic functional time series.

Second, the common requirement of infinitely many nonzero eigenvalues for existing methods distinguishes them from cointegration rank tests developed in a finite-dimensional setting, where any variance operator necessarily permits only finitely many nonzero eigenvalues. We show a natural connection between our ADI tests and well-known tests for cointegration (or stationarity) developed in a finite-dimensional setting, and we find that our ADI tests generalize those tests. Furthermore, we demonstrate that, in specific cases, our ADI tests reduce to some recently developed tests for nonstationary functional time series. These results imply that some well-known tests, developed in both conventional and functional setups, can be understood as special cases of our ADI tests, thereby bridging the gap between them.

Third, the advantages of our methods lie not only in their applicability to a more general setting but also in their practical usefulness for real datasets. Many existing methods require a reasonable conjecture on the maximum possible number of stochastic trends Chang2016,LRS2020nonst,NSS. Although some rule-of-thumb choices can be used in practice, such as those based on the scree plot, a more formal procedure may be preferable. The current study complements this aspect by providing a testing procedure based on a generalized version of the functional KPSS test Horvath2014 that can be used in practice to construct an upper bound.

Fourth, we provide statistical inference on the space spanned by stochastic trends based on our ADI tests. Specifically, we can test whether a particular subspace of interest is contained in the nonstationary subspace, spans the nonstationary subspace, or is contained in the stationary subspace. We illustrate the empirical usefulness of these tests in Section (ref) in the context of the well-known NelsonSiegel87 model.

Compared with our earlier work in NSS, all four preceding points apply (see Appendix (ref)). Also, in NSS we only considered a particular variance ratio statistic (VR(2,1) under more restrictive assumptions than in Section (ref) below), whereas in this paper we consider a family of statistics as well as eigenvalue ratio estimators.

Compared with recent work on cointegration testing in high-dimensional vector autoregressive (VAR) processes Onatski2018,BG2022,BG2023, our setup is fundamentally different. They allow only a finite number of cointegrating vectors, whereas our setup requires that the number of stochastic trends is finite and hence is more suitable when nonstationarity is driven by a small number of factors. Interestingly, under the assumption of compact autoregressive operators widely adopted in the literature, a function-valued VAR implies that the number of stochastic trends is finite (Remark (ref)). Moreover, our setup does not rely on a VAR structure, and it covers intrinsically infinite-dimensional time series which theirs does not. Finally, our tests can be naturally applied to determine the number of stochastic trends while their tests are for the existence of cointegration and cannot immediately be applied as cointegration rank tests. In general, therefore, their tests serve a different purpose and may be viewed as complementary; see also Remark (ref).

\phantomsectionIn concurrent work, LiLiPhillips2025 investigated common stochastic trends within a more complex framework involving a growing number of curve-valued time series. Such data, often referred to as high-dimensional functional time series (e.g., Tang2025), can be understood as an integration of high-dimensional time series analysis and functional data analysis. They proposed an approximate factor model for such data and developed inferential methods, including a consistent estimator for the low-dimensional stochastic trends that drive the nonstationarity of the high-dimensional functional series. While the present setup does not accommodate their framework, the exploration of a possible extension of our methodology to their setting may be an interesting avenue for future research.

The remainder is organized as follows. Section (ref) introduces I(1) time series in Hilbert space, and Section (ref) presents our ADI variance ratio tests. Section (ref) discusses determination of the dimension of the nonstationary subspace via sequential testing or via eigenvalue ratio estimation. In Section (ref) we discuss testing hypotheses about the subspaces. Section (ref) presents Monte Carlo simulations, and Section (ref) presents two empirical applications to the term structure of interest rates and to labor market indices. Finally, Section (ref) concludes. The appendix contains mathematical notation, details, and proofs, and a supplementary appendix includes a practical implementation guide, additional discussion, simulations, and proofs.

I(1) time series and stochastic trends in Hilbert space

\phantomsectionWe consider a cointegrated linear I(1) process $X_t$ taking values in a separable Hilbert space, $\mathcal H$, equipped with an inner product $\langle v_1, v_2 \rangle$ and the induced norm $\|v_1\| = \langle v_1,v_1 \rangle^{1/2}$ for $v_1,v_2\in \mathcal H$, as defined by Beare2017. For stationary time series in $\mathcal H$, the real-valued sequence $\langle X_t,v \rangle$ must be stationary for all possible choices of $v \in \mathcal H$ (see Proposition 3.1 and its proof in Beare2017). For example, if $\mathcal H$ is the standard $L^2[a,b]$ Hilbert space and hence $X_t(r)$ is a function defined on $[a,b]$, then $\langle X_t,v \rangle = \int_a^b X_t(r)v(r)dr$ may be viewed as a continuous linear combination of $X_t(r)$. For many empirical applications involving economic functional time series, stationarity is too restrictive Chang2016,SEO2019,NSS. Thus, we consider a sequence of $X_t$ that allows $\langle X_t, v\rangle$ to be either I(1) nonstationary or I(0) stationary. It is then important to characterize under what choices of $v\in \mathcal H$ that $\langle X_t, v\rangle$ becomes stationary or nonstationary, which leads to notions of stationary and nonstationary subspaces. We next discuss this in more detail.

Let $\{ X_t \}_{t \geq 1}$ be a sequence whose first difference, denoted $\Delta X_t$, satisfies

equation[equation omitted — 105 chars of source]

where $\{ \epsilon_t \}_{t \in \mathbb{Z}}$ is an independent and identically distributed (iid) sequence with $\operatorname{\mathbb{E}} [\epsilon_t] = 0$, $\operatorname{\mathbb{E}} [\|\epsilon_t\|^{4}] < \infty$, and positive definite variance $C_\epsilon$. We further assume that $\{\Phi_j \}_{j \geq 0}$ is a sequence of bounded, linear operators satisfying

equation[equation omitted — 172 chars of source]

where $\Vert \cdot\Vert_{\operatorname{op}}$ denotes the operator norm. Then the long-run variance of $\Delta X_t$ is well defined as $\Lambda_{\Delta X} = \Phi(1) C_\epsilon \Phi (1)^\ast \neq 0$; see Beare2017. Any stationary sequence with nonzero long-run variance is I(0). Hence, because $\{\Delta X_t\}_{t\geq1}$ satisfying \hyperref[{eqlinear}]{\tagform@{\ref*{eqlinear}}} and \hyperref[{eqlinear2}]{\tagform@{\ref*{eqlinear2}}} is necessarily stationary and $\Lambda_{\Delta X}\neq 0$, it is I(0) by construction, so that $\{ X_t \}_{t \geq 1}$ is I(1). The summability condition in \hyperref[{eqlinear2}]{\tagform@{\ref*{eqlinear2}}} is common in the unit root literature PS1992.

Let $\mathcal H_{\mathsf{S}} = \ker \Lambda_{\Delta X}$ denote the kernel of $\Lambda_{\Delta X}$ and let $\mathcal H_{\mathsf{N}}=\mathcal H_{\mathsf{S}}^\perp$ be its orthogonal complement. We call $\mathcal H_{\mathsf{S}}$ and $\mathcal H_{\mathsf{N}}$ the stationary (cointegrating) subspace and nonstationary (attractor) subspace, respectively. These names are related to some distinctive properties possessed by elements in those spaces.

First, it follows from Beare2017 that $\langle X_t , v \rangle$ is stationary for $v \in \mathcal H_\mathsf{S}$ and nonstationary for $v \notin \mathcal H_\mathsf{S} = \mathcal H_{\mathsf{N}}^{\perp}$. In fact, we will allow $X_t$ to take values only in a strict subspace of unknown dimension. For all $v$ that are in the orthogonal complement of the strict subspace it holds that $\langle X_t,v\rangle =0$, and hence also $\langle \Delta X_t,v\rangle =0$ with long-run variance $\langle v, \Lambda_{\Delta X} v \rangle =0$. Because $\Lambda_{\Delta X}$ is self-adjoint and nonnegative, this implies that $v \in \ker \Lambda_{\Delta X}$ and thus $v \in \mathcal H_{\mathsf{S}}$. In general, it therefore follows that if $v \in \mathcal H_{\mathsf{S}}$ then $\{\langle X_t, v\rangle\}_{t \geq 1}$ is either a stationary random sequence or equal to zero almost surely (in which case it is also stationary).

Second, regarding $\mathcal H_{\mathsf{N}}$, we will assume throughout that

equation[equation omitted — 103 chars of source]

If \hyperref[{eqfinite}]{\tagform@{\ref*{eqfinite}}} is true, we say that $\{X_t\}_{t\geq1}$ contains ${\mathbbm{d}_{\mathsf{N}}}$ stochastic trends. To see this in detail, we note that $\{X_t\}_{t\geq 1}$ satisfying \hyperref[{eqlinear}]{\tagform@{\ref*{eqlinear}}} and \hyperref[{eqlinear2}]{\tagform@{\ref*{eqlinear2}}} allows the decomposition

equation[equation omitted — 103 chars of source]

where $\nu_t = \sum_{j=0} ^\infty \tilde \Phi_j \epsilon_{t-j} $ and $\tilde \Phi_j = -\sum_{s=j+1} ^\infty \Phi_s$; see PS1992. From the summability condition in \hyperref[{eqlinear2}]{\tagform@{\ref*{eqlinear2}}}, we also find that $\sum_{j=0}^\infty j \|\tilde \Phi_j\|_{\operatorname{op}}<\infty$. It is known Beare2017 that $\mathcal H_{\mathsf{N}}$ is the closure of $\operatorname{ran} \Phi(1)$. Thus, under \hyperref[{eqbn}]{\tagform@{\ref*{eqbn}}} we have

align*[align* omitted — 241 chars of source]

Since the random walk component in \hyperref[{eqbn}]{\tagform@{\ref*{eqbn}}} clearly takes values in $\mathcal H_{\mathsf{N}}$ and $\dim (\mathcal H_{\mathsf{N}}) = {\mathbbm{d}_{\mathsf{N}}}$, we say that $\{X_t\}_{t\geq1}$ contains ${\mathbbm{d}_{\mathsf{N}}}$ stochastic trends.

Since $\dim (\mathcal H_{\mathsf{N}}) = \dim (\operatorname{ran}\Phi(1)) = \operatorname{rank} (\Phi(1))$, the projection onto $\mathcal H_{\mathsf{N}}$, denoted $P_{\mathsf{N}}$, is a finite-rank operator of rank ${\mathbbm{d}_{\mathsf{N}}}$ under \hyperref[{eqfinite}]{\tagform@{\ref*{eqfinite}}}, regardless of whether $\dim (\mathcal H)$ is finite or not. However, the rank of the projection onto $\mathcal H_{\mathsf{S}}$, denoted $P_{\mathsf{S}} = I - P_\mathsf{N}$ with $I$ denoting the identity operator on $\mathcal H$, depends on $\dim (\mathcal H)$. Specifically, the rank is $p-{\mathbbm{d}_{\mathsf{N}}}$ if $\mathcal H = \mathbb R^p$, while it is $\infty$ if $\mathcal H$ is infinite-dimensional. Importantly, even in the latter case, if $X_t$ only takes values in a strict subspace of dimension $p_X$, then the (long-run) variance of $\{P_{\mathsf{S}}X_t\}_{t \geq 1}$ is not injective on $\mathcal H_{\mathsf{S}}$ and allows at most $p_X-{\mathbbm{d}_{\mathsf{N}}}$ nonzero eigenvalues, which may be only finitely many.

remarkThe representation in \hyperref[{eqlinear}]{\tagform@{\ref*{eqlinear}}} and \hyperref[{eqbn}]{\tagform@{\ref*{eqbn}}} is that of a typical cointegrated vector- or curve-valued time series. However, it is also closely related to nonstationary vector- or curve-valued dynamic factor models, where $X_t$ allows the representation \begin{equation} X_t = \sum_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}} \beta^{\mathsf{N}}_{j,t} f^{\mathsf{N}}_j +\sum_{j=1}^{{\mathbbm{d}_{\mathsf{S}}}} \beta^{\mathsf{S}}_{j,t} f^{\mathsf{S}}_j + e_t, \quad \operatorname{span}\{f_j^{\mathsf{N}}\}_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}} \subseteq \mathcal H, \quad \operatorname{span}\{f_j^{\mathsf{S}}\}_{j=1}^{{\mathbbm{d}_{\mathsf{S}}}} \subseteq \mathcal H . \end{equation} Here, ${\mathbbm{d}_{\mathsf{N}}}$ and ${\mathbbm{d}_{\mathsf{S}}}$ are nonnegative integers that can be infinite if $\dim(\mathcal H)=\infty$, $\{\beta_{j,t}^{\mathsf{N}}\}_{j\geq 1}$ is a real-valued I(1) sequence, $\{\beta^{\mathsf{S}}_{j,t}\}_{j \geq 1}$ is a real-valued stationary sequence, and $\{e_t\}_{t\geq 1}$ is a $\mathcal H$-valued centered iid sequence with bounded variance operator. In fact, $\{X_t\}_{t\geq 1}$ satisfying \hyperref[{eqlinear}]{\tagform@{\ref*{eqlinear}}} with compact, self-adjoint $\Phi_j$ can always be written as \hyperref[{eqfactor}]{\tagform@{\ref*{eqfactor}}} martinez2020nonparametric. If ${\mathbbm{d}_{\mathsf{N}}} < \infty$, ${\mathbbm{d}_{\mathsf{S}}} < \infty$, and $e_t$ is a curve-valued random element, \hyperref[{eqfactor}]{\tagform@{\ref*{eqfactor}}} is the functional nonstationary dynamic factor model considered by martinez2020nonparametric, and in that case, $X_t$ is a nonstationary time series in $\mathcal H$, but $\langle X_t,v \rangle$ is stationary if and only if $v$ is orthogonal to every $f^{\mathsf{N}}_j$ (i.e, $\mathcal H_{\mathsf{N}}=\operatorname{span}\{f^{\mathsf{N}}_j\}_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}}$ and $\mathcal H_{\mathsf{S}}$ is its orthogonal complement). See also PENA2004291,PENA20061237 for related discussion in a Euclidean space setting.
remarkIn the context of a high-dimensional cointegrated time series, the existing literature considers vector time series of dimension $p \to \infty$, but ${\mathbbm{d}_{\mathsf{N}}} /p \to 1$ as $p \to \infty$ and $T \to \infty$, while this paper considers the case where ${\mathbbm{d}_{\mathsf{N}}}$ is fixed regardless of the dimension $p$. Specifically, Onatski2018 and BG2022,BG2023 studied tests for existence of cointegration in a high-dimensional setup, but not for cointegration rank or the number of stochastic trends, ${\mathbbm{d}_{\mathsf{N}}}$. In contrast with our condition \hyperref[{eqfinite}]{\tagform@{\ref*{eqfinite}}} that ${\mathbbm{d}_{\mathsf{N}}}<\infty$, they assume that ${\mathbbm{d}_{\mathsf{N}}}$ increases such that $(p-{\mathbbm{d}_{\mathsf{N}}})/p \to 0$ and ${\mathbbm{d}_{\mathsf{N}}}/p \to 1$; that is, the cointegration rank ($p-{\mathbbm{d}_{\mathsf{N}}}$) is negligible relative to ${\mathbbm{d}_{\mathsf{N}}}$ (e.g., (12) of Onatski2018, or Section 3.2.2 of BG2022). Thus, their methods are not applicable in our setup, and should be considered complementary to our methods since they apply in a different context. Despite this distinction, our methodology is in fact applicable to high-dimensional vector time series in some cases. For example, a vector-valued time series $X_t$ of arbitrary dimension can be understood as a Hilbert-valued I(1) time series if the eigenvalues of the variance matrix of $\Delta X_t$ are square-summable Bosq2000. Finally, our methodology can be applied to time series of intrinsically infinite or large unknown dimension, and this is not considered or explored in the above-mentioned papers.
remarkThe condition in \hyperref[{eqfinite}]{\tagform@{\ref*{eqfinite}}} seems reasonable in many empirical examples of functional time series (e.g., in Chang2016 and NSS). From a theoretical point of view, suppose that $\{X_t\}_{t\geq 1}$ is generated by the functional ARMA law of motion, \begin{equation*} \Theta(L) X_t = \Psi(L) \varepsilon_t, \end{equation*} where $\{\varepsilon_t\}_{t \in \mathbb{Z}}$ is an $\mathcal H$-valued white noise, $\Theta (z) = I - \sum_{j=1}^{q_1} \Theta_j z^j$, $\Psi(z) = I + \sum_{j=1}^{q_2} \Psi_j z^j$, and $q_1,q_2$ are allowed to be infinite. In this case, if $\Theta (z)$ is a Fredholm operator-valued function with a unit root, then it can be shown from the Granger-Johansen representation theorem in Hilbert space BS2018,Franchi2017b,seo_2023 that \hyperref[{eqfinite}]{\tagform@{\ref*{eqfinite}}} is always satisfied. A sufficient (but not necessary) condition for $\Theta(z)$ to be a Fredholm operator is that $\Theta_1,\ldots , \Theta_{q_1}$ are compact and $q_1<\infty$. \phantomsection It is common to assume compactness of autoregressive operators in statistical analysis of the functional ARMA model, and thus finiteness of ${\mathbbm{d}_{\mathsf{N}}}$ arises as a natural consequence. \phantomsectionOf course, for vector-valued time series, where the dimension $p$ is fixed, ${\mathbbm{d}_{\mathsf{N}}}$ is inherently finite. However, in high-dimensional settings, where $p$ grows with the sample size as discussed in Remark (ref), the condition ${\mathbbm{d}_{\mathsf{N}}} < \infty$ may be less natural, and there is no obvious counterpart to the assumption of compact autoregressive operators. Nonetheless, even in high-dimensional settings the condition \hyperref[{eqfinite}]{\tagform@{\ref*{eqfinite}}} does encompass some relevant examples like factor structures (such as the nonstationary dynamic factor models discussed in Remark (ref)) where nonstationarity is driven by a limited number of factors.

ADI variance ratio tests

We let $\mathcal H$ be a separable Hilbert space and let $\{X_t\}_{t\geq 1}$ take values in $\mathcal H$ or any subspace. $\mathcal H$ can be an infinite-dimensional space of square-integrable functions or sequences depending on whether $X_t$ is a random function or a random vector, but we do not exclude the possibility that $\mathcal H$ is finite-dimensional. We assume that $\{X_t\}_{t\geq 1}$ satisfies the following assumption.

assumption$\{X_t\}_{t\geq1}$ satisfies the conditions in Section (ref); in particular \hyperref[{eqlinear}]{\tagform@{\ref*{eqlinear}}}--\hyperref[{eqfinite}]{\tagform@{\ref*{eqfinite}}}.

A crucial input to estimation and inference on unit roots and cointegration Chang2016,NSS,seo2024functional is ${\mathbbm{d}_{\mathsf{N}}}=\dim(\mathcal H_{\mathsf{N}})$, i.e., the number of (linearly independent) stochastic trends. To determine this quantity, we consider the testing problem

equation[equation omitted — 156 chars of source]

for $\mathbbm{d}_0 \in \mathbbm{D}_0 = \{1,2,\ldots,\mathbbm{d}_{\max}\}$, where $\mathbbm{d}_{\max}<\infty$ is an upper bound on the number of stochastic trends so that $\mathbbm{D}_0$ is a finite set. In fact, $\mathbbm{d}_{\max}$ can be reasonably chosen from data in such a way that $\mathbbm{d}_{\max} \geq {\mathbbm{d}_{\mathsf{N}}}$, but $\mathbbm{d}_{\max}$ does not greatly exceed ${\mathbbm{d}_{\mathsf{N}}}$ (Remark (ref), Section (ref)).

As mentioned above, our tests can accommodate the case where $\{X_t\}_{t\geq1}$ only takes values in a strict subspace of possibly unknown dimension $p_X$, and the tests do not require knowledge of $p_X$. For this reason, they are called Asymptotically Dimension Invariant (ADI) tests. However, it should be noted that this dimension invariance property does not mean that our tests are not affected by $p_X$ at all. Rather, it means that we do not explicitly require a priori information on $p_X$ in order to implement the tests.

Our approach to developing ADI tests is based on a dimension-reduction technique that preserves stochastic trends. We call this slack extraction of stochastic trends. To elaborate on this, suppose that $\{X_t\}_{t\geq1}$ is a $\mathcal H$-valued cointegrated I(1) process as described in Section (ref) and only takes values in a possibly strict subspace of dimension $p_X \leq p_{\mathcal H} = \dim(\mathcal H) \leq \infty$, where $p_X$ may be much larger than ${\mathbbm{d}_{\mathsf{N}}}$. In addition, assume that we can find a finite integer $\mathrm{K} \in [ {\mathbbm{d}_{\mathsf{N}}} , p_X ]$ and an orthonormal set $\{ f_j\}_{j=1}^{\mathrm{K}}$ in $\mathcal H$ such that $\operatorname{span}\{ f_j\}_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}}=\mathcal H_{\mathsf{N}}$ and $\{\langle X_t, f_j \rangle\}_{t\geq 1}$ is a stationary process for $j={\mathbbm{d}_{\mathsf{N}}} + 1 , \ldots , \mathrm{K}$. Define $P_{\mathrm{K}} = \sum_{j=1} ^{\mathrm{K}} f_j \otimes f_j$, where $\otimes$ denotes the tensor product and thus $f_j \otimes f_j (\cdot) = \langle f_j, \cdot \rangle f_j$; that is, $P_{\mathrm{K}}$ is the unique orthogonal projection onto $\mathcal H_{\mathrm{K}}=\operatorname{span}\{ f_j\}_{j=1}^{\mathrm{K}}$. In this case, we have $\mathcal H = \mathcal H_{\mathrm{K}} \oplus \mathcal H_{\mathrm{K}}^\perp$ and $ \mathcal H_{\mathrm{K}} = \mathcal H_{\mathsf{N}} \oplus \mathcal H_{\mathrm{K}}^{\mathsf{S}}$, where $\mathcal H_{\mathrm{K}}^{\mathsf{S}} = \operatorname{span}\{ f_j\}_{j={\mathbbm{d}_{\mathsf{N}}}+1}^{\mathrm{K}}$. Then, from the fact that $\{\langle X_t, f_j \rangle\}_{t\geq 1}$ is an I$(1)$ sequence for $j \leq {\mathbbm{d}_{\mathsf{N}}}$, we may deduce that (i) the projected time series $\{ P_{\mathrm{K}} X_t \}_{t\geq 1}$ contains ${\mathbbm{d}_{\mathsf{N}}}$ stochastic trends and a $(\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}})$-dimensional stationary component, and (ii) the nonstationary subspace of $\{ P_{\mathrm{K}} X_t \}_{t\geq 1}$ is the same as that of $\{ X_t \}_{t\geq 1}$. Due to these properties, we call $P_{\mathrm{K}}$ a slack extractor of stochastic trends. In other words, we do not lose any information about stochastic trends by using the projected time series $\{ P_{\mathrm{K}} X_t \}_{t\geq 1}$ in the statistical analysis and ignoring the residual time series $\{ (I-P_{\mathrm{K}})X_t\}_{t\geq 1}$ (whose dimension generally depends on $p_X$). Therefore, a statistical test, which is not dependent on the residual part $\{ (I-P_{\mathrm{K}}) X_t \}_{t\geq 1}$ but is constructed only from $\{ P_{\mathrm{K}} X_t \}_{t\geq 1}$, naturally becomes ADI. Based on this idea, one may readily develop ADI tests by, for example, extending existing tests developed in a finite-dimensional setting (because $\{ P_{\mathrm{K}} X_t \}_{t\geq 1}$ itself may be viewed as a $\mathrm{K}$-dimensional cointegrated time series, see Remark (ref)).

Of course, a slack extractor $P_{\mathrm{K}}$ satisfying the required conditions is not observable, but it can be replaced with a suitable estimator $\widehat{P}_{\mathrm{K}}$. For now, we impose some high-level conditions on $\widehat{P}_{\mathrm{K}}$ and its rank $\mathrm{K}$ (the latter is specified by the practitioner). Define the operator

equation[equation omitted — 369 chars of source]

where $1_{\{\cdot \}}$ is the indicator function, and $a_R$ is a parameter that will be naturally specified (in Assumption (ref) below) for each of the proposed tests. Note that $\Lambda_{\mathsf{S},R}$ is the long-run variance (if $a_R > 0$) or variance (if $a_R = 0$) of the stationary component of $\{X_{t}\}_{t\geq 1}$.

\newcounter{foo} \setcounter{foo}{\value{assumption}}

assumption(i) $\mathrm{K} \geq {\mathbbm{d}_{\mathsf{N}}}$, (ii) $\|\widehat{P}_{\mathrm{K}}P_{\mathsf{N}} - P_{\mathsf{N}}\|_{\operatorname{op}} = \scalebox{0.7}{$\mathcal{O}$}_{\mathrm{P}} (1)$, and (iii) $\|\widehat{P}_{\mathrm{K}}P_{\mathsf{S}} - P_{\mathsf{S}}^{\mathrm{K}}\|_{\operatorname{op}} = \scalebox{0.7}{$\mathcal{O}$}_{\mathrm{P}} (1)$ for some orthogonal projection $P_{\mathsf{S}}^{\mathrm{K}}$ satisfying $\operatorname{ran} P_{\mathsf{S}}^{\mathrm{K}} \subseteq \mathcal H_{\mathsf{S}}$ and $\operatorname{rank} (P_{\mathsf{S}}^{\mathrm{K}}\Lambda_{\mathsf{S},R} P_{\mathsf{S}}^{\mathrm{K}}) = \mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$.

Assumption (ref)(i) implies that we need an appropriate choice of $\mathrm{K}$ depending on the value of ${\mathbbm{d}_{\mathsf{N}}}$. As will be discussed in Section (ref), see in particular Remarks (ref), (ref), and the subsequent discussion, it is possible to obtain a reasonable upper bound $\mathbbm{d}_{\max}$ for ${\mathbbm{d}_{\mathsf{N}}}$. By choosing $\mathrm{K}$ so that $\mathrm{K} \geq \mathbbm{d}_{\max}$, the condition on $\mathrm{K}$ required by Assumption (ref)(i) does not raise any issues in the practical implementation of our tests. For a given choice of $\mathrm{K}$, feasible choices of $\widehat{P}_{\mathrm{K}}$ satisfying Assumption (ref)(ii)--(iii) are discussed in Section (ref) under mild low-level conditions.

remarkIt seems reasonable to ask if one can apply standard (cointegration rank) tests of \hyperref[{eqhypo}]{\tagform@{\ref*{eqhypo}}} from a Euclidean space setting to the projected time series $\{ \widehat{P}_{\mathrm{K}} X_t \}_{t \geq 1}$. This is in fact not always the case, because some properties of the time series are not preserved under projection. In particular, parametric tests based on an AR($p$) law of motion, such as those in Johansen1991, cannot be directly applied since parametric relationships are not generally preserved under projection. To see this in detail, suppose that $\dim(\mathcal H)=p_{\mathcal H}$, but $X_t$ follows an AR(1) law of motion in a subspace ${\mathcal H}_X$ of (unknown) dimension $p_X \leq p_{\mathcal H}$ such that $\Delta X_t = \Theta X_{t-1} +\epsilon_t$ for some bounded linear operator $\Theta$ and $t \geq 1$. Then, for ${\mathbbm{d}_{\mathsf{N}}} \leq {\mathrm{K}} \leq p_X$, we have $ \Delta \widehat P_{\mathrm{K}} X_t = \widehat P_{\mathrm{K}} \Theta \widehat P_{\mathrm{K}} X_{t-1} + \widehat P_{\mathrm{K}} \Theta (I -\widehat P_{\mathrm{K}}) X_{t-1} +\widehat P_{\mathrm{K}}\epsilon_t$. The term $\widehat P_{\mathrm{K}} \Theta (I -\widehat P_{\mathrm{K}}) X_{t-1}$ is dependent on $p_X$ and nonzero in general. Thus, the parametric relationship between $\Delta \widehat P_{\mathrm{K}} X_t$ and $\widehat P_{\mathrm{K}} X_{t-1}$ is generally different from that between $\Delta X_t$ and $X_{t-1}$, and also dependent on $\mathrm{K}$, $\widehat P_{\mathrm{K}}$, and $p_X$. Even if $\widehat{P}_{\mathrm{K}}$ is a consistent estimator of a slack extractor $P_{\mathrm{K}}$, a parametric test applied to $\{\widehat{P}_{\mathrm{K}} X_t\}_{t\geq 1}$ not only depends on $p_X $, but is in fact misspecified. \phantomsectionThis point is illustrated in Appendix (ref), where we provide simulation evidence that \citepos{Johansen1991} trace test does not generally work with a consistent estimator of a slack extractor.

A consequence of Remark (ref) is that, even if we may have a reasonable parametric assumption such as an AR structure for the original time series $\{X_t\}_{t\geq 1}$, such an assumption is not generally preserved under the projection $\widehat{P}_{\mathrm{K}}$. Therefore, when we use the projected time series $\{\widehat{P}_{\mathrm{K}} X_t\}_{t\geq 1}$ for our statistical analysis to obtain ADI tests, these need to be developed without parametric assumptions. To achieve this goal, we consider tests based on various sample (long-run) variance operators that can be computed from the projected time series without any parametric assumptions.

Thus, define $X_{d,t}$ by

equation*[equation* omitted — 133 chars of source]

so that $d$ denotes the integration order of $X_{d,t}$. Further define the unnormalized sample long-run variance operator of $\{X_{d,t}\}_{t\geq 1}$, denoted $\widehat{\Lambda}_d (h,\mathrm{k})$, as

align[align omitted — 356 chars of source]

where $\mathrm{k}(\cdot)$ is a kernel function and $h$ is the associated bandwidth parameter. From \hyperref[{eqslrv}]{\tagform@{\ref*{eqslrv}}} and the fact that $\widehat P_{\mathrm{K}}$ is self-adjoint, it is readily found that $\widehat P_{\mathrm{K}} \widehat{\Lambda}_d (h,\mathrm{k}) \widehat P_{\mathrm{K}}$ is the unnormalized sample (long-run) variance operator of the projected time series $\{\widehat P_{\mathrm{K}} X_{d,t}\}_{t\geq 1}$. As a special case, $\widehat P_{\mathrm{K}} \widehat{\Lambda}_d (0,\mathrm{k}) \widehat P_{\mathrm{K}}$ is the unnormalized sample variance operator of $\{\widehat P_{\mathrm{K}} X_{d,t}\}_{t\geq 1}$.

remarkThroughout, we will use the well-known result that any $\mathrm{K}$-dimensional subspace of $\mathcal H$ with orthonormal basis $\{g_j\}_{j=1}^{\mathrm{K}}$ is isomorphic to $\mathbb{R}^{\mathrm{K}}$ via the isomorphism $v \mapsto (\langle v,g_1\rangle,\ldots,\langle v,g_{\mathrm{K}}\rangle)'$; e.g., Proposition 5.2 and Theorem 5.4 of Conway1990. Moreover, any linear operator $A$ acting on the $\mathrm{K}$-dimensional subspace can be represented as the $\mathrm{K} \times \mathrm{K}$ matrix $[A]_{ij}=\langle g_i,Ag_j \rangle$ NSS. Suppose $\widehat{P}_{\mathrm{K}}=\sum_{j=1}^{\mathrm{K}} \hat{f}_j \otimes \hat{f}_j$ for an orthonormal set $\{\hat{f}_j\}_{j=1}^{\mathrm{K}}$. Then $\widehat{P}_{\mathrm{K}} X_{d,t} = \sum_{j=1}^{\mathrm{K}} \langle X_{d,t},\hat{f}_j\rangle \hat{f}_j$ such that $\widehat{P}_{\mathrm{K}} X_{d,t}$ may be identified as the $\mathrm{K}$-dimensional vector $x_{\mathrm{K},d,t} = (\langle X_{d,t},\hat{f}_1 \rangle,\ldots, \langle X_{d,t},\hat{f}_{\mathrm{K}} \rangle)'$. From these results we find that if $[\widehat{P}_{\mathrm{K}}\widehat{\Lambda}_d (h,\mathrm{k})\widehat{P}_{\mathrm{K}}]$ is the $\mathrm{K} \times \mathrm{K}$ sample long-run variance matrix of $x_{\mathrm{K},d,t}$, then $\widehat P_{\mathrm{K}} \widehat{\Lambda}_d (h,\mathrm{k}) \widehat P_{\mathrm{K}}$ can be found as $[\widehat{P}_{\mathrm{K}}\widehat{\Lambda}_d (h,\mathrm{k})\widehat{P}_{\mathrm{K}}]$. That is, $\widehat P_{\mathrm{K}} \widehat{\Lambda}_d (h,\mathrm{k}) \widehat P_{\mathrm{K}}$ can also be computed from the vector-valued time series $\{x_{\mathrm{K},d,t}\}_{t\geq 1}$. Finally, for any $v \in \mathcal{H}$, $\widehat P_{\mathrm{K}} \widehat{\Lambda}_d (h,\mathrm{k}) \widehat P_{\mathrm{K}} v$ can be computed as $\sum_{j=1}^{\mathrm{K}} a_j \hat{f}_j$, where $a_j$ is the $j$-th element of the $\mathrm{K}$-dimensional vector $[\widehat{P}_{\mathrm{K}}\widehat{\Lambda}_d (h,\mathrm{k})\widehat{P}_{\mathrm{K}}] v_{\mathrm{K}}$ with $v_{\mathrm{K}} = (\langle v, \hat{f}_1 \rangle, \ldots, \langle v, \hat{f}_{\mathrm{K}} \rangle)'$. Additional details and notation are given in Appendix (ref) and in Section (ref) of the supplement.

Our tests are based on the generalized eigenvalue problem

equation[equation omitted — 197 chars of source]

where $\widehat{\Lambda}_{d_m,m} = \widehat{\Lambda}_{d_m} (h_m,\mathrm{k}_\mathit{m})$ for $m \in \{ L,R \}$ (left and right) and choices of integration orders, $d_L$ and $d_R$. Here, $\mu_j$ are the ordered (smallest to largest) eigenvalues of the operators $\widehat P_{\mathrm{K}}\widehat{\Lambda}_{d_L,L}\widehat P_{\mathrm{K}}$ and $\widehat P_{\mathrm{K}}\widehat{\Lambda}_{d_R,R}\widehat P_{\mathrm{K}}$, and $\nu_j$ are the corresponding eigenvectors. These can easily be computed as detailed in Section (ref) in the supplement. Because $\widehat P_{\mathrm{K}}\widehat{\Lambda}_{d_m,m} \widehat P_{\mathrm{K}}$ are sample (long-run) variance operators, we call \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} a generalized variance ratio (VR) eigenvalue problem, and any test based on it is called a VR($d_L, d_R$)-based test. We assume $d_L > d_R$ without loss of generality because $d_L <d_R$ is obtained by simply redefining $\mu_j$ as its inverse.

In the sequel, $\mathrm{k}_\mathit{m}(\cdot)$ and $h_m$ are assumed to satisfy the following assumption.

assumption$\mathrm{k}_\mathit{m}(\cdot)$ and $h_m$, for $m \in \{L,R\}$, satisfy: \begin{enumerate}[label=(\roman*)] • $\mathrm{k}_\mathit{m}(\cdot)$ is a twice continuously differentiable even function from $\mathbb{R}$ to $[-1,1]$ such that $\mathrm{k}_\mathit{m}(x)= 0$ for $|x| \geq 1$, $\mathrm{k}_\mathit{m}(0)=1$, $\mathrm{k}_\mathit{m} '(0) = 0$, $\mathrm{k}_\mathit{m} ''(0) \neq 0$, and $\lim_{|x|\to 1} \mathrm{k}_\mathit{m}(x)/(1-|x|)^2$ = constant. • $h_m = [a_m T^{b_m}]$ for some $a_m\geq 0$ and $b_m \in (0,1/2)$, where $[x]$ is the nearest integer to $x$. \end{enumerate}

Assumption (ref)(i) is adopted from phillips1995fully. The requirements on $\mathrm{k}_\mathit{m}(\cdot)$ in Assumption (ref)(i) are not restrictive in practice and are satisfied by many widely used kernel functions, including the Epanechnikov, Parzen, Tukey-Hanning, and quartic kernels. The functional form of $h_m$ depending on $T$ in Assumption (ref)(ii) is quite standard in practice.

remarkOur theory covers all pairs of $(d_L, d_R)$ with $d_R \in \{ 0,1 \}$, but not $d_R \geq 2$. Our theoretical approach requires a normalizing diagonal operator $D_T$ (acting on $\operatorname{ran} \widehat P_{\mathrm{K}}$) and a scaling factor $m_T$, both depending on $T$, such that $m_T D_T \widehat P_{\mathrm{K}}\widehat{\Lambda}_{d_R,R}\widehat P_{\mathrm{K}} D_T$ converges to a nonzero block-diagonal finite-rank operator (see \hyperref[{DRlimit}]{\tagform@{\ref*{DRlimit}}} and \hyperref[{eqpf002}]{\tagform@{\ref*{eqpf002}}}). For $d_R \geq 2$, however, this is not generally possible. As a simple illustration with $d_R =2$, consider a bivariate I(1) dynamic system $z_t=(z_{\mathsf{N},t},z_{\mathsf{S},t})'$, where $z_{\mathsf{N},t}$ is I(1) and $z_{\mathsf{S},t}$ is I(0), and define $\tilde{z}_t = \sum_{s=1}^t z_s$. Then the asymptotic orders of elements of $\widehat{C}_{2,R}=\sum_{t=1}^T \tilde{z}_t \tilde{z}_t'$ are $\left[\begin{smallmatrix} \mathcal{O}_{\mathrm{P}} (T^4) & \mathcal{O}_{\mathrm{P}} (T^3) \\ \mathcal{O}_{\mathrm{P}} (T^3) & \mathcal{O}_{\mathrm{P}} (T^2) \end{smallmatrix}\right]$, and they are generally exact. Thus, for $m_T D_T \widehat{C}_{2,R} D_T$ to have nonzero diagnal blocks, we must have $D_T = \left[\begin{smallmatrix} T^{-1} & 0 \\ 0 & 1 \end{smallmatrix}\right]$ and $m_T = T^{-2}$, but in this case off-diagonal elements are not generally negligible.
remarkTo motivate some choices of $(d_L , d_R )$, consider a finite-dimensional time series $X_t=(x_{1,t},\ldots,x_{\mathrm{K},t})'$ for fixed $\mathrm{K}$. Then, for example, \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $(d_L , d_R ) = (2,1)$ is similar to the generalized eigenvalue problem studied in Breitung2002 with $a_L=a_R=0$, and \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $(d_L , d_R ) = (1,0)$ is similar to that studied in shintani2001simple. The locally best invariant tests studied in KPSS92 and nyblom2000tests can also be seen as special cases of our inverse tests in Section (ref). Intuitively, these tests are based on the fact that the ${\mathbbm{d}_{\mathsf{N}}}$ largest eigenvalues of (the finite-dimensional version of) \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} exhibit different limiting behavior compared to the remaining $\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$ ones when there are ${\mathbbm{d}_{\mathsf{N}}} (\leq \mathrm{K})$ stochastic trends in $X_t$. In view of the isomorphism in Remark (ref), it is reasonable to conjecture that similar results hold in a functional time series setup if we choose $\widehat P_{\mathrm{K}}$ appropriately. Additional motivation based on comparisons with existing tests is given in Appendix (ref).

Tests based on VR($d_L$,1) with $d_L \geq 2$

In this section we consider tests based on the VR($d_L$,1) eigenvalue problem in \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $d_L \geq 2$ and $d_R = 1$. We first obtain the asymptotic properties of the eigenvalues of this problem.

To this end, we let $\{W_{1,q}(r)\}_{r\in[0,1]} $ denote a $q$-dimensional standard Brownian motion and recursively define the $(d-1)$-fold integrated Brownian motion $W_{d,q}(r) = \int_0^r W_{d-1,q} (u)du$ for $d \geq 2$. For any matrix or compact operator $A$, we let $\lambda_j \{ A \}$ be the $j$-th smallest eigenvalue of $A$, i.e.\ $\lambda_1\{A\}\leq \lambda_2\{A\} \leq \ldots$. Given a kernel $\mathrm{k}_\mathit{m}$ satisfying Assumption (ref), we define

align[align omitted — 117 chars of source]

Moreover, when there is no risk of confusion, we write $\int f$ to denote $\int_0^1 f(u)du$.

theoremSuppose that Assumptions (ref), (ref), and (ref) hold and define $\widetilde{\mu}_j = n_T \mu_j$, where $\{\mu_j\}_{j=1}^{\mathrm{K}}$ are the eigenvalues from \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $d_L \geq 2$, $d_R = 1$, and \begin{equation} n_T = T^{2d_L-2} (h_Lc_L + 1_{\{ a_L=0 \}})/(h_Rc_R + 1_{\{ a_R = 0\}}) , \end{equation} where $h_m,a_m,c_m$ are given in Assumption (ref)(ii) and \hyperref[{eqcm}]{\tagform@{\ref*{eqcm}}}. Then \begin{align} \widetilde{\mu}_j & \overset{\mathrm{d}}\rightarrow \widetilde{\lambda}_j = \lambda_j \left\{ \left(\int W_{d_L,{\mathbbm{d}_{\mathsf{N}}}} W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}'\right)^{-1} \int W_{1,{\mathbbm{d}_{\mathsf{N}}}} W_{1,{\mathbbm{d}_{\mathsf{N}}}}' \right\} jointly for $j \leq {\mathbbm{d}_{\mathsf{N}}}$ (if ${\mathbbm{d}_{\mathsf{N}}} \geq 1$),\\ \widetilde{\mu}_j & \overset{\mathrm{P}}\rightarrow \infty \quad for $j \geq {\mathbbm{d}_{\mathsf{N}}} +1$. \end{align}

Note that the normalization factor \hyperref[{nT21}]{\tagform@{\ref*{nT21}}} of the eigenvalues generally depends on the choice of bandwidth parameters $h_m$ associated with the kernel $\mathrm{k}_\mathit{m} ( \cdot )$ for $m \in \{L,R\}$. However, in the case where $a_L=a_R=0$ (i.e., $h_L=h_R=0$), $\widehat{P}_{\mathrm{K}} \widehat{\Lambda}_{d_L,L} \widehat{P}_{\mathrm{K}}$ and $\widehat{P}_{\mathrm{K}} \widehat{\Lambda}_{1,R} \widehat{P}_{\mathrm{K}}$ reduce to the variances of $\{ \widehat{P}_{\mathrm{K}}X_{d_L,t}\}_{t\geq 1}$ and $\{ \widehat{P}_{\mathrm{K}}X_{1,t}\}_{t\geq 1}$, and the convergence rate is simply $n_T^{-1} = T^{2-2d_L}$.

Theorem (ref) shows that the eigenvalues in \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} have distinct asymptotic properties depending on whether $j$ is greater than the dimension of $\mathcal H_{\mathsf{N}}$ or not, as motivated in Remark (ref). That is, if we consider the vector $(\widetilde\mu_1 ,\ldots, \widetilde\mu_{\mathrm{K}})$, the first ${\mathbbm{d}_{\mathsf{N}}}$ elements converge jointly in distribution to the vector $(\tilde{\lambda}_1 , \ldots, \tilde{\lambda}_{{\mathbbm{d}_{\mathsf{N}}}})$, while the last $\mathrm{K} - {\mathbbm{d}_{\mathsf{N}}}$ elements are divergent in probability. If $\mathrm{K} \geq \mathbbm{d}_0$, for any continuous map $\mathcal{F} : \mathbb{R}^{\mathbbm{d}_0} \to \mathbb{R}$ we have

equation*[equation* omitted — 252 chars of source]

If $\mathcal{F}$ additionally satisfies $\mathcal{F}(\{ \widetilde{\mu}_j\}_{j=1}^{\mathbbm{d}_0}) \rightarrow_{\mathrm{P}} \infty$ under $H_1$ of \hyperref[{eqhypo}]{\tagform@{\ref*{eqhypo}}}, we can consistently test the hypothesis of interest in an obvious way; hereafter such an $\mathcal{F}$ is called a proper test functional. Among many possible choices of proper test functionals, we focus on the two most common choices, $\mathcal{F}_{\max}$ and $\mathcal{F}_{\operatorname{trace}}$, which are defined by

equation*[equation* omitted — 235 chars of source]

The following corollary delivers consistent tests of \hyperref[{eqhypo}]{\tagform@{\ref*{eqhypo}}} based on VR($d_L$,1).

corollaryConsider the setup of Theorem (ref) with $\mathrm{K} \geq \mathbbm{d}_0$. Under $H_0 : {\mathbbm{d}_{\mathsf{N}}} = \mathbbm{d}_0$, \begin{equation} \mathcal{F}_{\max}(\{{\widetilde{\mu}_j}\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{d}}\rightarrow \max_{1\leq j\leq \mathbbm{d}_0}\{\lambda_{j}\{ \mathcal A \} \} , \quad \mathcal{F}_{\operatorname{trace}}(\{ {\widetilde{\mu}_j}\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{d}}\rightarrow \sum_{j=1}^{\mathbbm{d}_0}\lambda_{j}\{ \mathcal A \} , \end{equation} where $\mathcal A= (\int W_{d_L,\mathbbm{d}_0} W_{d_L,\mathbbm{d}_0}' )^{-1} \int W_{1,\mathbbm{d}_0} W_{1,\mathbbm{d}_0}'$. Under $H_1 : {\mathbbm{d}_{\mathsf{N}}} <\mathbbm{d}_0$, \begin{equation} \mathcal{F}_{\max}(\{\widetilde{\mu}_j\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{P}}\rightarrow \infty , \quad \mathcal{F}_{\operatorname{trace}}(\{\widetilde{\mu}_j\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{P}}\rightarrow \infty. \end{equation}

The test statistics in Corollary (ref) are only functions of $\{\widehat{P}_{\mathrm{K}}X_t\}_{t\geq1}$, which may be understood as a $\mathrm{K}$-dimensional vector-valued time series (Remark (ref)), and the associated limiting distributions are functionals of $\mathbbm{d}_0$-dimensional standard Brownian motion and do not depend on $p_X$, $\mathrm{K}$, or any nuisance parameters. These results imply that the proposed tests have the ADI property and that critical values depend only on $\mathbbm{d}_0$ and the test functional.

remarkThe VR($d_L$,1) tests allow $a_L=a_R = 0$, and hence they can be completely free from the choice of bandwidth parameters. This seems desirable in practice, since practitioners typically do not want test results to be dependent on the choice of bandwidth parameters.

Tests based on VR($d_L$,0) with $d_L \geq 1$

We now consider VR($d_L$,0)-based tests, which are established from the eigenvalue problem \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $d_L \geq 1$ and $d_R =0$. As with VR($d_L$,1)-based tests, the tests in this section are based on the asymptotic properties of the sample operators, $\widehat{P}_{\mathrm{K}}\widehat{\Lambda}_{d_L,L}\widehat{P}_{\mathrm{K}}$ and $\widehat{P}_{\mathrm{K}}\widehat{\Lambda}_{0,R}\widehat{P}_{\mathrm{K}}$ for $d_L \geq 1$. The important difference relative to tests based on VR($d_L$,1) is that VR($d_L$,0)-based tests generally require $a_R> 0$; that is, $\widehat{\Lambda}_{0,R}$ must be the sample long-run variance of $X_{0,t}$. This is in contrast with the case in Section (ref), where $a_R = 0$ can be chosen; see Remarks (ref) and (ref).

The asymptotic properties of the VR($d_L$,0) eigenvalues with $d_L \geq 1$ are as follows.

theoremSuppose that Assumptions (ref), (ref), and (ref) hold with $a_R>0$ and define $\widetilde{\mu}_j = n_T \mu_j$, where $\{\mu_j\}_{j=1}^{\mathrm{K}}$ are the eigenvalues from \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $d_L \geq 1 , d_R=0$, and $n_T = T^{2d_L-1}(h_Lc_L + 1_{\{a_L=0\}})$, where $h_L,a_L,c_L$ are given in Assumption (ref)(ii) and \hyperref[{eqcm}]{\tagform@{\ref*{eqcm}}}. Then \begin{align*} \widetilde{\mu}_j &\overset{\mathrm{d}}\rightarrow \lambda_j \left\{ \left( \int W_{d_L,{\mathbbm{d}_{\mathsf{N}}}} W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}' \right)^{-1} \right\} \quad jointly for $j \leq {\mathbbm{d}_{\mathsf{N}}}$ (if ${\mathbbm{d}_{\mathsf{N}}} \geq 1$), \\ \widetilde{\mu}_j &\overset{\mathrm{P}}\rightarrow \infty \quad for $j \geq {\mathbbm{d}_{\mathsf{N}}} +1$. \end{align*}

The next corollary delivers consistent tests of \hyperref[{eqhypo}]{\tagform@{\ref*{eqhypo}}} based on VR($d_L$,0) with $d_L \geq 1$.

corollaryConsider the setup of Theorem (ref) with $\mathrm{K} \geq \mathbbm{d}_0$. Under $H_0 : {\mathbbm{d}_{\mathsf{N}}} = \mathbbm{d}_0$, \begin{equation} \mathcal{F}_{\max}(\{{\widetilde{\mu}_j}\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{d}}\rightarrow \max_{1\leq j\leq \mathbbm{d}_0} \{\lambda_{j}\{ \mathcal A \} \}, \quad \mathcal{F}_{\operatorname{trace}}(\{ {\widetilde{\mu}_j}\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{d}}\rightarrow \sum_{j=1}^{\mathbbm{d}_0}\lambda_j \{ \mathcal A \} , \end{equation} where $\mathcal A = ( \int W_{d_L,\mathbbm{d}_0} W_{d_L,\mathbbm{d}_0}' )^{-1}$. Under $H_1 : {\mathbbm{d}_{\mathsf{N}}} < \mathbbm{d}_0$, \begin{equation} \mathcal{F}_{\max}(\{\widetilde{\mu}_j\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{P}}\rightarrow \infty , \quad \mathcal{F}_{\operatorname{trace}}(\{\widetilde{\mu}_j\}_{j=1}^{\mathbbm{d}_0}) \overset{\mathrm{P}}\rightarrow \infty . \end{equation}
remarkFor the VR($d_L$,0) tests, $a_L = 0$ is allowed, which may seem desirable as in Remark (ref). However, $h_L>0$ is supported by simulation results for the corresponding finite-dimensional VR(1,0) test in shintani2001simple (see Appendix (ref)), where it was found that using a long-run variance estimator on the left was superior to using a variance estimator. For nonzero $h_L$, we also note that a larger $h_L$ helps certain asymptotically negligible quantities decay at faster rates; see, e.g., the paragraph following \hyperref[{eqppgeq2a}]{\tagform@{\ref*{eqppgeq2a}}}. On the other hand, $a_R=0$ is generally not allowed because $\widehat{\Lambda}_{0,R}$ needs to be a consistent estimator of the long-run variance of $\Delta X_t$, which requires a nonzero bandwidth $h_R$. Given that $\Delta X_t$ is stationary, we may use existing data-dependent choices of $h_R$ that achieve certain mean-square optimality properties Rice_Shang. Since $\widehat{P}_{\mathrm{K}}\widehat{\Lambda}_{0,R}\widehat{P}_{\mathrm{K}}$ is the sample long-run variance of the projected time series $\{\widehat{P}_{\mathrm{K}} \Delta X_t\}_{t \geq 1}$, which may be understood as a $\mathrm{K}$-dimensional vector-valued time series (Remark (ref)), we may also apply more conventional methods andrews1991. We follow the latter approach in our simulations in Section (ref).

Inverse VR tests

We showed in Theorem (ref) that the first ${\mathbbm{d}_{\mathsf{N}}}$ eigenvalues $\{\mu_j\}_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}}$ from the VR($d_L$,1) problem with $d_L \geq 2$, properly normalized, converge jointly to a well-defined limit. As we now show, it is also possible to obtain the limiting behavior of the remaining $\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$ eigenvalues, $\{\mu_j\}_{j={\mathbbm{d}_{\mathsf{N}}} +1}^{\mathrm{K}}$. This enables us to examine the inverse testing problem,

equation[equation omitted — 157 chars of source]

for some $\mathbbm{d}_0 \geq 0$. Unlike in the testing problem \hyperref[{eqhypo}]{\tagform@{\ref*{eqhypo}}}, we do not require any prior information on a reasonable upper bound for ${\mathbbm{d}_{\mathsf{N}}}$.

Related to testing \hyperref[{eqhypo2}]{\tagform@{\ref*{eqhypo2}}}, we will replace Assumption (ref) with the following high-level assumption, which allows the possibility that $\mathrm{K} < {\mathbbm{d}_{\mathsf{N}}}$.

\newcounter{foobar} \setcounter{foobar}{\value{assumption}} \setcounter{assumption}{\value{foo}}

assumptionIf $\mathrm{K} \geq {\mathbbm{d}_{\mathsf{N}}}$ then Assumption (ref) holds. If $\mathrm{K} < {\mathbbm{d}_{\mathsf{N}}}$ then $\|\widehat{P}_{\mathrm{K}}P_{\mathsf{S}}\|_{\operatorname{op}} = \scalebox{0.7}{$\mathcal{O}$}_{\mathrm{P}} (1)$.

\setcounter{assumption}{\value{foobar}}

theoremSuppose that Assumptions (ref), (ref), and (ref) hold with $a_R>0$ and define $\widetilde{\mu}_j = n_T \mu_j$, where $\{\mu_j\}_{j=1}^{\mathrm{K}}$ are the eigenvalues from \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $d_L \geq 2$, $d_R = 1$, and $n_T = T^{2d_L -3}( h_Lc_L + 1_{\{a_L=0\}})$, where $h_L,a_L,c_L$ are given in Assumption (ref)(ii) and \hyperref[{eqcm}]{\tagform@{\ref*{eqcm}}}. Then \begin{align} (\widetilde{\mu}_j)^{-1} &\overset{\mathrm{d}}\rightarrow \lambda_{\mathrm{K} -j+1} \{ \mathcal A \} \quad jointly for $j = {\mathbbm{d}_{\mathsf{N}}} +1 , \ldots , \mathrm{K}$ (if ${\mathbbm{d}_{\mathsf{N}}} < \mathrm{K}$), \\ (\widetilde{\mu}_j)^{-1} &\overset{\mathrm{P}}\rightarrow \infty \quad for $j\leq {\mathbbm{d}_{\mathsf{N}}}$ (if ${\mathbbm{d}_{\mathsf{N}}} \geq 1$), \end{align} where $\mathcal A = \int B_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} B_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}}' - 1_{\{ {\mathbbm{d}_{\mathsf{N}}} \geq 1 \}} \int B_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}' (\int W_{d_L,{\mathbbm{d}_{\mathsf{N}}}} W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}' )^{-1} \int W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}B_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}}'$ and $B_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}}$ is a $(\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}})$-dimensional standard Brownian motion which is independent of $W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}$.

Theorem (ref) complements Theorem (ref), where the asymptotic properties of the first ${\mathbbm{d}_{\mathsf{N}}}$ eigenvalues are presented under similar assumptions. Specifically, the asymptotic results given in Theorem (ref) are for ${\mathbbm{d}_{\mathsf{N}}} \geq 0$ under the requirement $a_R>0$, which differs from Theorem (ref), where the limiting distributions are given under the existence of unit roots ensuring ${\mathbbm{d}_{\mathsf{N}}} \geq 1$ but allowing $a_R = 0$. This means that Theorem (ref) is not simply a byproduct of Theorem (ref) that can be obtained with slight modifications, but in fact has its own theoretical and practical justification as we now illustrate.

When $\mathrm{K} > \mathbbm{d}_0$, and given a proper test functional $\mathcal{F}$, the asymptotic results in Theorem (ref) can be used to deliver consistent tests of \hyperref[{eqhypo2}]{\tagform@{\ref*{eqhypo2}}} as follows.

corollaryConsider the setup of Theorem (ref) with $\mathrm{K} > \mathbbm{d}_0$. Under $H_0 : {\mathbbm{d}_{\mathsf{N}}}=\mathbbm{d}_0$, \begin{equation} \mathcal{F}_{\max} ( \{ \widetilde{\mu}_j^{-1} \}_{j=\mathbbm{d}_0+1}^{\mathrm{K}} ) \overset{\mathrm{d}}\rightarrow \max_{1\leq j\leq \mathrm{K}-\mathbbm{d}_0} \{\lambda_j\{ \mathcal A \} \}, \quad \mathcal{F}_{\operatorname{trace}} ( \{ \widetilde{\mu}_j ^{-1} \}_{j=\mathbbm{d}_0+1}^{\mathrm{K}}) \overset{\mathrm{d}}\rightarrow \sum_{j=1}^{\mathrm{K}-\mathbbm{d}_0} \lambda_j \{ \mathcal A \}, \end{equation} where $\mathcal A = \int B_{\mathrm{K}-\mathbbm{d}_0} B_{\mathrm{K}-\mathbbm{d}_0}' - 1_{\{ \mathbbm{d}_0\geq 1 \}} \int B_{\mathrm{K}-\mathbbm{d}_0} W_{d_L,\mathbbm{d}_0}' (\int W_{d_L,\mathbbm{d}_0} W_{d_L,\mathbbm{d}_0}' )^{-1} \int W_{d_L,\mathbbm{d}_0}B_{\mathrm{K}-\mathbbm{d}_0}'$. Under $H_1 : {\mathbbm{d}_{\mathsf{N}}} >\mathbbm{d}_0$, \begin{equation} \mathcal{F}_{\max} ( \{ \widetilde{\mu}_j ^{-1} \}_{j=\mathbbm{d}_0+1}^{\mathrm{K}}) \overset{\mathrm{P}}\rightarrow \infty , \quad \mathcal{F}_{\operatorname{trace}} ( \{ \widetilde{\mu}_j ^{-1} \}_{j=\mathbbm{d}_0+1}^{\mathrm{K}}) \overset{\mathrm{P}}\rightarrow \infty . \end{equation}

The test functionals described in Corollary (ref) are based on the limiting behavior of the inverse eigenvalues from the VR($d_L$,1) problem, so we call them inverse VR tests. Compared to Corollary (ref) concerning the testing problem \hyperref[{eqhypo}]{\tagform@{\ref*{eqhypo}}}, we allow $\mathbbm{d}_0=0$ in Corollary (ref). This means that we can, for example, test the null of stationarity of the time series $\{X_t\}_{t\geq 1}$ against an alternative of unit root nonstationarity. Hence, this test generalizes some existing, and widely used, KPSS-type tests of stationarity that are essentially obtained when $\mathbbm{d}_0=0$; see Appendix (ref) for a detailed discussion of related procedures.

remarkNote that $a_R>0$ is generally required in Theorem (ref) (and Corollary (ref)), whereas $a_R = 0$ is allowed in Theorem (ref) for the same VR($d_L$,1) problem. This is because Theorem (ref) requires $P_{\mathsf{S}}\widehat{\Lambda}_{1,R} P_{\mathsf{S}}$ to converge in probability in the sense of the operator norm to the true long-run variance of $\{P_{\mathsf{S}}X_t\}_{t\geq 1}$. Also, with $d_R=1$, $X_{1,t}$ is nonstationary, such that the optimal bandwidths in Remark (ref) do not appear immediately applicable.

Estimation of slack extractor

To implement the VR-based tests in practice, a slack extractor $\widehat{P}_{\mathrm{K}}$ satisfying either Assumption (ref) or (ref) is needed. As shown in Sections (ref)--(ref), both the VR and inverse VR tests require Assumption (ref) to hold for $\mathrm{K} \geq {\mathbbm{d}_{\mathsf{N}}}$, and when $\mathrm{K} < {\mathbbm{d}_{\mathsf{N}}}$ the inverse VR tests require instead that Assumption (ref) holds. In this section, we construct such estimators $\widehat{P}_{\mathrm{K}}$ from observations $\{X_t\}_{t\geq 1}$, and we propose low-level conditions on the eigenstructure of the operator $\Lambda_{\mathsf{S},R}$ defined in \hyperref[{eqlongrun}]{\tagform@{\ref*{eqlongrun}}}, under which the estimators satisfy the high-level conditions.

We let $\{\tau_{j}\}_{j \geq 1}$ be the eigenvalues of $\Lambda_{\mathsf{S},R}$, ordered from the largest to the smallest.

assumptionIf $\mathrm{K} > {\mathbbm{d}_{\mathsf{N}}}$ then $\tau_j \neq 0$ for $j=1, \ldots , \mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$ and $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} \neq \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$.

Assumption (ref) tells us that the allowable values of $\mathrm{K}$, which is chosen by the practitioner, depend on the number of nonzero eigenvalues of $\Lambda_{\mathsf{S},R}$ defined in \hyperref[{eqlongrun}]{\tagform@{\ref*{eqlongrun}}}. Specifically, it requires that the first $\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$ eigenvalues of $\Lambda_{\mathsf{S},R}$ are nonzero and that the $(\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}})$-th eigenvalue is different from the next eigenvalue, $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$. The role of the requirement $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} \neq \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$ is subtle (and may be relaxed under some additional assumptions). It is employed to make the slack extractor $\widehat{P}_{\mathrm{K}}$ have a certain desirable property in our proof and can be checked using the eigenvalues of the sample counterpart of $\Lambda_{\mathsf{S},R}$; see Assumption (ref) and Theorem (ref).

In a high-dimensional Hilbert space, the number of nonzero eigenvalues of $\Lambda_{\mathsf{S},R}$ is generally very large (or possibly infinite). Particularly, in a typical functional time series setting with $\dim(\mathcal H) = \infty$ (e.g.\ the case considered by NSS), $\Lambda_{\mathsf{S},R}$ generally has infinitely many nonzero eigenvalues, and Assumption (ref) allows $\mathrm{K}$ to be any arbitrary finite integer as long as $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} \neq \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$. In a finite-dimensional space, a reasonable upper bound on ${\mathbbm{d}_{\mathsf{N}}}$ will be relevant to choose $\mathrm{K}$ to satisfy Assumption (ref).

remarkConsider the simple choice $\mathrm{K}=\mathbbm{d}_0+m$ for $m\geq 0$. Then Assumption (ref) becomes more stringent as either $\mathbbm{d}_0$ or $m$ increases. It is thus recommended that practitioners select a small $m$ and a $\mathbbm{d}_0$ that is not much greater than ${\mathbbm{d}_{\mathsf{N}}}$. Since we can construct a reasonable upper bound on ${\mathbbm{d}_{\mathsf{N}}}$ (Remark (ref) and Section (ref)), Assumption (ref) does not appear to impose significant restrictions on the use of the VR($d_L,d_R$)-based tests in practice.
remarkEven if the VR($d_L,d_R$)-based tests allow choosing $\mathrm{K} = \mathbbm{d}_0$, this is not recommended in practice. If $\mathrm{K} = \mathbbm{d}_0$, Assumption (ref) requires $\widehat{P}_{\mathrm{K}}$ to be an accurate estimator of $P_{\mathsf{N}}$ in the sense that $\widehat{P}_{\mathrm{K}}$ is required to extract precisely the stochastic trends. If this fails, it tends to result in severe over-rejection. On the other hand, $\widehat{P}_{\mathrm{K}}$ for $\mathrm{K} > \mathbbm{d}_0$ is less likely to miss relevant stochastic trends and will thus contribute to having correct size in finite samples. This issue is discussed in detail in NSS.

We now describe the construction of the estimator of the slack extractor. Let

equation[equation omitted — 217 chars of source]

denote the sample variance (resp.\ long-run variance) estimator of $X_{1,t}$ if $a_R=0$ (resp. $a_R>0$), but allowing a new choice of bandwidth, $h_P$, and kernel, $\mathrm{k}_P(\cdot)$. The slack extractor needs to satisfy a rank condition in Assumption (ref) that depends on $\Lambda_{\mathsf{S},R}$, which is a variance when $a_R=0$ and a long-run variance when $a_R>0$. For this reason, we base our estimator of the slack extractor on $\widehat{\Lambda}_{1,P}$, which depends on $a_R$ in the same way; see also Remark (ref). The advantage is that the estimator $\widehat{P}_{\mathrm{K}}$ described in Theorem (ref) is universal in the sense that it can be applied for any of the VR($d_L,d_R$) tests that we consider.

theoremSuppose that Assumption (ref) holds. If $a_R>0$ then suppose also that $\mathrm{k}_P(\cdot)$ and $h_P$ in \hyperref[{eqlongrun2}]{\tagform@{\ref*{eqlongrun2}}} satisfy Assumption (ref). If $\mathrm{K} > {\mathbbm{d}_{\mathsf{N}}}$ then suppose also that Assumption (ref) holds. Let $\{ \hat{f}_j\}_{j=1}^{\mathrm{K}}$ be the eigenvectors corresponding to the $\mathrm{K}$ largest eigenvalues of $\widehat{\Lambda}_{1,P}$. Then $\widehat{P}_{\mathrm{K}} = \sum_{j=1}^{\mathrm{K}} \hat{f}_j \otimes \hat{f}_j$ satisfies Assumption (ref) when $\mathrm{K} \geq {\mathbbm{d}_{\mathsf{N}}}$ and satisfies Assumption (ref) when $\mathrm{K} < {\mathbbm{d}_{\mathsf{N}}}$.

Note that practitioners can employ the usual functional principal component analysis (FPCA) in $\mathcal H$ to obtain the eigenvectors in Theorem (ref). Thus, Theorem (ref) provides an easy-to-implement way to obtain an estimated projection operator $\widehat{P}_{\mathrm{K}}$ that satisfies the high-level conditions in Assumptions (ref) and (ref).

remarkOf course, the $\widehat{P}_{\mathrm{K}}$ given in Theorem (ref) is not the only choice that satisfies Assumptions (ref) and (ref). In fact, alternative estimators from the literature satisfy Assumptions (ref) and (ref) under different (but stronger) low-level conditions. For example, regardless of $a_R$, Chang2016 proposed using $\widetilde{P}_{\mathrm{K}} = \sum_{j=1}^{\mathrm{K}} \hat\phi_j \otimes \hat\phi_j$, where $\{\hat\phi_j\}_{j\geq 1}$ are the eigenvectors of the sample variance of $\{X_t\}_{t\geq1}$ (i.e., of $\widehat\Lambda_{1,P}(0)$), but that requires additional conditions. If (i) $\mathrm{K} \geq {\mathbbm{d}_{\mathsf{N}}}$, (ii) the variance $\Lambda_{\mathsf{S},R}$ satisfies that $\langle v, \Lambda_{\mathsf{S},R} v\rangle \neq 0$ for every nonzero $v \in \operatorname{ran} P_{\mathsf{S}}$, and (iii) the $(\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}})$-th largest eigenvalue of $\operatorname{\mathbb{E}} [ P_{\mathsf{S}}X_{t} \otimes P_{\mathsf{S}} X_{t}] (=\Lambda_{\mathsf{S},R}(0))$ is distinct from the next one, then we may deduce from Chang2016 and our proof of Theorem (ref) that $\sum_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}} \hat\phi_j \otimes \hat\phi_j \rightarrow_{\mathrm{P}} P_{\mathsf{N}}$ and that $\sum_{j={\mathbbm{d}_{\mathsf{N}}}+1}^{\mathrm{K}} \hat\phi_j \otimes \hat\phi_j$ converges to a nonrandom projection, $P_{\mathsf{S}}^{\mathrm{K}}$, satisfying $\operatorname{ran} P_{\mathsf{S}}^{\mathrm{K}} \subseteq \operatorname{ran} P_{\mathsf{S}}$ and $\operatorname{rank}(P_{\mathsf{S}}^{\mathrm{K}}\Lambda_{\mathsf{S},R} P_{\mathsf{S}}^{\mathrm{K}}) = \mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$. That is, Assumptions (ref) and (ref) hold for $\widetilde{P}_{\mathrm{K}}$. Condition (ii), in particular, may be restrictive in a functional time series setup, but it is necessary. Without it, $\operatorname{rank}(P_{\mathsf{S}}^{\mathrm{K}}\Lambda_{\mathsf{S},R} P_{\mathsf{S}}^{\mathrm{K}})$ could be smaller than $\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$, such that the I(0) components have reduced rank (long-run) variance. This is a concern when its inverse is used to construct the test statistic as in, e.g., Chang2016; see also the discussion of Assumption 2 and (B.4) in NSS.
remarkOur proposed $\widehat{P}_{\mathrm{K}}$ in Theorem (ref) does not require the additional conditions in Remark (ref), and it therefore seems preferable for practitioners. Specifically, because of the way $\widehat{\Lambda}_{1,P}$ depends on $a_R$, the projection $\sum_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}}\hat{f}_j\otimes \hat{f}_j$ is asymptotically equivalent to $\widehat{P}_{\mathrm{K}}P_{\mathsf{N}}$ and converges to $P_{\mathsf{N}}$, while $\sum_{j={\mathbbm{d}_{\mathsf{N}}}+1}^{\mathrm{K}}\hat{f}_j\otimes \hat{f}_j$ is asymptotically equivalent to $\widehat{P}_{\mathrm{K}}P_{\mathsf{S}}$ and converges to a projection, $P_{\mathsf{S}}^{\mathrm{K}}$, onto the $(\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}})$-dimensional eigensubspace of $\Lambda_{\mathsf{S},R}$ that is spanned by the eigenvectors corresponding to the leading nonzero eigenvalues. It then follows by definition of $\Lambda_{\mathsf{S},R}$ that the rank condition, $\operatorname{rank} (P_{\mathsf{S}}^{\mathrm{K}}\Lambda_{\mathsf{S},R} P_{\mathsf{S}}^{\mathrm{K}}) = \mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}$, is satisfied. In other words, to avoid the additional conditions in Remark (ref), the projection operator needs to be based on estimators of the eigenelements of $\Lambda_{\mathsf{S},R}$, which depends on $a_R$, and that is why we base our slack extractor on $\widehat{\Lambda}_{1,P}$, which similarly depends on $a_R$.

The condition $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} \neq \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$ in Assumption (ref) is generally required for the VR($d_L,d_R$)-based tests and also required for the inverse VR test when $\mathbbm{d}_0$ is close to ${\mathbbm{d}_{\mathsf{N}}}$. Practitioners might be concerned with potential violation of this condition for a chosen $\mathrm{K}$. However, as shown in our proof of Theorem (ref), the ordered eigenvalues $\{\widehat{\tau}_{j}\}_{j \geq {\mathbbm{d}_{\mathsf{N}}}+1}$ of $\widehat{\Lambda}_{1,P}$ converge in probability to $\{ \tau_j \}_{j\geq 1}$. That is, the first ${\mathbbm{d}_{\mathsf{N}}}$ eigenvalues of $\widehat{\Lambda}_{1,P}$ are associated (at least asymptotically) with the nonstationary subspace, and therefore it is the eigenvalues $\widehat\tau_j$ for $j={\mathbbm{d}_{\mathsf{N}}}+1,\ldots$ that correspond to to eigenvalues $\tau_j$ for $j=1,\ldots$ of $\Lambda_{\mathsf{S},R}$.

We may thus avoid violation of the condition $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} \neq \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$ by choosing $\mathrm{K}$ such that $\widehat{\tau}_{\mathrm{K}}$ is sufficiently greater than $\widehat{\tau}_{\mathrm{K}+1}$. This approach is pragmatic and also theoretically supported under the following assumption (which is required only when $a_R>0$).

assumption(i) $\operatorname{\mathbb{E}} [ \|P_{\mathsf{S}}X_t\|^8 ]<\infty$, (ii) $\|\sum_{j=m}^\infty \tilde{\Phi}_j \|_{\operatorname{op}} = \scalebox{0.7}{$\mathcal{O}$} (m^{-\beta})$ for some $\beta > 4$, (iii) there exists $\varphi>0$ such that $\lim_{x\to 0} (1-\mathrm{k}_P (x))/|x|^{\varphi}<\infty$, and $\tilde\varphi > \varphi$ such that $\sum_{j=-\infty}^\infty |j|^{\tilde\varphi} \| \operatorname{\mathbb{E}} [ P_{\mathsf{S}}X_t \otimes P_{\mathsf{S}}X_{t-j}] \|_{\operatorname{op}} < \infty,$ and (iv) $T/h_P^{2\varphi +1} =\scalebox{0.7}{$\mathcal{O}$} (1)$.

The conditions in Assumption (ref) are stronger than those in the previous sections. In particular, $\{P_{\mathsf{S}}X_t\}_{t\geq 1}$ needs to satisfy a stronger moment condition than required for $\{X_t\}_{t\geq 1}$ in Section (ref), and the coefficients $\{\Phi_j\}_{j\geq 1}$ are required to decay at a faster rate than in Section (ref). The latter can be seen from the fact that $\|\sum_{j=m}^\infty \tilde{\Phi}_j \|_{\operatorname{op}} = \scalebox{0.7}{$\mathcal{O}$} (m^{-\gamma})$ for some $\gamma>1$ implies the summability condition in \hyperref[{eqlinear2}]{\tagform@{\ref*{eqlinear2}}}. Assumption (ref)(iii) imposes a regularity condition on $\mathrm{k}_P(\cdot)$ and a summability condition on the autovariance operators of $\{P_{\mathsf{S}}X_t\}_{t\geq 1}$, and Assumption (ref)(iv) requires that $h_P$ is not too small relative to $T$. Nonetheless, even if Assumption (ref) includes some stronger conditions, we note that they are not essential for our proposed ADI tests but are only needed if practitioners want to check if $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} \neq \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$ based on the sample eigenvalues $\widehat\tau_j$. The following theorem establishes the desired result.

theoremSuppose that Assumption (ref) holds. If $a_R>0$ then assume also that $\mathrm{k}_P(\cdot)$ and $h_P$ in \hyperref[{eqlongrun2}]{\tagform@{\ref*{eqlongrun2}}} satisfy Assumption (ref) and that Assumption (ref) holds. If $\mathrm{K} > {\mathbbm{d}_{\mathsf{N}}}$ then \begin{equation*} (\widehat{\tau}_{\mathrm{K}} - \widehat{\tau}_{\mathrm{K}+1}) - ( \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} - \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1} ) = \mathcal{O}_{\mathrm{P}} ( M_T^{-1/2}), \end{equation*} where $M_T = T/h_P$ if $a_R>0$ and $M_T = T$ if $a_R = 0$.

From Theorem (ref) we deduce that, for any $\eta_T$ satisfying $\eta_T M_T^{-1/2} \to 0$ and $\eta_T \to \infty$,

align*[align* omitted — 492 chars of source]

This result can be applied in practice as an informal way to check whether the condition $\tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}} \neq \tau_{\mathrm{K}-{\mathbbm{d}_{\mathsf{N}}}+1}$ in Assumption (ref) is likely to hold. Since we do not need to impose Assumption (ref) in Theorem (ref) when $\mathrm{K} \leq {\mathbbm{d}_{\mathsf{N}}}$, we do not need to consider $\mathrm{K} \leq {\mathbbm{d}_{\mathsf{N}}}$ in Theorem (ref).

remarkIn our proof of Theorem (ref), Assumption (ref) is used to show that, when $a_R>0$, \begin{equation} \| T^{-1}P_{\mathsf{S}} \widehat{\Lambda}_{1,P} P_{\mathsf{S}} - \Lambda_{\mathsf{S},R} \|_{\operatorname{op}} = \mathcal{O}_{\mathrm{P}} ((T/h_P)^{-1/2}); \end{equation} see BERKES2016150. The desired result then follows from \hyperref[{eqrem01}]{\tagform@{\ref*{eqrem01}}}. Thus, any other conditions that imply \hyperref[{eqrem01}]{\tagform@{\ref*{eqrem01}}} can replace Assumption (ref) in Theorem (ref); see also Lemma 4.1 of Rice_Shang.
remarkA potentially useful result that may be deduced from our proofs of Theorems (ref) and (ref) is that the eigenvalues $\{\widehat{\tau}_j\}_{j\geq1}$ of $\widehat{\Lambda}_{1,P}$ satisfy \begin{equation} \frac{\widehat{\tau}_j}{\widehat{\tau}_{j+1}} \overset{\mathrm{P}}\rightarrow \infty if j={\mathbbm{d}_{\mathsf{N}}} \quadand\quad \frac{\widehat{\tau}_j}{\widehat{\tau}_{j+1}} =\mathcal{O}_{\mathrm{P}} (1) if j\neq{\mathbbm{d}_{\mathsf{N}}} . \end{equation} This result is analogous to that in Theorem 3.3 of Chang2016 for the sample variance operator of $\{X_t\}_{t\geq 1}$ (see also Theorem 3.2 of LRS2020nonst). Based on \hyperref[{eqrem1}]{\tagform@{\ref*{eqrem1}}}, we may in practice easily obtain a reasonable upper bound on ${\mathbbm{d}_{\mathsf{N}}}$, say $\mathbbm{d}_{\max}$, by computing the ratio given in \hyperref[{eqrem1}]{\tagform@{\ref*{eqrem1}}} and set $\mathbbm{d}_{\max} = \max_{1\leq j \leq \bar{s}} \{{\widehat{\tau}_j}/{\widehat{\tau}_{j+1}}\} + k$ for some large integer $\bar{s}$ and a small nonnegative integer $k$. Of course, in view of the asymptotic properties of $\widehat{\tau}_j$, $\max_{1\leq j \leq \bar{s}} \{{\widehat{\tau}_j}/{\widehat{\tau}_{j+1}}\}$ is itself a consistent estimator of ${\mathbbm{d}_{\mathsf{N}}}$. The latter is a slight modification of the eigenvalue ratio estimator of LRS2020nonst. However, we found that the finite-sample properties of this estimator tend to be worse than those of a different eigenvalue ratio-based estimator to be discussed in Section (ref). Nonetheless, either eigenvalue ratio-based estimator could be useful as a simple way to construct a reasonable upper bound on ${\mathbbm{d}_{\mathsf{N}}}$ in practice.
remark\phantomsection One practical advantage of our methodology is its applicability to both vector-valued and functional time series. In practice, functional data $X_t(r)$ are often observed only at discrete, regular intervals, $\{X_t(r_1), \dots, X_t(r_M)\}$, as illustrated in NSS and Section (ref). When the number of sampling points $M$ is small, applying our methodology directly to the vector-valued sequence is often more natural than smoothing the data to reconstruct functional variables. In more complicated cases with irregular or time-varying sampling grids, the process can be modeled as an error-contaminated cointegrated functional time series nam2025functional. Notably, nam2025functional demonstrates that a version of our VR($2,1$) approach is robust to I(0) measurement errors. A formal extension to accommodate such irregularly sampled and noisy data is left for future research.

Inclusion of deterministic components

So far we have assumed that $\{X_t\}_{t \geq 1}$ has no deterministic component. However, in practice it is quite common that observed time series contain a deterministic component. In this section, we focus on the case with a nonzero intercept and a linear trend since those seem to be most relevant in practice.

Suppose that the observed time series $\{Y_t\}_{t\geq 1}$ is

equation[equation omitted — 79 chars of source]

where $\{X_t\}_{t\geq 1}$ satisfies Assumption (ref). We let $U_t^{(1)}$ and $U_t^{(2)}$ be defined by

equation[equation omitted — 174 chars of source]

where $ \bar{Y} = T^{-1}\sum_{t=1}^T Y_t$ and $\bar{t} = T^{-1}\sum_{t=1}^T t = (T+1)/2$. Thus, $U_t^{(1)}$ and $U_t^{(2)}$ are, respectively, the mean-adjusted and the trend-adjusted residuals of $Y_t$ kokoszka2016kpss.

Our ADI variance ratio tests can be adjusted to accommodate deterministic terms by replacing the sample operators computed from $\{X_t\}_{t\geq1}$ with the corresponding operators computed from $\{U_t^{(1)}\}_{t\geq1}$ or $\{U_t^{(2)}\}_{t\geq1}$. When the model for $Y_t$ is given by \hyperref[{equnobs}]{\tagform@{\ref*{equnobs}}} with $\zeta_2 =0$ then we use $U_t^{(1)}$, and otherwise we use $U_t^{(2)}$.

This adjustment to accommodate deterministic terms produces some obvious changes in the asymptotic results given in Theorems (ref) and (ref) as in the existing literature (e.g., NSS, Section 3.4; seo2024functional, Section S3). For example, the extension for the VR$(d_L,1)$ test can easily be done as in Theorem 3 of NSS. More specifically, in Theorems (ref) and (ref), $W_{1,{\mathbbm{d}_{\mathsf{N}}}}$ needs to be replaced by ${\mathbbm{d}_{\mathsf{N}}}$-dimensional demeaned standard Brownian motion (if $\zeta_2=0$) or detrended standard Brownian motion (if $\zeta_2\neq 0$), and the definition of $W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}$ needs to change accordingly. Similar changes have to be made in Theorem (ref), but where, as may be deduced from our proof of Theorem (ref), $B_{\mathrm{K} - {\mathbbm{d}_{\mathsf{N}}}}$ needs to be replaced with the standard Brownian bridge (if $\zeta_2=0$) or the second-level standard Brownian bridge (if $\zeta_2\neq 0$), while $W_{d_L,{\mathbbm{d}_{\mathsf{N}}}}$ is the $(d_L-1)$-fold integrated demeaned (if $\zeta_2=0$) or detrended (if $\zeta_2\neq 0$) Brownian motion. The asymptotic results given in Theorems (ref) and (ref) do not require any changes once $\widehat{\Lambda}_{1,P}$ is constructed from the relevant residuals (our proofs of Theorems (ref) and (ref) contain related discussions). Following these changes to the theorems, it is quite obvious to make relevant changes to the corollaries given in the previous sections, and hence the details are omitted.

Determination of dimension of nonstationary subspace

Practitioners may mostly be interested in determining the dimension of $\mathcal H_{\mathsf{N}}$ rather than testing a specific hypothesis on the dimension. In this section we first propose sequential testing procedures for doing so, and then we consider an eigenvalue ratio estimation approach.

Estimation via sequential testing

First, we propose a “top-down” (TD) sequential procedure to estimate ${\mathbbm{d}_{\mathsf{N}}}$. Here we test \hyperref[{eqhypo}]{\tagform@{\ref*{eqhypo}}} sequentially (using any of the tests given in Corollaries (ref) and (ref)) for $\mathbbm{d}_0 = \mathbbm{d}_{\max}, \mathbbm{d}_{\max}-1, \ldots$, where $\mathbbm{d}_{\max}$ is an upper bound on the dimension of $\mathcal H_{\mathsf{N}}$ that can reasonably be chosen to be (slightly) greater than ${\mathbbm{d}_{\mathsf{N}}}$ in practice; e.g., Remark (ref). We let $\widehat\mathbbm{d}_{\rm TD}$ denote the value of $\mathbbm{d}_0$ under the first non-rejected null hypothesis; if the null hypothesis is rejected for every $\mathbbm{d}_0 = \mathbbm{d}_{\max}, \mathbbm{d}_{\max}-1, \ldots , 1$, then $\widehat\mathbbm{d}_{\rm TD} =0$.

Second, we consider a “bottom-up” (BU) procedure, where we test \hyperref[{eqhypo2}]{\tagform@{\ref*{eqhypo2}}} sequentially for $\mathbbm{d}_0 = 0 , 1 , \ldots$ using any of the inverse VR tests in Corollary (ref). We then let $\widehat\mathbbm{d}_{\rm BU}$ denote the first non-rejected null hypothesis. This procedure is attractive because no $\mathbbm{d}_{\max}$ needs to be specified, and the condition $\mathbbm{d}_{\max} \geq {\mathbbm{d}_{\mathsf{N}}}$ is not required; see also Remark (ref).

The sequential procedures can be applied with a different $\mathrm{K}$ and $\widehat{P}_{\mathrm{K}}$ for each value of $\mathbbm{d}_0$, i.e.\ in each step of the algorithm. Then $\mathrm{K}$ should be understood as a function of $\mathbbm{d}_0$, denoted $\mathrm{K} = \mathrm{K}(\mathbbm{d}_0)$, although we mostly suppress the dependence on $\mathbbm{d}_0$ to simplify the notation. In practice, $\mathrm{K}$ can simply be set to $\mathrm{K} = \mathbbm{d}_{\max} + m$ or $\mathrm{K} = \mathrm{K}(\mathbbm{d}_0) = \mathbbm{d}_0 + m$ for some integer $m \geq 1$ as in NSS; see Remark (ref) for details.

The consistency results for both procedures are given in the following theorem.

theoremSuppose that Assumptions (ref) and (ref) hold and that the nominal level of each individual test is $\alpha$. \begin{enumerate}[label=(\roman*)] • If $\mathbbm{d}_{\max} \geq {\mathbbm{d}_{\mathsf{N}}}$ and, in each step, $\mathrm{K} \geq \mathbbm{d}_0$ and $\widehat{P}_{\mathrm{K}}$ satisfies Assumption (ref), then \begin{equation*} \mathrm{P}(\widehat\mathbbm{d}_{\rm TD} = {\mathbbm{d}_{\mathsf{N}}}) \to 1-\alpha \quad and \quad \mathrm{P}(\widehat\mathbbm{d}_{\rm TD} > {\mathbbm{d}_{\mathsf{N}}}) \to 0. \end{equation*} • If, in each step, $\mathrm{K} > \mathbbm{d}_0$ and $\widehat{P}_{\mathrm{K}}$ satisfies Assumption (ref), then \begin{equation*} \mathrm{P}(\widehat\mathbbm{d}_{\rm BU} = {\mathbbm{d}_{\mathsf{N}}}) \to 1-\alpha \quad and \quad \mathrm{P}(\widehat\mathbbm{d}_{\rm BU} < {\mathbbm{d}_{\mathsf{N}}}) \to 0. \end{equation*} \end{enumerate}

The proof of Theorem (ref) follows directly from earlier results and is therefore omitted. For both procedures we note that if $\alpha \to 0$ as $T \to \infty$ then the procedures are consistent; that is $\mathrm{P}(\widehat\mathbbm{d}_{\rm TD} = {\mathbbm{d}_{\mathsf{N}}})~\to~1$ and $\mathrm{P}(\widehat\mathbbm{d}_{\rm BU} = {\mathbbm{d}_{\mathsf{N}}})~\to~1$.

remarkThe conditions stated in Theorem (ref) for each of the sequential procedures simplify nicely if simple choices of $\mathrm{K}$ are applied. For example, if either $\mathrm{K} = \mathbbm{d}_{\max} + m$ or $\mathrm{K} = \mathrm{K}(\mathbbm{d}_0) = \mathbbm{d}_0 + m$ for some integer $m \geq 1$, then the TD procedure in Theorem (ref)(i) only requires Assumption (ref) to hold for $\mathrm{K} = \mathbbm{d}_{\max}+m$. If $\mathrm{K} = \mathrm{K}(\mathbbm{d}_0) = \mathbbm{d}_0 + m$, then the BU procedure in Theorem (ref) only requires Assumption (ref) to hold for $\mathrm{K} = {\mathbbm{d}_{\mathsf{N}}} + m$, i.e.\ Assumption (ref) with $\mathrm{K} = {\mathbbm{d}_{\mathsf{N}}} + m$. Because $\mathbbm{d}_{\max} \geq {\mathbbm{d}_{\mathsf{N}}}$, the condition required for the TD procedure is stronger than that for the BU procedure.
remarkTo implement the proposed sequential procedures under the low-level conditions discussed in Section (ref), in each step we require Assumption (ref) with $\mathrm{K} = \mathrm{K}(\mathbbm{d}_0) \geq \mathbbm{d}_0$ for the TD procedure or $\mathrm{K} = \mathrm{K}(\mathbbm{d}_0) > \mathbbm{d}_0$ for the BU procedure. In either case, for each $\mathbbm{d}_0$, our tests do not require knowledge of the dimension of the (possibly strict sub)space in which $X_t$ takes values, but do require $\Lambda_{\mathsf{S},R}$ to have $\mathrm{K} - {\mathbbm{d}_{\mathsf{N}}}$ nonzero eigenvalues. It may be deduced from Theorem (ref) and Assumption (ref) that the TD procedures based on VR($d_L,d_R$) tests require a stronger condition on $\Lambda_{\mathsf{S},R}$ than the BU procedure based on inverse VR tests. To see this, suppose that a common choice of $\mathrm{K}$ (as a function of $\mathbbm{d}_0$) is used for both of the procedures, such as $\mathrm{K}=\mathbbm{d}_0+m$ for some $m \geq 1$. Because the BU procedure starts from $\mathbbm{d}_0 \leq {\mathbbm{d}_{\mathsf{N}}}$ and the TD procedure from $\mathbbm{d}_0 \geq {\mathbbm{d}_{\mathsf{N}}}$, the number of nonzero eigenvalues that we require for the TD procedure is always larger than that required for the BU procedure; this is illustrated for $m=2$ in Figure (ref). Moreover, the number of nonzero eigenvalues of $\Lambda_{\mathsf{S},R}$ required by the TD procedure is always positive when $\mathbbm{d}_0 > {\mathbbm{d}_{\mathsf{N}}}$, and this number increases as $\mathbbm{d}_0$ gets larger. This suggests that it is important to have a reasonable starting point $\mathbbm{d}_{\max} (\geq {\mathbbm{d}_{\mathsf{N}}} )$ for the TD procedure. Similarly, it should also be noted that, all else equal, $\Lambda_{\mathsf{S},R}$ is required to have more nonzero eigenvalues as $\mathrm{K}$ increases for both procedures, so it is preferable to choose $\mathrm{K}$ not too much larger than $\mathbbm{d}_0$. A similar suggestion for the choice of $\mathrm{K}$ can be found in NSS, but their argument was based on computational advantages in a more restrictive setting than ours. Our finding thus gives a theoretical justification for their choice in our more general setting.
figure[figure omitted — 2,495 chars of source]

As discussed in Remarks (ref) and (ref), the conditions required for the TD procedure are stronger than those required for the BU procedure. The BU procedure has the additional advantage that it can be implemented without specifying an upper bound $\mathbbm{d}_{\max}$ on ${\mathbbm{d}_{\mathsf{N}}}$ and, specifically, the choices of $\mathrm{K}$ for the BU procedure to consistently estimate ${\mathbbm{d}_{\mathsf{N}}}$ (with shrinking significance levels as discussed above) depend only on $\mathbbm{d}_0$ (not ${\mathbbm{d}_{\mathsf{N}}}$). However, Monte Carlo simulations have shown that the TD procedure has better finite-sample properties. Thus, we combine the above two sequential procedures into an “up-down” (UD) hybrid procedure that enjoys the advantages of both the TD and BU procedures. Specifically, we first apply the BU procedure to obtain $\widehat\mathbbm{d}_{\rm BU}$ and use this to specify a data-driven value of the upper bound as $\mathbbm{d}_{\max} = \widehat\mathbbm{d}_{\rm BU} +m_\mathbbm{d}$ for an integer $m_\mathbbm{d} \geq 0$. We then apply the TD procedure initiated at this upper bound to obtain the UD hybrid estimate, $\widehat\mathbbm{d}_{\rm UD}$. Note that the upper bound obtained in the first (BU) part of the UD procedure can also be used to choose the same $\mathrm{K} = \mathbbm{d}_{\max} + m$ for an integer $m \geq 0$ in all steps in the second (TD) part of the UD procedure. The finite-sample properties of this UD hybrid procedure, along with those of the other procedures, will be investigated by simulations in Section (ref).

Eigenvalue ratio estimator

Recent work concerning vector-valued time series provide ways to consistently estimate the number of stochastic trends using the fact that the eigenvalues of the sample autocovariance matrices have different stochastic orders if the time series contains components of different integration orders Zhang2018,Zhang_et_al2019,Chang2021. In a functional time series setting, the eigenvalue ratio estimator proposed by LRS2020,LRS2020nonst can be used to estimate the dimension of the component of the highest integration order. A slight modification of their estimator was discussed in Remark (ref).

Alternatively, based on the asymptotic results in Section (ref), we may use the generalized eigenvalue problem \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} to construct an eigenvalue ratio estimator for ${\mathbbm{d}_{\mathsf{N}}}$. Let $\mu_j$ be an eigenvalue of \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}}. As we prove in Theorem (ref) below, we can use Theorems (ref)--(ref) and arguments from their proofs to show that $\mu_j^{-1}\mu_{j+1} = \mathcal{O}_{\mathrm{P}} (1)$ if $j < {\mathbbm{d}_{\mathsf{N}}}$ (resp.\ $j > {\mathbbm{d}_{\mathsf{N}}}$) since both $n_T\mu_j$ and $n_T\mu_{j+1}$ converge (resp.\ diverge at the same rate), while $\mu_j^{-1}\mu_{j+1} \rightarrow_{\mathrm{P}} \infty$ if $j={\mathbbm{d}_{\mathsf{N}}}$. Hence, the ratio $\mu_j^{-1}\mu_{j+1}$ will be maximized at $j={\mathbbm{d}_{\mathsf{N}}}$. This motivates the estimator

equation[equation omitted — 147 chars of source]

where $\mathbbm{d}_{\max}$ is a pre-specified integer indicating an upper bound on ${\mathbbm{d}_{\mathsf{N}}}$. We note that these eigenvalue ratio-type estimators are only applicable when ${\mathbbm{d}_{\mathsf{N}}} \geq 1$; hence this needs to be examined first in practical implementation of these estimators. A convenient way to do this is to test \hyperref[{eqhypo2}]{\tagform@{\ref*{eqhypo2}}} with $\mathbbm{d}_0=0$ using the tests in Corollary (ref).

theoremSuppose that (i) $\mathbbm{d}_{\max} \geq {\mathbbm{d}_{\mathsf{N}}} \geq 1$, (ii) Assumptions (ref)--(ref) hold with $\mathrm{K} \geq \mathbbm{d}_{\max}+1$, and (iii) $a_R \geq 0$ (resp.\ $a_R > 0$) if $\mu_j$ is obtained from \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}} with $d_R = 1$ (resp.\ $d_R = 0$) and $d_L \geq d_R+1$. Then $\mathrm{P}(\ddot\mathbbm{d} ={\mathbbm{d}_{\mathsf{N}}}) \to 1.$

The estimator in \hyperref[{eqeigratio}]{\tagform@{\ref*{eqeigratio}}} is very similar to the eigenvalue ratio estimator proposed by LRS2020,LRS2020nonst, see also Remark (ref), but there are some important differences. First, their estimator is constructed directly from the eigenvalues of a sample variance operator, while we use the generalized eigenvalue problem \hyperref[{eqgev}]{\tagform@{\ref*{eqgev}}}. Second, their estimator requires a tuning parameter, say $\kappa >0$, to deal with estimation error associated with small eigenvalues; specifically, they set $\widehat\mathbbm{d}_{\text{\tiny{LRS}}} = \arg\min_{1\leq j\leq \mathbbm{d}_{\max}} \{ \hat\kappa_{j+1}/\hat\kappa_j \}$, where $\hat\kappa_j$ is the $j$-th largest eigenvalue of the sample variance operator and $\hat\kappa_j$ is regarded as zero if $\hat\kappa_j / \hat\kappa_1$ is smaller than $\kappa$, and they define $0/0=1$. However, our estimator in \hyperref[{eqeigratio}]{\tagform@{\ref*{eqeigratio}}} does not require such a tuning parameter.

Inference on subspaces

In practical applications it may be of interest to test hypotheses about $\mathcal H_{\mathsf{N}}$ or $\mathcal H_{\mathsf{S}}$. For a specified subspace $\mathcal H_0$, consider the following hypotheses:

align[align omitted — 627 chars of source]

For example, we may be interested in testing if a specific element $v \in \mathcal H$ is included in $\mathcal H_{\mathsf{N}}$, and hence can be interpreted as one of the common stochastic trends. In that case we can use \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}} with $\mathcal H_0 = \operatorname{span}\{v\}$. We can also test if a specified subspace, e.g.\ $\mathcal H_0 = \operatorname{span}\{v_1,v_2\}$, contains the entire nonstationary subspace by using \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}}. Finally, it may be of interest to examine if a specified element or subspace is in $\mathcal H_{\mathsf{S}}$, and then we can use \hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}}. In a finite-dimensional setting, \hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}} corresponds to testing if a vector or matrix is cointegrating.

Let $P_{\mathcal H_0}$ denote the projection onto $\mathcal H_0$, let $p_0 = \dim(\mathcal H_{0})$, and let ${\mathbbm{d}_{\mathsf{N}}}$ be known (or replaced by a consistent estimator from Section (ref)). \phantomsectionThe hypotheses \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}} and \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}} can then be tested by investigating the dimension of the nonstationary subspace associated with the residual series $\{ (I-P_{\mathcal H_0}) X_t\}_{t\geq 1}$, and the hypothesis \hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}} can be tested by investigating the dimension of the nonstationary subspace associated with the projected series $\{ P_{\mathcal H_0} X_t\}_{t\geq 1}$. Specifically, if $H_0$ of \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}} is true, then $\{(I-P_{\mathcal H_0}) X_t\}_{t\geq 1}$ contains ${\mathbbm{d}_{\mathsf{N}}}-p_0$ stochastic trends, if $H_0$ of \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}} is true then $\{ (I-P_{\mathcal H_0}) X_t\}_{t\geq 1}$ contains zero stochastic trends, and if $H_0$ of \hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}} is true then $\{ P_{\mathcal H_0} X_t\}_{t\geq 1}$ contains zero stochastic trends. Under $H_1$ in \hyperref[{hptest1}]{\textup{\tagform@{\ref*{hptest1}}}}--\hyperref[{hptest3}]{\textup{\tagform@{\ref*{hptest3}}}}, there are more stochastic trends in the relevant time series than under the null. Thus, by analyzing $\{ (I-P_{\mathcal H_0}) X_t\}_{t\geq 1}$ or $\{P_{\mathcal H_0} X_t\}_{t\geq 1}$, \hyperref[{hptest1}]{\textup{\tagform@{\ref*{hptest1}}}}--\hyperref[{hptest3}]{\textup{\tagform@{\ref*{hptest3}}}} may be readily tested by our inverse VR test, assuming the projected time series satisfy the conditions for the inverse VR test.

theoremSuppose that $\{P_{\mathcal H_0}X_t\}_{t\geq 1}$ and $\{(I-P_{\mathcal H_0})X_t\}_{t\geq 1}$ satisfy the conditions imposed in Theorem (ref). \begin{enumerate}[label=(\roman*)] • Consider the hypotheses \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}}. The test statistics in Corollary (ref) computed from $\{ (I-P_{\mathcal H_0}) X_t\}_{t\geq 1}$ with $\mathbbm{d}_0 = {\mathbbm{d}_{\mathsf{N}}}-p_0 \geq 0$ satisfy \hyperref[{thmeqaa3}]{\tagform@{\ref*{thmeqaa3}}} under $H_0$ and \hyperref[{eqcorthmv2a}]{\tagform@{\ref*{eqcorthmv2a}}} under $H_1$. • Consider the hypotheses \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}}. The test statistics in Corollary (ref) computed from $\{ (I-P_{\mathcal H_0}) X_t\}_{t\geq 1}$ with $\mathbbm{d}_0 = 0$ and $p_0\geq {\mathbbm{d}_{\mathsf{N}}}$ satisfy \hyperref[{thmeqaa3}]{\tagform@{\ref*{thmeqaa3}}} under $H_0$ and \hyperref[{eqcorthmv2a}]{\tagform@{\ref*{eqcorthmv2a}}} under $H_1$. • Consider the hypotheses \hyperref[{hptest3}]{\textup{\tagform@{\ref*{hptest3}}}}. The test statistics in Corollary (ref) computed from $\{ P_{\mathcal H_0} X_t\}_{t\geq 1}$ with $\mathbbm{d}_0 = 0$ and $\mathrm{K} = p_0$ satisfy \hyperref[{thmeqaa3}]{\textup{\tagform@{\ref*{thmeqaa3}}}} under $H_0$ and \hyperref[{eqcorthmv2a}]{\textup{\tagform@{\ref*{eqcorthmv2a}}}} under $H_1$. \end{enumerate}

Of course, the high-level conditions in Assumption (ref), which are applied in Theorem (ref), may be replaced by appropriate low-level conditions as discussed in Theorems (ref) and (ref).

The approach to testing the hypotheses \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}} and \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}} based on $\{(I-P_{\mathcal H_0})X_t\}_{t\geq 1}$ is parallel to that in seo2024functional who relied on an FPCA-based test for examining the number of stochastic trends embedded in a cointegrated functional time series. However, seo2024functional requires the condition that the long-run variance of $\{P_{\mathsf{S}} X_t\}_{t\geq 1}$ is positive definite on $\mathcal H_{\mathsf{S}}$, and this may be restrictive in cases where $X_t$ only takes values on an unknown (and possibly finite-dimensional) subspace. This condition is not required under our setup.

It is not possible, in general, to investigate the hypothesis \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}} (resp.\ \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}}) by testing if there are $p_0$ (resp.\ ${\mathbbm{d}_{\mathsf{N}}}$) stochastic trends in the projected time series $\{ P_{\mathcal H_0} X_t\}_{t\geq 1}$. For example, let $\{f_j\}_{j\geq 1}$ be an orthonormal basis of $\mathcal H$ and suppose $\mathcal H_{\mathsf{N}} = \operatorname{span}\{f_1\}$, i.e., ${\mathbbm{d}_{\mathsf{N}}}=1$. Consider $\mathcal H_0= \operatorname{span}\{g\}$ for $g = 0.5f_1+0.5f_2$, which can be a null hypothesis in either \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}} or \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}}. Both null hypotheses are false since neither $\operatorname{span}\{g\} \subseteq \operatorname{span}\{f_1\}$ nor $\operatorname{span}\{g\} \supseteq \operatorname{span}\{f_1\}$ is true. However, the projected time series $P_{\mathcal H_0} X_t=\langle X_t,g \rangle = \langle X_t,f_1 \rangle + \langle X_t,f_2 \rangle$ is nonstationary and has one stochastic trend. \phantomsectionSimilarly, $H_0$ in \hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}} cannot be investigated by testing if there are ${\mathbbm{d}_{\mathsf{N}}}$ stochastic trends in $\{ (I-P_{\mathcal H_0}) X_t\}_{t\geq 1}$. These impossibilities are discussed in Theorem 4.2 in FranchiParuolo2025, which characterizes the structure of the parameter space under the null and alternative of hypotheses of type \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}} and \hyperref[{hptest2}]{\textup{\tagform@{\ref*{hptest2}}}}.

remarkIn addition to testing the hypotheses \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}}--\hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}}, it may be of independent interest to examine the number of stochastic trends in the residual series $\{(I-P_{\mathcal H_0})X_t\}_{t\geq 1}$ for a specified subspace $\mathcal H_0$. This is particularly useful when $\mathcal H_0$ may be understood as a finite-dimensional “model” of $X_t$, as in our empirical example in Section (ref). In such cases, we may be interested in determining how well the model can capture the dominant (nonstationary) variation in the data. The number of stochastic trends in $\{ (I-P_{\mathcal H_0}) X_t \}_{t\geq 1}$, denoted $\mathbbm{d}_{\mathcal H_0}$, can be interpreted as the dimension of the nonstationary subspace that remains unexplained by the model. We can determine $\mathbbm{d}_{\mathcal H_0}$ by sequential testing as in Section (ref). Specifically, we can apply inverse VR tests on \begin{equation} H_0:\mathbbm{d}_{\mathcal H_0} = \mathbbm{d}_0 \quad vs \quad H_1: \mathbbm{d}_{\mathcal H_0} > \mathbbm{d}_0 \end{equation} for $\mathbbm{d}_0=\max\{{\mathbbm{d}_{\mathsf{N}}}-p_0,0\},\max\{{\mathbbm{d}_{\mathsf{N}}}-p_0,0\}+1,\ldots,{\mathbbm{d}_{\mathsf{N}}}$, or we can apply VR tests on \begin{equation} H_0:\mathbbm{d}_{\mathcal H_0} = \mathbbm{d}_0 \quad vs \quad H_1: \mathbbm{d}_{\mathcal H_0} < \mathbbm{d}_0 \end{equation} for $\mathbbm{d}_0={\mathbbm{d}_{\mathsf{N}}},{\mathbbm{d}_{\mathsf{N}}}-1,\ldots, \max\{{\mathbbm{d}_{\mathsf{N}}}-p_0,1\}$.

Monte Carlo study

We study the finite-sample performance of the proposed ADI tests using a Monte Carlo simulation setup similar to the functional AR(1) model in LRS2020nonst, NSS, and seo2024functional. Let $\{ g_j \}_{j \geq 1}$ be the Fourier basis functions on $[0,1]$. For each ${\mathbbm{d}_{\mathsf{N}}}$, we let $P_{\mathsf{N}} \Delta X_t$ and $P_{\mathsf{S}} X_t$ be generated by the following stationary functional AR(1) models,

equation*[equation* omitted — 336 chars of source]

where $\{ g_j^N \}_{j=1}^{{\mathbbm{d}_{\mathsf{N}}}}$ are randomly drawn from $\{ g_1 , \ldots , g_{{\mathbbm{d}_{\mathsf{N}}}+3} \}$ (${\mathbbm{d}_{\mathsf{N}}} \leq 8$ in our simulation experiments), $\{ g_j^S \}_{j=1}^{12}$ are randomly drawn from $\{ g_{15}, \ldots , g_{30} \}$, and $\varepsilon_t$ is given by $\sum_{j=1}^{40} (0.9)^{j-1} \theta_{j,t} g_j$ for standard normal random variables $\{ \theta_{j,t} \}_{j \geq 1}$ that are independent across $j$ and $t$. We let $\alpha_j$ and $\beta_j$ be independent uniform random variables on $[-0.8,0.8]$ for each realization of the data generating process (DGP). In practice, it is common to have a nonzero intercept or a linear time trend as in Section (ref). We here consider the former case and add an intercept $\zeta_1$, which is also randomly chosen, to each realization of the DGP. Specifically, $\zeta_1 = \sum_{j=1}^{30} (0.9)^{j-1} \tilde{\theta}_j g_j$, where $\{ \tilde{\theta}_j \}_{j=1}^{30}$ are independent standard normal random variables. Viewed as a time series taking values in the $L^2[0,1]$ Hilbert space, we may obtain the eigenelements of the sample (long-run) variance of $X_t$ using FPCA (see e.g., Chang2016; NSS; LRS2020nonst). To this end, we represent $X_t$, which is assumed to be observed on 200 regularly spaced points of $[0,1]$, using the first 40 Legendre basis functions.

To choose bandwidths, we follow Remarks (ref), (ref), (ref), and (ref). For VR tests with $d_R = 1$ we let $h_P=h_L=h_R=0$ (Remarks (ref) and (ref)). For the remaining tests, we let $h_P=[T^{1/3}]$ because a large bandwidth is supported by Assumption (ref). For VR tests with $d_R = 0$ we let $h_R = h_{\rm opt}$, which is the andrews1991 optimal bandwidth (Remark (ref)), but for the inverse tests the series are nonstationary, so we let $h_R=[T^{1/5}]$, which is the same rate as $h_{\rm opt}$ (Remark (ref)). We consider both $h_L=0$ and $h_L=[ T^{1/3}]$ (Remark (ref)). Throughout, we let $\mathrm{k}_\mathit{m}(\cdot)$ be the Tukey-Hanning kernel for $m \in \{ L,R,P \}$, all test statistics apply the trace test functional $\mathcal{F}_{\operatorname{trace}}$, and the slack extraction uses $\mathrm{K} = \mathbbm{d}_0 +2$ following Remark (ref).

\phantomsectionWe present simulation results for the VR(2,1), VR(2,0), VR(1,0), and inverse VR tests (the latter based on the (2,1) problem). The VR choices (2,1), (1,0), and the inverse VR are motivated by well-known tests from finite-dimensional Euclidean space, see Remark (ref) and Appendix (ref), and the VR(2,0) is in-between. We also performed simulations for VR tests based on larger values of $d_L$, but found that their performances were inferior to the tests reported here (results available upon request).

table[table omitted — 3,487 chars of source]

Table (ref) reports rejection frequencies. We consider true dimension ${\mathbbm{d}_{\mathsf{N}}} \in \{ 0,1,3,5,7 \}$. For the VR tests we consider the null $\mathbbm{d}_0 = {\mathbbm{d}_{\mathsf{N}}}$ and alternatives $\mathbbm{d}_0 = {\mathbbm{d}_{\mathsf{N}}} +1$ and $\mathbbm{d}_0 = {\mathbbm{d}_{\mathsf{N}}} +2$, and for the inverse VR test we consider the null $\mathbbm{d}_0 = {\mathbbm{d}_{\mathsf{N}}}$ and alternatives $\mathbbm{d}_0 = {\mathbbm{d}_{\mathsf{N}}} -1$ and $\mathbbm{d}_0 = {\mathbbm{d}_{\mathsf{N}}} -2$. The results show that the VR(1,0) and VR(2,0) tests are seriously under-sized when $a_L=0$, as expected based on shintani2001simple, especially for the larger values of ${\mathbbm{d}_{\mathsf{N}}}$ considered, and both tests suffer from lower power in those cases as a consequence. Size control is much better for $h_L=[T^{1/3}]$ for the VR(1,0) test, but not for the VR(2,0) test. The VR(2,1) test has very good size properties in all cases considered except the largest value of ${\mathbbm{d}_{\mathsf{N}}}$ with the smallest sample size, and it has excellent power. Finally, we see that the inverse VR test is slightly over-sized in some cases. Its power is nearly as impressive as that of the VR(2,1) test, but of course the alternatives are different for the inverse VR test, and it does not have the natural upper bound $\mathbbm{d}_{\max}$ that the VR tests have.

table[table omitted — 3,242 chars of source]

In Table (ref) we investigate the finite-sample performance of the tests when they are applied to estimate ${\mathbbm{d}_{\mathsf{N}}}$ using one of the sequential procedures described in Section (ref). For comparison, we also consider the eigenvalue ratio estimator $\ddot\mathbbm{d}$ computed from the VR(2,1) problem (see Theorem (ref)), and \citepos{LRS2020nonst} estimator, which is denoted $\widehat\mathbbm{d}_{\text{\tiny{LRS}}}$. For each method and each value of ${\mathbbm{d}_{\mathsf{N}}}$, the table reports the frequencies of correctly estimating the true dimension ${\mathbbm{d}_{\mathsf{N}}}$. Overall, the direct estimators $\ddot\mathbbm{d}$ and $\widehat\mathbbm{d}_{\text{\tiny{LRS}}}$ perform worse than the VR(2,1) and inverse VR sequential testing procedures, and between the two eigenvalue ratio estimators, $\ddot\mathbbm{d}$ tends to perform better than $\widehat\mathbbm{d}_{\text{\tiny{LRS}}}$. The sequential TD procedure based on the VR(2,1) tests performs very well, and the BU procedure (based on the inverse VR test) performs nearly as well. On the other hand, the TD procedures based on the VR(2,0) and VR(1,0) tests perform very poorly for ${\mathbbm{d}_{\mathsf{N}}} \geq 3$, which was expected based on their poor power observed in Table (ref). The choice of $h_L$ seems to significantly affect the performance of the VR(1,0) tests, especially when ${\mathbbm{d}_{\mathsf{N}}}$ is large. Of course, this is not the case for the TD procedure based on the VR(2,1) test, and indeed, this method appears to perform the best overall.

Results for the UD hybrid procedure are also reported in Table (ref). This enjoys the advantage of a data-driven selection of $\mathbbm{d}_{\max} = \widehat\mathbbm{d}_{\rm BU}+5$. This $\mathbbm{d}_{\max}$ is random, but the good performance of the BU procedure, the addition of 5 from $\widehat\mathbbm{d}_{\rm BU}$, and the strong robustness of the TD procedures to the choice of $\mathbbm{d}_{\max}$, imply that in fact the UD procedures enjoy nearly identical frequencies of correct estimation of ${\mathbbm{d}_{\mathsf{N}}}$ as the corresponding TD procedures. Thus, the advantage of the data-driven selection of $\mathbbm{d}_{\max}$ comes without cost, at least for these sample sizes, and consequently the UD procedure based on VR(2,1) is the preferred method in our Monte Carlo simulations.

Finally, recall that the functional observations are constructed from 200 regularly spaced points on $[0,1]$ by smoothing using the first 40 Legendre basis functions. However, as discussed earlier, our methodology can also be applied to the time series of 200-dimensional vectors of discrete realizations of $X_t$ with no additional theoretical modification. We thus repeated the analysis in Table (ref) letting $\{X_t\}_{t\geq 1}$ be viewed as a 200-dimensional vector-valued time series, but the results were nearly identical and are hence omitted.

remarkBased on our simulation evidence, the hybrid procedure, combining the inverse VR (with $h_L=0$ and $h_R>0$) and the VR($2,1$) sequential tests, appears to perform well with $\mathrm{K} = \mathbbm{d}_0+m$ (see Remark (ref)). We provide a detailed practical implementation guide in Section (ref) in the supplement. In that section, we also discuss how to implement the procedure when the VR($2,1$) test is replaced by other variants.

Empirical applications

In this section we illustrate our methdology with two real-world data examples.

Corporate bond yield curves

We apply the proposed tests to examine the number of common stochastic trends in the monthly time series of high quality market corporate bond yield curves (a.k.a.\ the HQM yield curve). The data is from the US Department of Treasury available at \url{https://home.treasury.gov/} and spans Jan.\ 1984 to Dec.\ 2018. At each time $t$, we observe a corporate bond with 200 different maturities ranging from 6 months to 100 years. This data was studied by BT2022, who assumed that this high-dimensional time series is driven by a few factors of deterministic trends and I(1) and I(0) processes, and estimated the number of those factors using their own testing procedure. However, it may be more natural to view this time series as realizations of yield curves that are either finite-dimensional (of high and unknown dimension) or curve-valued. With this point of view, we apply our methodology to determine the number of stochastic trends. To implement our methodology, we represent the HQM yield data by the first 40 Legendre basis functions as in Section (ref).

figure[figure omitted — 462 chars of source]

Figure (ref) shows the time series of HQM yield curves (observed at 200 different maturities) and Figure (ref) shows the time series of yields at fixed maturities of 3, 6, 10, and 30 years. The figures suggest that the HQM yield data includes a linear time trend. The existence of a linear trend is tested and confirmed by BT2022 for the data span of Jan.\ 1985 to Sep.\ 2017. Thus, we apply the trend-adjusted testing procedures in Section (ref).

table[table omitted — 2,109 chars of source]

The empirical results are reported in Table (ref). We implement all procedures as in Section (ref) using $h_L=[T^{1/3}]$ for the VR(2,0), VR(1,0), and inverse VR tests, and using $\mathrm{K} = \mathbbm{d}_0 +2$ for slack extraction. The eigenvalue ratio estimates in the first part of the table are $\ddot\mathbbm{d} = 6$ and $\widehat\mathbbm{d}_{\text{\tiny{LRS}}} = 5$ (using $\kappa=10^{-4}$), although the ratios are close to suggesting $\ddot\mathbbm{d} = 2$ and $\widehat\mathbbm{d}_{\text{\tiny{LRS}}} = 3$.

In the second part of Table (ref) we report the VR and inverse VR test statistics for a range of $\mathbbm{d}_0$. The inverse VR tests imply that $\widehat\mathbbm{d}_{\rm BU} = 3$ (at 1% level) or $\widehat\mathbbm{d}_{\rm BU} = 6$ (at 5% level). Given this result, the choice $\mathbbm{d}_{\max} = 7$ seems like a reasonable input to the UD procedures. The latter give either $\widehat\mathbbm{d}_{\rm UD} = 2$ or $\widehat\mathbbm{d}_{\rm UD} = 3$ depending on the choice of ($d_L,d_R)$ and level. However, the BU and TD procedures (with (2,1) and (2,0)) only agree at 1% level, in which case all three find $\widehat\mathbbm{d} = 3$. Overall, the evidence thus supports ${\mathbbm{d}_{\mathsf{N}}} = 3$ stochastic trends.

The Nelson-Siegel term structure model

Given an estimated dimension, it is possible to examine various hypotheses on the nonstationary subspace as in Section (ref). A popular model for the term structure of interest rates was proposed by NelsonSiegel87; henceforth the N-S model. They represent the term structure of yield curves by a linear combination of three parametric functions,

equation*[equation* omitted — 226 chars of source]

where $\tau$ is time to maturity, $\varsigma$ is a shape parameter, and $\gamma_0$, $\gamma_1$, and $\gamma_2$ denote level, slope, and curvature factors. Because $\gamma_1$ and $\gamma_2$ are nearly collinear for large $\tau$, we subsequently consider only data for $\tau \in [0,30]$ years. This has almost no impact on the results reported in Table (ref). We now investigate to what extent the N-S model can explain the dominant (nonstationary) variation in the data. To this end, we need to specify the shape parameter, $\varsigma$. Since our data is annualized, we set $\varsigma = 1.37$ following DieboldLi2006.

We first test the hypothesis $H_0$ in \hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}} with $\mathcal H_0 = \operatorname{span} \{ \gamma_0 , \gamma_1, \gamma_2 \}$ using Theorem (ref)(iii). That is, we test whether “fitted values,” $\{ P_{\mathcal H_0}X_t \}_{t\geq 1}$, from the N-S model are stationary. Not surprisingly, this hypothesis is strongly rejected. The same conclusion holds for tests of \hyperref[{hptest3}]{\tagform@{\ref*{hptest3}}} when $\mathcal H_0$ is specified as the span of any one or two of the factors $\gamma_i$, $i=0,1,2$. This confirms that none of the factors are stationary.

Next, we test if the level, slope, and curvature factors span the nonstationary subspace as in \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}}. From our earlier results in Table (ref), we set the dimension of the latter to ${\mathbbm{d}_{\mathsf{N}}} = 3$ (testing at 1% level). Thus, there is no possibility that the N-S model with only one or two factors can yield stationary residuals. With three factors, it is of interest to test if the N-S model can explain all the nonstationary variation in the yield curve data and, as a result, can yield stationary residuals. In this sense, the hypothesis $H_0 : \mathcal H_0 = \operatorname{span} \{ \gamma_0 , \gamma_1, \gamma_2 \} \supseteq \mathcal H_{\mathsf{N}}$ in \hyperref[{hptest2}]{\tagform@{\ref*{hptest2}}} is very interesting, and its non-rejection would be the strongest conclusion that we could obtain. However, implementing the test as in Theorem (ref)(ii) with $\mathbbm{d}_0 = 0$ and $p_0 = 3$, the inverse VR statistic is $1.47$ (see Table (ref)) and rejects the null at 1% level.

We proceed to test $H_0$ in \hyperref[{hptest1}]{\tagform@{\ref*{hptest1}}}, where $\mathcal H_0$ is specified as various choices of factor(s). That is, we test whether any one factor can reduce the dimension of the nonstationary subspace by one, and also whether any two factors can reduce the dimension by two. Of course, the latter is less likely to be accepted than the former. For one factor, implementing the test as in Theorem (ref)(i), the inverse VR statistics with $\mathbbm{d}_0 = 2$ are $0.24$, $0.21$, and $0.22$ for $\mathcal H_0 = \operatorname{span} \{ \gamma_0 \}$, $\mathcal H_0 = \operatorname{span} \{ \gamma_1 \}$, $\mathcal H_0 = \operatorname{span} \{ \gamma_2 \}$, respectively, in each case rejecting the null at 1% level. For two factors, the inverse VR statistics with $\mathbbm{d}_0 = 1$ are $0.40$ and $0.38$ for $\mathcal H_0 = \operatorname{span} \{ \gamma_0 , \gamma_1 \}$ and $\mathcal H_0 = \operatorname{span} \{ \gamma_1 , \gamma_2 \}$, respectively, in both cases rejecting the null at 1% level. Thus, there is no evidence to suggest that any one factor is in the nonstationary subspace, i.e., that any one factor can be interpreted as one of the common stochastic trends.

table[table omitted — 954 chars of source]

Finally, following Remark (ref), we investigate if the nonstationary subspace of the residual series, $\{ (I-P_{\mathcal H_0})X_t \}_{t\geq 1}$ with $\mathcal H_0 = \operatorname{span} \{ \gamma_0 , \gamma_1, \gamma_2 \}$, is of smaller dimension than that of $X_t$ itself. Letting the former be denoted $\mathbbm{d}_{\mathcal H_0}$, we apply the sequential procedures in \hyperref[{sequential1}]{\tagform@{\ref*{sequential1}}} and \hyperref[{sequential2}]{\tagform@{\ref*{sequential2}}}. The results are reported in Table (ref). The BU procedure yields $\widehat\mathbbm{d}_{\mathcal H_0 , {\rm BU}} = 3$ at 1% level and rejects $\mathbbm{d}_0 = 3$ at 5% level. Applying the TD sequential procedure starting from $\mathbbm{d}_{\max} = 3$, we find $\widehat\mathbbm{d}_{\mathcal H_0 , {\rm TD}} = 2$ with the preferred VR(2,1) test at 5% level (but $\widehat\mathbbm{d}_{\mathcal H_0 , {\rm TD}} = 1$ at 10% level with the VR(2,1) test, $\widehat\mathbbm{d}_{\mathcal H_0 , {\rm TD}} = 1$ at 5% level with the VR(2,0) test, and $\widehat\mathbbm{d}_{\mathcal H_0 , {\rm TD}} = 0$ at 1% level with the VR(1,0) test). Thus, we do find some evidence that three factors in the N-S model explain some of the nonstationary variation in the data.

The empirical results for the N-S model are specific to the value of $\varsigma$, at least for the slope and curvature factors. As a robustness check, we repeated the analysis for $\varsigma = 1,2,3,4,5$, and the results were qualitatively the same. In conclusion, the three parametric factors of the N-S model cannot fully explain the nonstationarity in the corporate yield curve data, so the residuals from the model will still exhibit nonstationarity. However, the model can capture some of the nonstationarity, in the sense that the dimension of the nonstationary subspace of the residuals is smaller than that of the original yield curve data.

Labor market indices

In empirical (macro) analysis, high-dimensional observations are often given by a collection of potentially nonstationary variables that are closely related to each other but do not have a natural ordering. In such cases, not only is each observation naturally understood as a realization of a high-dimensional random vector that cannot generally be smoothed to a curve (unlike in our previous example of yield curve data), but also the number of linearly independent I(1) stochastic trends may be substantially smaller than the total number of variables. As discussed, in this case as well, our proposed methodology can be applied to study the number of stochastic trends and/or stationarity without any modifications. To illustrate this versatility of our methodology, we now consider another empirical example analyzing 29 monthly labor market indices provided in the FRED-MD data set McCracken2016. The indices include the civilian labor force, employment/unemployment rate, hourly wage, and other labor-related economic variables; a detailed list can be found in the table labeled “Group 2” in the appendix of McCracken2016. We apply log-transformation to the data.\footnote{The log transformation was suggested by McCracken2016 for some variables. We found that the remaining variables are often very large in scale (e.g., “HWI”) or have only positive values. Thus, those variables are also log-transformed in our testing procedure.} The time span used in this analysis is Jan.\ 1990 to Dec.\ 2019.

figure[figure omitted — 759 chars of source]
figure[figure omitted — 840 chars of source]
table[table omitted — 1,637 chars of source]

In Figure (ref) we display time series of $\langle X_t,\widehat{\nu}_j \rangle$ for some eigenvectors $\widehat{\nu}_j$ that are computed from $\widehat\Lambda_{0,R}$. These are the $j^{\rm th}$ score processes (see Chang2016 and Section 5 of NSS). It is clear from Figure (ref) that there is some nonstationary behavior (e.g., $j=1$), but this seems to eventually disappear leaving stationary processes (e.g., $j=10$).

McCracken2016 suggested that some of these labor market indices may be I(2) variables.\footnote{Specifically, FRED ID variables CES0600000008, CES2000000008, and CES3000000008.} To examine the existence of this type of higher-order stochastic trends, we first display in Figure (ref) the first three score processes, $\{\langle \Delta X_t,\widehat{\nu}_j \rangle\}_{t=1}^T$. Some of these must behave as a unit root process if the original time series is I(2), and that does not appear to be the case. Next, we apply our testing procedures to the first differenced time series, $\{\Delta X_t\}_{t=1}^T$. The bandwidth parameters are set to those applied in Section (ref), and in this part of the analysis, we use mean-adjusted statistics (Section (ref)). The results are reported in Table (ref), where we see that $\ddot\mathbbm{d}= 2$, $\widehat\mathbbm{d}_{\text{\tiny{LRS}}} =1$ (but recall that they cannot be zero), whereas $\widehat\mathbbm{d}_{\rm BU} = \widehat\mathbbm{d}_{\rm TD} = \widehat\mathbbm{d}_{\rm UD} = 0$ regardless of the choice of test statistic and level (except inv.VR at 10% level). From Figure (ref) and Table (ref), it seems unlikely that there are any I(2) stochastic trends.

We therefore proceed to apply our methodology to the level time series, $\{X_t\}_{t=1}^T$, to determine the number of I(1) stochastic trends. We now correct for a mean and linear time trend. The results are presented in Table (ref). For the eigenvalue ratio estimators we find $\ddot\mathbbm{d} = \widehat\mathbbm{d}_{\text{\tiny{LRS}}} = 1$. However, the sequential testing results are quite different. Although the inverse VR test results are reported only for $\mathbbm{d}_0=6,\ldots, 11$, the null hypotheses $\mathbbm{d}_0=0,1,\ldots , 5$ are all rejected at 1% level. Thus, we find that $\widehat\mathbbm{d}_{\rm BU} = 10$ at 5% level and $\widehat\mathbbm{d}_{\rm BU} = 9$ at 1% level, and we use this to set $\mathbbm{d}_{\max} = 15$. We report results for the VR tests for $\mathbbm{d}_0=6,7,\ldots,11$. The larger values of $\mathbbm{d}_0$ are rejected at 1% level for VR(2,1) and VR(1,0), but not for VR(2,0). This is consistent with the simulation findings in Table (ref). We then find $\widehat\mathbbm{d}_{\rm UD} = 8$ based on VR(1,0) at 5% level, $\widehat\mathbbm{d}_{\rm UD}=9$ based on VR(2,1) at 5% level or VR(1,0) at 1% level, and $\widehat\mathbbm{d}_{\rm UD}=10$ based on VR(2,1) at 1% level. On balance, we conclude that there are likely 9 stochastic trends. This means that the number of cointegrating relationships is about 2/3 of the dimension of the original data. Given this result, one should be careful in the application of cointegration rank tests that require a small number of cointegrating relationships (Remark (ref)).

table[table omitted — 1,879 chars of source]

Finally, for both empirical applications we investigate the robustness of $\widehat\mathbbm{d}_{\rm TD}$ to the initial hypothesis, $\mathbbm{d}_{\max}$, by computing $\widehat\mathbbm{d}_{\rm TD}$ using the VR(2,1), VR(2,0), and VR(1,0) tests at 5% level for a range of $\mathbbm{d}_{\max}$. In the yield example, $\widehat\mathbbm{d}_{\rm TD} = 2$ for $\mathbbm{d}_{\max}=2,\ldots ,20$ using either of the tests. In the labor index example in levels, $\widehat\mathbbm{d}_{\rm TD}$ is unchanged for $\mathbbm{d}_{\max} = 9,\ldots ,20$ using VR(2,1) and VR(1,0). The VR(2,0) test is sensitive to $\mathbbm{d}_{\max}$ as expected given the simulation results in Table (ref). The former two tests are remarkably robust to the choice of $\mathbbm{d}_{\max}$.

Conclusion

We have considered statistical inference on unit roots and cointegration for time series taking values in a Hilbert space of an arbitrarily large dimension or a subspace of possibly unknown dimension. This has wide applicability in practice; for example, in cointegrated vector time series of finite dimension, in a high-dimensional factor model that includes a finite number of nonstationary factors, in cointegrated curve-valued (or function-valued) time series, and in nonstationary dynamic functional factor models. We considered mainly determination of the dimension of the nonstationary subspace (number of common stochastic trends), but we also considered hypothesis testing on the stationary and nonstationary subspaces themselves.

We provided limit theory for general variance ratio-type statistics based on partial summation and/or differencing, and we demonstrated how to apply these variance ratio statistics to sequentially test for the dimension of the nonstationary subspace or to test hypotheses on the subspaces. Our theory covers many possible tests, and choosing among them is not trivial. Our preferred test is the VR(2,1) test due to several theoretical and practical advantages. Most importantly, it does not require the choice of any bandwidth parameters as it can be implemented only with estimated sample variance operators and not long-run variance operators. This is not only a practical advantage, but also implies a consistency property not shared by tests that need to estimate a long-run variance muller2007,muller2008. Also, critical values are readily available Breitung2002 by the isomorphism with $\mathbb{R}^\mathrm{K}$. To illustrate our methods, we included a small Monte Carlo simulation study, wherein the VR(2,1) test also showed superior performance, as well as two empirical illustrations to the term structure of interest rates and labor market indices, respectively.