feds · April 30, 2012

Signal Extraction for Nonstationary Multivariate Time Series with Illustrations for Trend Inflation

Abstract

This paper advances the theory and methodology of signal extraction by introducing asymptotic and finite sample formulas for optimal estimators of signals in nonstationary multivariate time series. Previous literature has considered only univariate or stationary models. However, in current practice and research, econometricians, macroeconomists, and policy-makers often combine related series - that may have stochastic trends--to attain more informed assessments of basic signals like underlying inflation and business cycle components. Here, we use a very general model structure, of widespread relevance for time series econometrics, including flexible kinds of nonstationarity and correlation patterns and specific relationships like cointegration and other common factor forms. First, we develop and prove the generalization of the well-known Wiener-Kolmogorov formula that maps signal-noise dynamics into optimal estimators for bi-infinite series. Second, this paper gives the first explicit treatment of finite-length multivariate time series, providing a new method for computing signal vectors at any time point, unrelated to Kalman filter techniques; this opens the door to systematic study of near end-point estimators/filters, by revealing how they jointly depend on a function of signal location and parameters. As an illustration we present econometric measures of the trend in total inflation that make optimal use of the signal content in core inflation.

Finance and Economics Discussion Series Divisions of Research & Statistics and Monetary Affairs Federal Reserve Board, Washington, D.C. Signal Extraction for Nonstationary Multivariate Time Series with Illustrations for Trend Inflation Tucker S. McElroy and Thomas M. Trimbur 2012-45 NOTE: Staff working papers in the Finance and Economics Discussion Series (FEDS) are preliminary materials circulated to stimulate discussion and critical comment. The analysis and conclusions set forth are those of the authors and do not indicate concurrence by other members of the research staff or the Board of Governors. References in publications to the Finance and Economics Discussion Series (other than acknowledgement) should be cleared with the author(s) to protect the tentative character of these papers.

Signal Extraction for Nonstationary Multivariate Time Series with Illustrations for Trend Inflation Tucker McElroy and Thomas Trimbur U.S. Census Bureau and Federal Reserve Board May 2012 Abstract Thispaperadvancesthetheoryandmethodologyofsignalextractionbyintroducingasymptotic and finite sample formulasforoptimal estimatorsofsignalsinnonstationary multivariate time series. Previous literature has considered only univariate or stationary models. However, in current practice and research, econometricians, macroeconomists, and policymakers often combine related series - that may have stochastic trends - to attain more informed assessments of basic signals like underlying inflation and business cycle components. Here, we use a very general model structure, of widespread relevance for time series econometrics, including flexible kinds of nonstationarity and correlation patterns and specific relationships like cointegration and other common factor forms. First, we develop and prove the generalization of the well-known Wiener-Kolmogorov formula that maps signalnoise dynamics into optimal estimators for bi-infinite series. Second, this paper gives the first explicit treatment of finite-length multivariate time series, providing a new method for computing signal vectors at any time point, unrelated to Kalman filter techniques; this opens the door to systematic study of near end-point estimators/filters, by revealing how they jointly depend on a function of signal location and parameters. As an illustration we present econometric measures of the trend in total inflation that make optimal use of the signal content in core inflation. Keywords. Co-integration; Common Trends; Filters; Multivariate Models; Stochastic Trends; Unobserved Components. Disclaimer This report is released to inform interested parties of research and to encourage discussion. The views expressed on statistical issues are those of the author and not necessarily those of the U.S. Census Bureau or the Federal Reserve Board. 1

1 Introduction In many scientific fields, research and analysis make widespread use of a signal extraction paradigm. Often, interest centers on underlying dynamics (such as trend, non-seasonal, and cyclical parts or, more generally, systematic movements) of time series also subject to other, less regular components such as temporary fluctuations. In such cases, the resulting strategy involves the estimation of signals in the presence of noise. For instance, economists and policy-makers routinely want to assess major price trends, cycles in industrial and commercial activity, and other pivotal indicatorsof economic performance. Typically, themeasurementof suchsignalscombines judgmental elements with precise mathematical approaches. Here, we concentrateonthe latteraspect, withthe goal of developingtheformal apparatus for detecting signals in a comprehensive econometric framework, motivated by two basic considerations. First, the signal extraction problems relevant to experience usually involve more than one variable; at central banks, for instance, staff use a range of available series to monitor prevailing inflationary conditions. Second, economic data often involve nonstationary movements, with (possibly close) statistical relationships among the stochastic trends for a set of indicators. In this paper we generalize the existing theory and methodology of signal extraction to multivariate nonstationary time series. In particular, we set out analytical descriptions of optimal estimatorstructures that emerge fromawiderangeof signal andnoisedynamics, both forasymptotic and for finite sample cases. Our results give a firm theoretical basis for the expansion of the Wiener-Kolmogorov (WK) formula to the nonstationary multivariate framework and provide a simple and direct method (distinct fromthe statespace approach) forcalculatingsignal estimates and related quantities, and for studying endpoint effects explicitly. In presenting these formulas, we also treat the case of co-integrated systems, which, as with other econometric problems, has special implications for the characteristics of the signal estimators. Previously, many applications of signal extraction have been undertaken without such a rigorous foundation. Such a basis unveils properties of signal estimators, and hence allows for a host of developments, such as the design of new architectures from the collective dynamics for signal and noise vector processes and the analysis of signal location effects in finite series. Thepreviousliteratureinthisarea, whichhandlesonlysingleseriesorstationaryvectorseries, has a long history. For a doubly infinite data process, Wiener (1949) and Whittle (1963) made substantial early contributions; the corresponding WK formula, which gives the asymptotic form (for historical, or two-sided smoothing) of the relationship between optimal signal estimation and the component properties, has become a theoretical benchmark in time series econometrics. The originalWKfiltersassumedstationarysignalandnoisevectorprocesses, whosepropertiesentered directly into the expressions through their autocovariance generating functions (ACGF). With 2

awareness about the importance of nonstationarity in time series analysis growing through the early 1980s, Bell (1984) proved the optimality of an analogous bi-infinite filter for nonstationary data. However, despite the widespread knowledge of correlated movements among related variables in macroeconomics and in other disciplines, which has motivated an enormous amount of research on multivariate time series models over the last several decades, the relevant theory has not yet been provided for multiple nonstationary series. Past theoretical work on signal extraction for finite samples has concentrated on single series (see Bell (2004) and McElroy (2008) and the references therein). Most economic applications have relied on standard Kalman filtering and smoothing algorithms, for instance the trend-cycle analyses in Harvey and Trimbur (2003), Azevedo et al. (2006), and Basistha and Startz (2008). The implied weights on the input series may be computed in each case with an augmentation of the basic algorithms, as in Koopman and Harvey (2003); yet this method omits closed-form expressions or explicit information about the functional form of the filters. Bell (1984) introduced someexactresults; subsequently, thecompactformulasinMcElroy(2008)providedaconsiderable simplification, amenable to simple implementation (and possibly other uses, such as analytical investigation of end-point effects). However, to our knowledge, the finite sample theory has not yet been presented for multivariate signal-noise processes, whether stationary or nonstationary. As a primary goal, this paper presents new results on signal estimation in doubly-infinite time series for multivariate nonstationary models. These expressions capture the basic action — independent of signal location and sample size — of the estimators, leading to compact expressions in the time and frequency domains that give complete descriptions of the operators’ effects. Our generalization of the WK formula provides a firm mathematical foundation for the construction of jointly optimal estimators for multiple series, and reveals explicitly how signal extraction architectures, having the form of matrix filter expressions, emerge from the collective dynamics of signal and noise vectors. We also introduce signal extraction results for finite samples, generalizing the analysis in McElroy (2008) to multivariate systems including nonstationary1 series. The formulas give a very general mapping from stochastic signal-noise models to optimal estimators at each point in finite sample vector series. This reveals the explicit weighting patterns on the observation vectors for estimation close to the end of the series, which is a crucial problem for generating signals central to current analysis and economic decision-making. Having such an optimal accounting for the finite series length seems especially helpful for multiple series; compared to the univariate setup, in addition to the position effect, we now have collections, or matrices, of time-dependent and asymmetric filters with complex inter-relationships for each time period. More generally, our 1This encompasses processes that are nonstationary only in second moments after appropriate differencing; that is, they are nonstationary only in levels and may have heteroskedastic disturbances. 3

results incorporate the complete functional dependence of the filter set on parameters, sample size, and estimate location, so they include the interaction of signal-noise dynamics with distance to end-point and series length in the formation of the optimal weight vectors. In contrast to the state space approach, our matrix expressions enable straightforward and direct computation of multivariate signals, as well as providing additional information, such as the estimation error covariance across individual signals and across different times. The matrix expressions are also more widely applicable than the state space smoother, because some processes of interest (e.g., long-range dependent processes) cannot be embedded in a state space framework. Signals of interest typically have an interpretation; for instance, stochastic trends capture permanent or long-run movements and underpin the nonstationarity found in most economic time series. The trend components usually dominate the historical evolution of series and prove crucial for understanding and explaining the major or lasting transitions over an existing sample. Toward the end-points, they may account for an important part of recent movements, that are likely topropagate into thenewobservations that will become available for thepresent and future periods. Hence, accurate estimation of stochastic trends often represents a signal extraction problem of direct interest, giving a pivotal input for assessing patterns in past behavior and for current analysis and near-term projection. We apply our theoretical developments on two stochastic trend models widely used in the literature. Simple dynamic representations are used to demonstrate the combination of nonstationary and stationary parts, that occurs in many economic time series. For richer models, in separating trend from noise, the key aspects illustrated by our examples continue to drive the best signal estimators: the form of nonstationary component, its strength relative to the noise for each series, and the interactions among series for each component. Of course, the treatment of stochastic trends, where present, also crucially affects other areas such as measurement of cyclical or seasonal parts, given the reciprocity of the estimation problem for the various components in a set of series. We also address the case of common (or co-integrated) trends, and explore its implications for signal estimation. Starting with early work such as Engle and Granger (1987), Stock and Watson (1988), and Johansen (1988), the importance of such co-movements for econometric methodology has been long established, based on their impact on statistical theory and estimator properties, alongwiththeevidencefortheirfrequent occurrencefoundbyresearchers. WhilerelatedtoVARbased formulations, such as Engle and Granger (1987) and Johansen (1988), the common trends form, as presented in Stock and Watson (1988), allows us to directly handle tightly linked longtermsignals, andisalsousefulbeyondthiscontext. Forinstance, thisformulationmakesavailable a different class of tests for the integration order of processes, as in Nyblom and Harvey (2000). Here, we allow for the presence of co-integration in the formulation of our general theorems. 4

Wepresentanapplicationoftheabovemodelstothemeasurementoftrendinflationwithdata onbothcoreandtotalinflation. Usingthesetimeseriesmodelsasthebasisofthesignalestimation ensures consistency with the dynamic properties and cross-relationships of the bivariate inflation. Our extensions to signal extraction theory allowus toderive the precise estimators of the trend in total inflation. These results (which differ from trend measurement with a simple reliance on core alone) quantify the degree of emphasis on core and the corresponding down-weighting of total, expressed in either the time or frequency domains. The rest of the paper is arranged as follows. Section 2 develops the generalized WK formula for a set of nonstationary time series, expressing the optimal multivariate filters in both the frequencyandtimedomains. Exactsignal extractionresultsforafinite-lengthdataset arederived in Section 3. Then Section 4 reviews some major models for multivariate stochastic trends, and the methodology is illustrated by the statistical measurement of trend inflation using both core and total inflation data. Section 5 provides our conclusions, and mathematical proofs are in the Appendix. 2 Multivariate signal extraction from a bi-infinite sample This section gives a highly general solution to the signal extraction problem for multiple nonstationary series and generalizes the WK formula to this case. The aim of signal extraction is to elicit components of interest — the signals — from series that also contain other components. Signal-noise decompositions have the form of unobserved component (UC) processes, where the signal processes (which may take the form of a combination of two or more distinct latent processes) typically have an interpretation, such as a stochastic trend, that suggest some dynamic formulation. The noise combines all the remaining components in the series; then, to achieve the goal of extracting the target signals, we may use an appropriate filter to remove the unwanted effects of the noise. The WK formula produces the optimal estimator of the signals in terms of the dynamics of the UC processes, so it shows how component structure maps into filter design. In this way, the filters that emerge from the formula have the major advantages of coherency with each other and — by setting parameters in accordance with a fitted model — of consistency with the set of input series. In formulating the theory behind multivariate signal extraction, we first treat the benchmark case of a hypothetical doubly infinite process. In the next section we examine the estimation problem based upon a finite sample. The bi-infinite case is useful for studying the fundamental and long-term impact of filters, as it abstracts from near-end-of-sample effects and allows one to derivemathematicalexpressionsintermsofthespecificationsofcomponentsandparametervalues thatcapturetheessenceofthesignalextractionmechanism. Thistheoreticalframeworkgenerally 5

proves most useful for analysis in the frequency domain, for which signal estimators typically give rise to gain functions of a compact form, making possible the transparent and straightforward comparison of optimal filters across different models. The doubly infinite assumption represents a natural limiting case, with estimators based on the maximuminformation set, and in practice, for long enough samples, it applies approximately to most of the time points in a wide neighborhood around the mid-point. We first set out our notation and some basic concepts; also see Brockwell and Davis (1991). Consider a vector-valued, possibly nonstationary, time series denoted y = y     ,   { } { −∞ ∞} with each y of dimension  A multivariate filter for a set of  series has the expression  ∞ W() = W  (1)  = X−∞ where  is the standard lag operator, and W is the   matrix of coefficients for lag . The  × cross-elements W and W are generally unequal. The filter produces output z as follows:    ∞ ∞ z = W()y = W y = W y  (2)        − = = X−∞ X−∞ Therefore, the weight matrix W at lag  is applied to the lagged series y . Equivalently,    − component  of z is computed as   z() = ∞ Wy()      − =1= X X−∞ where W represents the weight applied to series , at lag , in estimating the th element of  the output at time  The filter output for each  equals a sum of  terms, each given by a weighting kernel applied to an element series. For  = , we will call the profile of weights an auto-filter, while for distinct indices they will be called a cross-filter, i.e., the weights for the signal are applied to a different series. We now have  input series for each output series, so there are 2 filters to consider. The spectral representation for a stationary multivariate time series (see Chapter 11.6 of Brockwell and Davis (1991)) involves a vector-valued orthogonal increments process Z() for frequencies  [ ] defined as y =  Z(). When this is well-defined, the spectral ∈ −   density matrix F is defined via E[ Z( R ) −2] divided by 2, and describes the second moment | | variation in terms of power at different frequencies. The diagonal entries of F are the spectral densities of the component processes of y , whereas the off-diagonal entries are cross-spectral  { } densities that summarize the relationships across series for the range of frequency parts. The output of the filter W() is expressed in the frequency domain as  z = W( )Z() (3)  − Z  − 6

with the quantity W( ) obtained by plugging the complex exponential into the filter formula − (1); this gives the definition of the multivariate frequency response function (frf). That is, the frf W( ) is the discrete Fourier Transform(FT) of the weights sequence W . A comparison of −  { } inputandoutputin(3)indicatesthattheorthogonalincrementsprocessfor z isW( )Z().  − { } Correspondingly, the spectral density matrix of the output process is W( )F()W () − 0 For many filters of interest, including those we study in Section 4 below, W = W for all   − , which implies the frf is real-valued. In this case there is no phase shift (see Brockwell and Davis (1991)) and the frf is identical with the Gain function, denoted G, i.e., G() = W( ). − We focus on this case in what follows; if we examine the action for the th component output process, we have     z() =  W( )Z () = G()Z ()  −   Z −  X =1 X =1Z −  So the gain is a  x  matrix-valued functions of frequency, whose th components act to modulate the amplitude of variation for the contribution of the th input series to the th output series. As noted above, the spectral density F gives a breakdown of the second order structure of a vector time series. An equivalent tool is the multivariate autocovariance generating function (ACGF), which for any mean zero stationary series x is written as  ∞ Γ () = Γ    = X−∞ where Γ = (x x ) is the covariance between x and x . Therefore, Γ () contains   0      − − information about the autocovariances of each component of the vector process, as well as the cross-covariances of the various elements at different lags. The mapping from time to frequency domain, F() = Γ ( ), showsthatthespectrumistheFouriertransformoftheautocovariance  − sequence. So far we have reviewed multivariate filters and properties of stationary vector time series. Now, the basic aim of signal extraction is to estimate a target signal s , in a series y of interest,   or equivalently, to remove the remainder n , called the noise. A precise formulation is given by  y = s +n (4)    (for all    ), which assumes that the observed time series y can be decomposed  −∞ ∞ { } into unobserved signal and noise, both of which have dimension  1. We also assume that s  × and n are uncorrelated with one another, which is consistent with the large literature on signal  extraction theory. The two component decomposition in (4) is actually a general formulation of 7

signal extraction problems, because we can identify s with a particular component of interest  { } or with an aggregate signal given by a sum of components, whereas n consists of the sum of  { } all the remaining parts of the observed time series. The problem of multivariate signal extraction is to compute, for each  and at each time , E[s(  ) y  ], the estimate that minimizes the Mean Squared Error (MSE) criterion. Interest |{ } centers on linear optimal estimators following Whittle (1963), as usually undertaken in the literature. The linear solution is, strictly speaking, only appropriate for Gaussian data. That is, the mean of the signal, conditional on the observations, is always given by a linear filter only under normality. For non-Gaussian data, the linear estimates constructed here do not yield the conditional expectation in all cases2. However, for any type of white noise distribution, our linear estimators are still minimum MSE among all linear estimators. In the case that both the signal and noise processes are stationary, the optimal filter for extracting the signal vector is W () = Γ ()[Γ ()+Γ ()] 1 (5)     − where WK stands for the Wiener-Kolmogorov filter (see Wiener (1949); the formula under stationarity is also discussed more recently in Gómez (2006)). The filter for extracting the noise is Γ ()[Γ ()+Γ ()] 1, which is 1 W (), where 1 denotes an   identity matrix.    −    − × Now (5) gives the time-domain characterization, which when expressed in the form (1) shows the matrix weights applied to the series to extract the signal vector in a bi-infinite sample. To convert to the frequency domain, substitute   for , which then produces the WK frf: − W ( ) = Γ ( )[Γ ( )+Γ ( )] 1  −  −  −  − − where the quantities Γ ( ) and Γ ( ) are the multivariate spectral densities of signal and  −  − noise, respectively. Note that a multivariate WK filter’s frf can have complex values, because the off-diagonal entries of Γ ( ) and Γ ( ) can be complex-valued when there is non-trivial  −  − phase shift between the components of the vector process. Below, we extend this result to the nonstationary case, both under very general conditions on the component structure and under the similar specification form that usually holds for multivariate models used in research and applications, generalizing the classic results of Bell (1984). The first formulation involves detailed results allowing for a flexible form where the component design may differ across series. This would include, for instance, a situation where series have stochastic trends with different orders of integration. The second version refers to the uniform 2Forsomenon-Gaussiandistributions,theoptimalsignalestimatorcanbecomputedwithsimulationtechniques. See Trimbur (2010) for an example with an irregular distributed as a Student-t. However, explicit formulas are not available for most non-Gaussian distributions. 8

nonstationary operators form, often used in time series analysis, where the component orders of integration are the same across variables. Within this form, there are two possible portrayals: first,intermsofACGFsof“over-differenced"signalandnoiseprocesses, uandvdefinedbelow, in which case the stationarity of the processes immediately guarantees that the filter and its frf are well-defined; or second, explicitly in terms of signal and noise ACGFs (called pseudo-ACGFs when the component is nonstationary), which is directly analogous to (5) in terms of stationary ACGFs, in which case existence and convergence of the filter and its frf can be verified by taking appropriate limits. For the multivariate signal and noise processes, we consider all processes that are differencestationary: there is a “minimal" differencing operator (a polynomial in the lag operator that has all roots on the unit circle), and there is no way to factor the polynomial so that the remaining factors form an operator that by itself renders the process stationary. This includes openly formulated VARIMA specifications (see the discussion in Lütkepohl (2006) on integrated processes), or structural forms that involve intuitive restrictions (that help in model parsimony and interpretability). We will use the term “core," to refer to the mean zero, covariance stationary process resulting from differencing. Note that the noise process may be nonstationary as well, but the differencing polynomials must be different from those of the signal process. This involves no loss of generality in practice; it is a simple requirement for keeping signal and noise well-defined. Components may also have co-integration or co-linearity, expressed as having a spectral density matrix for the core process that is singular at some (finite set of) frequencies. Consider the th observed process, y() . Since it is a difference-stationary process (e.g.,  { } VARIMA), by definition there exists an order  polynomial () in the lag operator  such that w() = ()()y() is covariance stationary. Similarly, we suppose there are signal and   { } { } noise differencing polynomials () and () that render each of them stationary, so that u() = s n  { } ()()s() and v() = ()()n() . Asaspecialandleadingcase, itmayoccurthatthesignal { s  } {  } { n  } and noise differencing operators do not depend on , so that they are the same for each series (though they still differ for signal versus noise); we refer to this situation as “uniform differencing operators." LetF, F, andF denotethecross-spectraldensityfunctionsforthethandthprocesses u v w for the signal, noise, and observed processes, respectively. These functions are the components of spectral matrices (which are functions of the frequency ) denoted F , F , and F . We suppose u v w that F is invertible almost everywhere, i.e., the set Λ of frequencies where F is noninvertible w w has Lebesgue measure zero. Note that if the data process is co-integrated (in the sense of Engle and Granger (1987)), then F (0) is singular, but F () is invertible for  = 0. However (as w w 6 shown below), if the innovations for w are co-linear (i.e., the covariance of the white noise  { } 9

process has determinant zero) then F () is singular for all values of , and our results don’t w apply—butneitherisconventional model estimationpossible. Seethefurtherdiscussionfollowing Theorems 1 and 2. It is convenient to define the so-called “over-differenced" processes given by u() = ()()s() = ()()u()   n  v() = ()()n() = ()()v()   s  These occur when the full-differencing operator ()() is applied to signal and noise respectively, resulting in covariance stationary processes that may have zeroes in their spectral densities. Next, we assume that the vector processes u and v are uncorrelated with one another.   { } { } This is reasonable when signal and noise are drivenby unrelated processes; for instance, the trend may be linked to long-run factors (like the setting of contracts), while the short-run run noise stems from temporary forces. The assumption of zero correlation also seems a natural choice when a correlation restriction is required for identification. Note that each nonstationary process y() can be generated from  stochastic initial values  { } y() together with the disturbance process w() , for each , in the manner elucidated for the  ∗ { } univariatecaseinBell(1984). Theinformationcontainedin y() isequivalenttothatin w()   { } { }∪ y() for the purposes of linear projection, since the former is expressible as a linear transformation ∗ of the latter, for each . In model fitting and forecasting applications, a working assumption on vector time series is that these initial values y() are uncorrelated with the disturbance process ∗ w() ; we will assume a stronger condition that actually implies this assumption.  { } Assumption  . Suppose that, for each  = 12 , the initial values y() are uncorre- ∞ ··· ∗ lated with the vector signal and noise core processes u and v .   { } { } This assumption generalizes the univariate Assumption A of Bell (1984) to a multivariate framework — each set of initial values y() are orthogonal not only to the signal and noise core processes ∗ for the th series, but for all  series. Set  =   and  = , and utilize the following nota- − tion, that for any matrix  the matrix consisting of only the diagonal entries is written . Then for nonstationary (and possibly co-integrated) multivariate time series, the optimal estimator of e the signal, conditional on the observations y , for each  and at each time , is given by a  { } multivariate filter W() described below. Theorem 1 Assume that F () is invertible for each  in a subset Λ [ ] of full Lebesgue w ⊂ − measure. Also suppose that the vector processes u and v are uncorrelated with one another,   { } { } and that Assumption  holds. Denote the cross-spectra between u and w via Γ (),   uw ∞ { } { } which has th entry F()()(). Similarly, denote the cross-spectra between v and w u n   { } { } 10

via Γ (). Also, let δ() denote the diagonal matrix with entries ()(). Consider the filter vw W() defined as follows: it has frf defined for all  Λ via the formula e ∈ W() = Γ 1() Γ () Γ ()Γ () Γ ()Γ () Γ 1()δ()  (6) −w u uw vw vw uw −w − − h ³ ´ i Moreover, we suppoese that ethis formulea can be continuoeusly extended to  Λ,eand we refer to 6∈ this extension by W() as well. Then the optimal estimate of the signal at time  is given by s = W()y . Let Γ ()Γ () Γ ()Γ () be abbreviated by B(). Then the spectral   uw vw vw uw − density of the signal extraction error process is given by b e e Γ 1()Γ ()F ()Γ ()Γ 1()+Γ 1()Γ ()F ()Γ ()Γ 1() −w uw v 0uw −w −w vw u 0vw −w Γ 1()B()Γ 1()B()Γ 1() e− −w e −w e 0 −we e e e e When the differeencing operators are uneiform, a compact matrix formula for F() is given by F() = Γ ()Γ 1() = F ()F 1() (7) u −w u −w for  Λ, and by the limit of such for  Λ; the error spectral density is Γ ()Γ 1()Γ (). ∈ 6∈ u −w v Remark 1 Because Γ = Γ +Γ , (7) generalizes (5) to the nonstationary case. If some of w u v the differencing polynomials are unity (i.e., no differencing is required to produce a stationary series), the formula collapses down to the classical case. In the extreme case that all the series are stationary, trivially u = s and v = n for all times . The second expression for the frf     in (7) shows how this is a direct multivariate generalization of the univariate frf in Bell (1984), which has the formula  () 2 () ().    | | Theorem 1 is worded so as to include the important case of co-integrated vector time series (Engle and Granger, 1987), as F is only required to be invertible at most frequencies. We next w showthatthekeyassumptionsofTheorem1onthestructureof W()aresatisfiedforaverywide class of co-integrated processes. We present our discussion in the context of uniform differencing operators — a result can be formulated for the more general case, but it is much more difficult to state, and the uniform differencing operator situation is sufficient for most, if not all, econometric applications of interest. The vector signal and noise processes satisfy  ()s = u and  ()n = v , and we suppose s   n   that a Wold decomposition can be found for these core processes: u = Ξ()ζ v = Ω()κ  (8)     where ζ and κ areuncorrelatedmultivariatewhitenoiseprocesses. TheMAfiltersΞ()and   { } { } Ω() arelinearandcausalbyassumption, andweassumethatthewhitenoisecovariancematrices 11

Σ andΣ arenon-negativedefinite. ThenF () = Ξ()Σ Ξ(), whichissingular(foragiven)   u  0 iff either Σ = 0 or there exists a matrix  (depending on ) such that Ξ() = 0. The former  0 | | case is described as co-linearity of the innovations, or in particular is referred to as “common trends" when the signal is a trend (see Stock and Watson (1988)). The latter case is a type of cointegration (with  the co-integrating relations), although more properly the term is only applied when Ψ(1) = 0, i.e., there is a singularity at the  = 0 frequency. Singularities in the spectrum 0 of a core process can only arise in one of these two ways, as co-linearity or co-integration (in our generalized sense). Moreover, in the former case it must follow that the spectrum is singular at all frequencies, whereas in the latter case there could be an isolated number of singular matrices. In order that the data core spectrum F is invertible almost everywhere, it is convenient to w assumethatF ispositivedefiniteatall frequencies; asshownbelow, thisisasufficientcondition. v Such a noise core process is said to be invertible, by definition. Proposition 1 Suppose that the differencing operators are uniform and that the core processes follow (8). Also suppose that v is invertible. Then F is invertible except at a finite set of  w { } frequencies, and W() defined in (7) can be continuously extended from its natural domain Λ to all of [ ]. − The argument also works with the roles of signal and noise swapped; we require that one of the core component processes be invertible. So the formula for the WK frf is well-defined — by taking the appropriate limits at the nonstationary frequencies — and (7) can be used to give a compact expression for the filter, formally substituting  for  =  : − W() = Γ () [Γ ()+Γ ()] 1 (9) u u v − This expresses the filter in terms of the ACGFs of the over-differenced signal and noise processes. We can re-express this in terms of the so-called pseudo-ACGFs of signal and noise, which are defined via 1 1 Γ () = Γ ()  () ( 1) − Γ () = Γ ()  () ( 1) −  s u s s − n v n n − h i h i As usual, the tilde denotes ae diageonal matrix; here the entries ceorrespeond to the differencing polynomialsforeachseries. ThisgeneralizestheACGFstructurefromstationarytononstationary multivariateprocesses. AlsoΓ () = Γ ()δ()δ( 1)andΓ () = Γ ()δ()δ( 1), sothat u s − v n − when the differencing operators are uniform (9) reduces to (5). Even though Γ () and Γ () s n e e e e are not strictly well-defined by themselves, as the infinite series representing their ACGF may not converge, the cancellations that occur ensure that W() is indeed well-defined. Note that it was not obvious at the outset that (5) would hold with pseudo-ACGFs replacing the ACGFs 12

of the stationary case; the steps in the proof are crucial for verifying the form of the filter from the differencing operators and core stationary processes. With (5) confirmed to hold generally, we can directly form filters for the nonstationary models of interest for multiple economic series. Whereasintheunivariatecaseonecancomputefiltercoefficientsreadilyfromthefilterformula (9) — by identifying the frf as the spectral density of an associated ARMA process and using standard inverse FT algorithms — the situation is more challenging in the multivariate case. Instead, coefficients would be determined by numerical integration. Although this may be done, for practical applications we rather recommend the exact finite sample approach of the next section. Of course, filters can be expressed for both signal and noise extraction, and trivially by (7) the sum of their respective frfs is the identity matrix (as a function of ). This is analogous to the univariate case, where signal and noise frfs sum to unity for all . 3 Multivariate signal extraction from a finite sample We now discuss multivariate signal extraction for a finite sample from a time series, and present exact matrix formulas for the solution to the problem. This represents the first treatment of the multivariate case for either the stationary or nonstationary frameworks. Even away from the end-points in a relatively long but finite sample, there is a certain attraction to having the unique optimum signal derived from the underlying theory. However, the main interest for applications like current monitoring of price trends lies in estimators near the end of series, for which the formulas give an analytical characterization and reveal the explicit dependence on series’ individual parameters, on cross-relationships, and on sample size and signal location. As in Section 2, we consider  time series y() for 1  , and suppose that each  { } ≤ ≤ series can be written as the sum of unobserved signal and noise components, denoted s() and  { } n() , such that (4) holds for all . While in the previous section, we considered  unbounded  { } in both directions, here we suppose the time range of the sample consists of  = 12 . We ··· will express the realizations of each series as a length- vector, namely y() = [()()() ]0, 1 2  and similarly for signal, s() and noise, n(). For each , the optimal estimate is the conditional expectation E[s() y(1)y(2) y()]. As in the previous section, the definition of optimality | ··· used here is the minimum MSE estimator under normality and the best linear estimator with non-Gaussian specifications. So our estimate s() can be expressed as a  () matrix acting on all the data vectors × stacked up, or equivalently as b  s() = y() =1 X Each matrix  is   dimensionabl. The notation here is as follows: the first superscript × 13

is associated with the output , whereas the second superscript is associated with the input . Our task is to compute the entries of  such that error process s() s() is uncorrelated with − the observed data. As shown below, the coefficients of  depend heavily on the properties b of the Data Generating Processes (DGPs) for signal and noise. As in the previous section, our treatment encompasses any general signal and noise (for each , () and () are composed of s n fully distinct factors) processes with nonstationary operators that may differ across series. We may express the specification of the finite series in matrix notation with ∆()y() being a stationary vector, where ∆() is a    dimensional matrix whose rows consist of the − × coefficients of (), appropriately shifted. (For the treatment of the univariate case, see McElroy (2008).) The application of each ∆() yields a stationary vector, called w(), which has length   (so w() = [w()  w() ]0). These vectors may be correlated with one another and − +1 ···  among themselves, which is summarized in the notation E[w()w() 0] = Σ. We further suppose w that the differencing is taken such that all random vectors have mean zero (this presupposes that fixed effects have been removed via regression). Note that this definition includes processes that arenonstationaryonlyinsecondmoments, i.e., heteroskedastic. Therefore, thesetupissomewhat broaderthaninthe previoussectionwherethe coreprocesseswereassumedcovariance stationary. This discussion can also be extended to the signal and noise components as follows. We form the matrices ∆ () and ∆ () corresponding to the signal and noise differencing polynomials () s n s and () Let u() = ∆ ()s() and v() = ∆ ()n(), with cross-covariance matrices denoted Σ and n s n u Σ. Now assume there are no common roots among () and (), so that ()() = ()()()(). v s n s n Then as in the univariate case (McElroy and Sutcliffe, 2006), we have ∆() = ∆()∆() = ∆()∆() (10) n s s n where ∆() and ∆() are similar differencing matrices of reduced dimension, having   rows. n s − It follows that w() = ∆()y() = ∆()u() +∆()v() (11) n s and hence — if u() and v() are uncorrelated for all  — Σ = ∆()Σ∆() 0 +∆()Σ∆() 0 w n u n s v s We can splice all these Σ matrices together as block matrices in one large matrix Σ , which is w w also the covariance matrix of w, the vector composed by stacking all the w(). A key condition for optimal filtering is the invertibility of Σ . Further, the Gaussian likelihood function for the w differencedsampleinvolvesthequadraticformwΣ 1w, soparameterestimationonthisbasisalso 0 −w requires an invertible covariance matrix. Below, we show that for possibly co-linear signal-noise decompositions and homoskedastic core processes, the invertibility of Σ is guaranteed. w 14

Up tothispoint, wehaveset out notationandsome basic workingassumptions. Forthe signal extraction formula below, we require a few additional assumptions: let Σ and Σ be invertible u v matrices for each , assume that u() and v() are uncorrelated with one another for all , and suppose that the initial values of y() are uncorrelated with u() and v() for all . These initial values consist of all the first  values of each sampled series y(). This type of assumption is less stringent than  of the previous subsection, and will be called Assumption  instead.  ∞ Assumption  . Suppose that, for each  = 12 , the initial values of y() (the first   ··· observations) are uncorrelated with u and v. Since Assumption  entails that the initial values of the observed process are uncorrelated with  w, it implies the condition often used to give a relatively simple Gaussian likelihood. Our main result below involves block matrices, and we use the following notation. If  is a block matrix partitioned into sub-matrices , then  denotes a block matrix consisting of only the diagonal sub-matrices , being zero elsewhere. e Theorem 2 Assume that Σ is invertible, along with all Σ and Σ matrices, and that u() and w u v v() are uncorrelated with one another for all  and . Also suppose that Assumption  holds.  Let  = ∆() 0Σ − 1 ∆() +∆() 0Σ − 1 ∆() n v n s u s Then  is invertible. If s = y is the optimal estimate of the signal, then the matrix  is defined as follows. Letting Ψ = Σ 1, we have w −w b  =  − 1 ∆ n () 0Σ v  − 1 ∆( n ) +Σ  6 = ∆( s ) 0Σ u  − 1 Σ u  ∆( n ) 0 − ∆( n ) 0Σ v  − 1 Σ v ∆( s ) 0 Ψ w ∆()  =  − 1 Σ h  ∆() 0Σ − 1 Σ∆() ³ 0 ∆() 0Σ − 1 Σ∆() 0 Ψ∆() ´ i =1 s u u n n v v s w − ³ ´ for  = . The signal extraction covariance matrix between the th and th error vectors is given 6 by  − 1  − 1 , where  is given by  ∆() 0Σ − 1 Σ∆() 0 ∆() 0Σ − 1 Σ∆() 0 Ψ ∆()ΣΣ − 1 ∆() ∆()ΣΣ − 1 ∆() n v v s − s u u n w n u u s − s v v n  X =1h i h i + ∆() 0Σ − 1 ΣΣ − 1 ∆() + ∆() 0Σ − 1 ΣΣ − 1 ∆() n v v v n s u u u s A compact matrix formula for  is given as follows. Define block-matrices  that have 15

th block matrix entries given, respectively, by  = ∆() 0Σ − 1 ΣΣ − 1 ∆() s u u u s  = ∆() 0Σ − 1 ΣΣ − 1 ∆() n v v v n  = ∆() 0Σ − 1 Σ∆() 0 s u u n  = ∆() 0Σ − 1 Σ∆() 0 n v v s Also let ∆ denote a block diagonal matrix with the matrix ∆() in the th diagonal. Then e  = +  =  1  +( )Σ 1∆ e − e − −w h i  = + +( )Σ 1( ) e − −w e − 0 and the covariance matrix of the error vector is  1 1. − − Remark 2 These formulas tell us mathematically how each series y() contributes to the component estimate s(). From the formulas for  and  we see that only the noise in y() is differenced, while for all other series both signal and noise are differenced. When there is no b cross-series information, i.e., Σ and Σ are zero for  = , then clearly  and  are zero, u v 6 and  reduces to an -fold stacking of the univariate filter ( 1 is just the stacking of the − univariate matrix filters of McElroy (2008)). e The matrix formula for  is predicated on a specific way of stacking the time series data into y. This is a particularly convenient form, since each sub-matrix  can be easily peeled off from the block matrix , and directly corresponds to the contribution of the th series to the signal estimate for the th series. Stacking the data in another order — e.g., with all the observations for time  = 1 together, followed by  = 2, etc. — would scramble the intuitive structure in . In particular, one may pass to this alternative stacking, written as w = [(1)(2) ()(1)(2) () ]0 1 1 1 2 2 2 ··· ··· ··· via application of a   dimensional permutation matrix . This format is more typical × for describing VARMA processes, for example (see Lütkepohl (2006)). The covariance matrix of Σ has a familiar form, being block-Toeplitz with th block Γ , the acf of w . Of course, w    − { } Σ =  1Σ  1, so invertibility of the one form is equivalent to invertibility of the other. w − w − 0 Let us consider any length  column vector  (which may be stochastic or deterministic), consisting of  subvectors  of length , where  = 12 . Then  ··· 1  Σ  =  Γ  = ( )F ()() 0 w  0  −   2 Z  0 − w X − 16

where() =    . Nowinthecasethatthesignalisco-linear(butthenoiseisnot), there =1  − exist a finite set of frequencies  such that F ( ) is not positive definite — see Proposition P  w  { } 1 and its proof for additional details. Hence it is possible to select  — corresponding to  this frequency  — such that  ( )F () () is zero when evaluated at this  frequency.  0 − w   However, the integrand above will be nonzero at all other frequencies; hence Σ is positive w definite, and therefore invertible. If on the other hand the innovations of w were co-linear, a  { } similar argument shows that F () is singular for all , and hence Σ would be singular. w w But Σ is invertible for processes consisting of co-linear core signal and invertible core noise w (or vice versa), which indicates that maximum likelihood estimation is viable; the Gaussian log likelihood is log(wΣ ) = (wΣ 1w+log Σ )2 (12) w 0 −w w − | | up to a constant irrelevant for maximization (once we factor out the initial value vectors using Assumption  ). It is interesting that the Whittle likelihood is not well-defined when F has  w zeroes, as alluded to in the proof of Proposition 1. The use of these formulas have some advantages over the state space approach. Certain questions, which involve the covariances of the signal extraction error across different time points, can be directly addressed with a matrix analytical approach. Also, the expressions are of practical interest when processes cannot be embedded in State Space Form (SSF); for example, a long memory cannot be cast in this form without truncation, which radically alters the memory dynamics. Generally, so long as the covariance and cross-covariance matrices used in Theorem 2 are available, the results apply. So we may consider heteroskedastic core processes and see the exact functional dependence of the filters on each time-varying variance parameter. Furthermore, we can estimate any linear function of the signal. Supposing that our quantity of interest is s for some large matrix  applied to the stacked signal vector s (for example, s could be the rate of change of the signal processes), then the optimal estimate for this quantity is simply y by the linearity of the conditional expectation (for Gaussian time series). Also, since the error covariance matrix for the estimation of s is  1 1, it follows that the error − − covariance matrix (whose diagonals are the MSEs) for our estimate of s is  1 1 . − − 0 Thus, for non-trivial problems a full knowledge of all the entries of  and  is required. One particular case that is simple and of practical interest arises when  is composed of unit vectors such that s = s(). That is, we are interested in the th component of the signal at all sampled time points. Since s() is just a projection of s, its extraction matrix is given by the same projection  applied to . So the components of the optimal signal estimate are equal to the optimal estimates of the components of the signal (this is just linearity of conditional expectations). 17

4 Signal extraction for related and common trends We now use the general results of Sections 2 and 3 to treat a few stochastic trend models widely used in econometrics. After reviewing these models, we develop the corresponding signal extraction filters, discussing some of the new, key aspects of the multivariate nonstationary case that warrant special attention. 4.1 Discussion of models Since many economic time series are subject to permanent changes in level, there has been extensive research on models with stochastic trends. Models with related trends, where the underlying permanent shocks are correlated, allow us to establish links between series in their long-run behavior. Whenthereexists aparticularly close relationshipinthe long-runmovementsacrossvariables, as when series are co-integrated, there are some special implications for trend extraction, as we discuss later. A natural way to think about co-integration is in terms of common trends (i.e., co-linear innovations), as in Stock and Watson (1988) and Harvey (1989). A co-integrating relationship implies a tight long-run connection between a set of variables, with any short-run deviations in the relationships tending to correct themselves as time passes. Then, the long-run components of different series move together in a certain sense (there exist linear combinations of the trends that fluctuate around zero, i.e., are stationary). In the case of common trends, as demonstrated in the next sub-section, the gain functions for signal extraction have a collective structure at the frequency origin. Otherwise, in the absence of commonality, no matter how closely related the trends are, the filters decouple at the zero frequency. As in the treatment given in Nyblom and Harvey (2000), we define the vector process μ =  ((1) () ) as the trend, ε = ((1) ε() ) as the irregular, and y = ((1) () ) as the   0    0    0 observed series. Then the multivariate Local Level Model (LLM) is given by y = μ +ε  ε (0Σ ) (13)      ∼ μ = μ +η  η (0Σ )   1    − ∼ where (0Σ) denotes that the vector is white noise, i.e., serially uncorrelated with zero mean vector and   non-negative definite covariance matrix Σ; note that we may allow Σ = 0, × | | which means that the innovations are co-linear. The irregular ε accounts for transient factors,  { } for instance, short-run movements due to weather, and is assumed to be invertible. However, the trend innovations η are possibly co-linear, which is equivalent to saying that Σ may have   { } 18

reduced rank   . When this occurs, we can rewrite (13) as y = Θμ +μ +ε  (14)  † 0  μ = μ +η  † † 1 † − For identification, the elements of the load matrix Θ are constrained to satisfy Θ = 0 for   , and Θ = 1 for  = 1 Hence, the long-run movements in y depend on a smaller set of  processes, arrangedinthe-elementvectorμ , thattietogethertheseriesandarecalledcommon † trends. These are driven by the disturbance η whose   covariance matrix, Σ  is diagonal. †  × † The length- vector μ contains zeros in the first  positions, and constants elsewhere. The †0 common trend form makes the model more parsimonious, which can lead to better parameter estimates and may improve its descriptive ability. As an I(2) process, the Smooth Trend Model (STM) specification accounts for a time-varying slope: y = μ +ε  ε (0Σ )  = 1 (15)      ∼ μ = μ +β    1  − β = β +ζ  ζ (0Σ )   1    − ∼ This formulation tends to produce a visibly smooth trend. For reduced rank Σ , the common  trends model is y = Θμ +μ +β +ε (16)  † 0 0  μ = μ +β  † † 1 † − β = β +ζ  ζ (0Σ ) † † 1 † †  − ∼ † where β has  elements (  ), and Σ is diagonal. The load matrix Θ has elements †  † Θ = 0 for   , and Θ = 1 for  = 1. The possibility of common slopes has been little considered in empirical work. The multivariate model captures the crucial aspect that related series undergo similar movements; pooling series allows us to more effectively pinpoint the underlying trend of each series. Further, the multivariate models give a better description of the fluctuations in different series and so the filters’ compatibility improves even more. Parameter estimates for each series improve and the new information is available for signal estimation through the estimated correlations, which discriminate between trend and stationary parts. 4.2 Gain Functions and Finite-Sample Filters Nowwepresentexpressionsforthegainfunctionsinthebi-infinitecaseandfortheinput matrices needed for the exact filters with finite-length series. Throughout this sub-section,  denotes an 19

integer where  = 1 for the LLM and  = 2 for the STM. Because F () = Σ F () = Σ F () = Σ + 1  2Σ  u  v  w   | − | thequantitiesinthematrix formulationof Theorem1areΓ () = Σ andΓ () = 1  2Σ . u  v  | − | Then the multivariate frf, equivalent to the gain, is W() = Σ Σ + 1  2Σ − 1  (17)    | − | The time domain expression for the filter fo¡llows by replacing¢ by  in (17). RecallthatthecomponentfunctionsW()tellushowthethseries’dynamicsarespectrally modified in producing the th output series. The corresponding component gain functions are tied closely tothe values of thevariances andthecorrelations. Consider W(1), or the value of the gain function at  = 0; this is of special interest, since it relates to how the very lowest frequency is passed by the filter. In the case that Σ is invertible (i.e., the related trends case — where  Θ can be taken as an identity matrix), we easily see that W(1) = 1 ; in other words, related  series have no impact on the low frequency parts of the filter. Note that this separation of gains only holds at the extreme frequency of exactly zero; at all nonzero frequencies, even very low values, the frf is typically not diagonal. The basic principle is that without the deep relationship of co-integration, the filters select out various trends that eventually diverge and that become specific to each series. However, if Σ is non-invertible, as in the common trends case, then a different situation  emerges. Suppose that Σ = ΘΣ Θ, and using (A.1) — see the proof of Proposition 1 — we  † 0 obtain W(1) = limW() = Θ Θ 0 Σ − 1Θ − 1 Θ 0 Σ − 1  0 → This formula reveals how the filter treats the utmo¡st lowest-f¢requency components. In the special case of one common trend with Θ =  — where  is defined to be the column vector of ones — and Σ is a multiple of the identity matrix, we get W(1) = , which equally weights the  0 contribution of each input series. But for a more general Θ matrix, a differentiated weighting occurs across the series. For instance, a series with larger Θ entries will tend to have the trend amplified. Likewise, for Σ having different diagonal elements, the series with larger values will  generally be assigned less weight as their signals are clouded with more noise. The frfs for related trends and common trends filters are similar away from frequency zero. The general situation is that Σ =  for an orthogonal matrix  and a diagonal matrix   0 with non-negative eigenvalues. When common trends are present, only  of these eigenvalues are nonzero. But for an irreducible related trends scenario, all  eigenvalues are positive; in this case, we can plug  in for Σ in (17) to give 0  Ψ() =  0  0 + | 1 −  | 2Σ − 1 − 1  ¡ ¢ 20

Now let us suppose that we continuously change our related trends model to a common trends model, essentially by letting   of the eigenvalues of  tend to zero. How does the frf change − as a result? The limit of  can be written as ΘΣ Θ; therefore the frf for the related trends 0 † 0 model tends continuously tothe frf for thecommontrends model —at all frequencies except  = 0 — as the eigenvalues of Σ tend to zero. Hence, low frequencies — apart from frequency zero — are  treated similarly by the signal extraction frfs, when the correlations are high (which implies the determinant of Σ is close to zero).  But the treatment of frequency zero remains distinct; given the discontinuity in behavior of the frfs at the lower bound of the spectrum, which represents the longest periodicity, it becomes important to clearly differentiate between related trends and common trends. Taking the limit of the related trends models as it tends toward a common trends model gives a different result from actually evaluating the common trends model itself. This occurs because for any invertible matrix Σ , no matter how close it is to being non-invertible, the filter still satisfies W(1) = 1    The same analysis also shows that signal extraction MSE can differ somewhat between the commonandrelatedtrendscases. TheerrorspectraldensityisΣ Σ + 1  2Σ − 1 Σ ,whose     | − | average integral equals the signal extraction MSE (the diagonals being of principal interest). But ¡ ¢ sincethevaluesat = 0 canbequitedifferentforthecommonandrelatedtrendscases—butwith similarity elsewhere if correlations are close to full — the resulting MSEs need not be the same. Due to the continuity of these functions in , no matter how close the related trends eigenvalues are to zero, the common trends frf will differ from the related trends frf in a neighborhood of frequency zero, yielding a discrepancy in their integrals (we have verified this numerically). Therefore, it is important to use the exact common trends formulation in Theorem 1 when this case applies, and not approximate with a close related trends formulation, when computing gainfunctions or signal extraction MSE. Similar observations hold for finite-sampleMSEs derived fromTheorem2: smalldiscrepanciesarisebetweenthecommontrendscaseandtherelatedtrends case with very high correlation. Moving to the analytical finite-length filters, the covariance matrices needed in Theorem 2 are Σ = Σ 1 Σ = Σ 1  (18) u    v   ⊗ − ⊗ where denotes the Kronecker product (Lütkepohl, 2006). Therefore we obtain block-diagonal ⊗ matrices (because the processes are white noise) with entries given by the respective members of theerrorcovariancematrices. Notethatinthecaseofcommontrends,wesubstituteΣ = ΘΣ Θ.  † 0 It follows from (18) that Σ = Σ 1 +Σ ∆∆ (19) w     0 ⊗ − ⊗ where the matrices ∆ are ( )  dimensional, with row entries given by the coefficients of − × (1 ). Observe that (19) can be used as the basis for an explicit Gaussian likelihood for the − 21

observed data, given the Assumption  that initial values and w are orthogonal.  Also, (18) and (19) allow us to compute the signal extraction quantities of Theorem2. Details are omitted here, but R code that provides both the exact Gaussian likelihood and the filter and error covariance matrices , , and  is available from the authors. 4.3 Inflation co-movements and trend estimation The models discussed in the previous sub-section provide useful starting points for developingUC models and trend estimators for the core and total US inflation time series. While considerable work has been done on extensions of the univariate model such as stochastic volatility (see Stock and Watson (2007) or richer stationary dynamics around the trend (e.g., Cogley and Sbordone (2008)), we do not address these model aspects here because our principal goal is to illustrate the multivariate extension of the signal extraction framework with integrated series. The basic stochastic trend specifications already give the maininsights about mutually consistent modelling and signal estimation for a set of related nonstationary variables: the role of trend behavior, of series-specific parameters, and of component correlations across series. Richer models and filters have the same essential foundation — the nonstationary part often represents the most crucial part of the design — but with more subtle dependencies or more inter-relationships and more parameters. Also, for our particular example of US inflation over the last twenty five years or so, the basic models already give a decent statistical representation, as evidenced in our results. To the extent it represents the rate at which inflation is likely to settle moving forward, trend inflation is worth monitoring by central banks and could even be a significant factor in monetary policy deliberations. In a time series framework, we can set up an explicit model containing a trend, specified as a stochastic process with permanent changes, and an additional component reflecting short-term and less predictable variation. One advantage of such a framework is that, with a flexible modeling approach and loose constraints on its structure and parameters, we may tailor the model to the data of interest, making it consistent with their dynamic behavior and suitable for estimating useful signals both historically and currently. A model with stochastic trend also gives a convenient way to describe properties like inflation persistence (as mentioned in Cogley and Sbordone (2008), for instance), as the permanent component evolves slowly over time. Here, we focus on the trend in total inflation as our measure of the underlying rate since the total includes the full expenditure basket, including items like gasoline, of the representative consumer. For clarity, we use "core inflation" to refer specifically to inflation for all products excluding food and energy goods. In other usage, the term "core" inflation has sometimes been used interchangeably with "trend" inflation, the idea being that simply stripping out two of the 22

most volatile components in inflation already gives a better representation of long-run signal. However, equating core with trend neglects the important role of food and energy costs for the typical household, and it fails to account for the presence of both long-term and short-term movements in core as well as total. With much of the irregular component removed, the core index has additional information, which we can use in the framework of a bivariate time series model to improve the trend estimator in total inflation. In terms of notation, we consider  = 2 with core and total arranged in the observation vector with core being the first element, and let  denote the correlation across series for a given component; for example,  is the correlation  between the irregulars in the core and total series. The common trend specification has  = 1; for identification, we take the base trend to represent that of core inflation, with the load matrix taking the form [1] where the scalar  gives the coefficient in the linear mapping from trend 0 core to trend total. The models used here generalize some previous treatments. Cogley (2002) uses a univariate version of a specific model used here. Kiley (2008) considers a bivariate common trend model with a random walk and with the loading factor constrained to unity. Here, we consider two possible trend specifications, relax the assumption of perfect correlation, and in the common trends form, allow the loading factor to be unrestricted. While it seems entirely reasonable that the trends in core and total are closely related (both because the core is a large fraction of the total basket of goods and because it is well known that price changes for the food and energy group are dominated by temporary factors), whether there are correlated or common trends is essentially an empirical question; settingup appropriately constructed models and fitting themto the data provides a coherent basis for addressing this question and for measuring the correlations between both trend and noisy movements as parameters. Finally, restricting the load parameter to one implies that core and total inflation trends are identical, which is not necessarily true given the share of food and energy in the total index and a possible stochastic trend in the food and energy portion, in general having different properties from the core trend. We use inflation rates based on the price index for personal consumption expenditures (PCE). Core and total PCE inflation represent widely referenced data in research studies and current reports, and they are included in the economic projections of FOMC meeting participants. In considering the welfare of society, total PCE inflation gives a valuable measure, intended to capture cost changes for the actual consumption basket of the population. The base data are the quarterly indices for total and core PCE prices from 1986Q1 to 2010Q4 (Source: Bureau of Economic Analysis). Inflation is defined as 4 log(  ) for price index  . Inflation   1  · − fluctuations appear to have a different structure prior to the sample used here; for example, as apparent in Figure 1, there is no episode, post-mid 80s, comparable to the Great Inflation of the 70s and early 80s. Following this time of high levels and volatile movements, inflation seems to 23

have settled into a different pattern of variation, with a more stable level and with temporary components tending to dissipate rapidly. Economists have discussed various reasons for this new regime, such as a more effective anchoring of inflation expectations. We estimate the models by Maximum Likelihood3. Though the computation of the likelihood relies on Gaussian distributions, the assumption of normality is actually not needed for the efficiency of the resulting MLEs; see Taniguchi and Kakizawa (2000). With the model cast in state space, the likelihood is evaluated for each set of parameter values using the prediction error decomposition from the Kalman filter; see Harvey (1989) or Durbin and Koopman (2001). The parameterestimatesarecomputedbyoptimizingoverthe likelihoodsurface. Programs werewritten in the Ox language (Doornik, 1998) and included the Ssfpack library of state space functions (Koopman et. al., 1999) for parameter estimation routines. Local level results are in Table 1 for the univariate case. While the value of 2 has a similar  magnitude for core and total, the variance of the irregular is far larger for total inflation. The application of the signal extraction formulas, given the estimated parameters, yields the trends shown in Figure 1. The confidence bands around the trends represent one standard deviation above and below the conditional expectation - the point estimate - taken at all time periods. Eachtrendmeandersthroughoutthesample,itsbasiclevelevolvingslowlyoverthesampleperiod, and it also undergoes frequent and subtle adjustments on a quarterly basis (due to scaling, this is more evident in the graph for core). Such an adaptive level seems reasonable to the extent that underlying inflation is affected by factors that are constantly changing. The signal-noise ratio  = 22 indicates the relative variability of trend and noise (for a given model structure). The   value of  reported in the table is much greater for core; this contrast gives a precise statistical depiction and quantifies the informal expression that "core inflation has more signal". Table 1 also reports three measures of performance and diagnostics. Analogous to the usual regression fit, 2 is the coefficient of determination with respect to first differences; the values in  the table indicate that a sizeable fraction of overall variation is explained by the models beyond a random walk, especially for total, where the extraction of the more volatile irregular in producing the trend leads to a favorable fit. The Box-Ljung statistic () is based on the first  residual autocorrelations; here  = 10. The degrees of freedom for the chi-squared distribution of () is  +1, where  is the number of model parameters, so the 5% critical value for 2(9) is about − 16.9. Core and total inflation have roughly equivalent values of () clearly below the 5% cutoff. The trade-off between fit and parsimony is expressed in the Akaike Information Criterion 3As an aside, we independently estimated all the models using (12) and our matrix expressions for Σ , and w obtained nearly identical results. Note that, as shown in Bell and Hillmer (1991), a state space likelihood corresponds to the Gaussian likelihood under Assumption  if it is initialized using the transformation approach of ∞ Ansley and Kohn (1985); other initializations, such as the diffuse, can produce different results. 24

ˆ ˆ (AIC), defined by  = 2log+2 where log is the maximized log-likelihood — see (12). − The set of results for the bivariate case, shown in Table 2, confirm the utility of including the core inflation series in the model. Relative to univariate, the  statistic for total declines − modestly for the bivariate model, while the coefficient of determination rises significantly, with 2 now measuring over 35% for total inflation. Shared parameters are shown in Table 2b; the  close connection between the two series mainly appears in the trends, for which the correlation between the disturbances is estimated as unity. The cross-correlation for the irregulars takes on a smaller positive value of about  = 05. As the perfect correlation condition holds, we may  directly reformulate the model as having a single common trend. As reported in Table 2b,  is somewhat less than one; the AIC decrease reflects the reduction in the number of parameters (values of AIC can be used to compare common and related trends models for either the LLM or STM, but cannot be used to compare an LLM to an STM, because they have different orders of integration.) Figure 2 shows the resulting trend in total inflation and compares it with the univariate output. The solid lines pertain to the bivariate estimates. There are noticeable differences in both the trajectory of the bivariate trend and in the substantially reduced degree of uncertainty associated with its estimation. We can now use our signal extraction results to show how the model-based estimator makes optimal use of the information that core inflation gives about the trend in total. The filters, estimated from the model and applied to bivariate dataset, have coefficients in the form of 2 2 × weight matrices. An equivalent formulation expresses the bivariate filter as a 2 2 matrix of × scalar filters of the usual form; for each element, figure 3 plots each filter weight against the time separation between weighted observation and signal location. The core-to-core weighting pattern in the upper-left box nearly matches the decay pattern of an exponential on each side (there is a slight discrepancy as the weights dip just below zero at the ends). Apart from a very slight constant offset, the weights for total-to-core seem to follow a negative double exponential. Therefore, the current and adjacent values of core inflation are somewhat overweighted, with a modestly-valued moving average of total inflation subtracted. (The small constant offset is due simply to the linear relationship between the two trends.) The bottom-left box shows the coreto-total weights, also resembles a shifted double exponential (with a slightly reduced maximum, compared to core-to-core, to dampen the trend variability a bit). A negative offset is now readily apparent, withthe weights goingnegativeafter five lags or so, again, fromthelinearlinkage. This kernel is then set against a total-to-total pattern which, like the total-to-core cross filter, has the shape of an inverted double exponential, adjusted by a fixed amount. The gain functions (for the hypothetical, doubly infinite series) are shown in figure 4. The filter for core-to-core has the usual shape of a low-pass filter, representing a standard focus on low frequencies. The gradual decay of the core-to-core low-pass results from the slow decline of 25

the trend pseudo-spectrum and its overlap with the flat spectrum of the white noise irregular. The gain rises modestly above unity at the low end, indicating a small expansion of amplitudes. Correspondingly, thecross-gainfortotal-to-coreislessthanorequaltozeroeverywhere, reflecting an opposite effect due to total inflation. As the major portion of the trend in total is assessed by smoothing the core rate, this leads to a core-to-total filter that also resembles a low-pass filter. Now the gain reaches a maximum somewhat below unity, so the filter diminishes slightly the strength of the trend core movements; this contribution is then combined with another reflected (about the frequency-axis) low-pass filter applied to total. For the smooth trend model, given in (15), the direction adjusts gradually, suggesting slowly changing long-run factors. While the smooth trend model has been successfully applied in research such as Harvey and Trimbur (2003), who examine cycles and trends in economic activity series, the multivariate smooth trends model has not yet been used for inflation data. Now, the specification allows trend inflation to increase or decrease going forward, with the rate of change subject to permanent shocks, whereas the local level model simply projects the current level ahead. As a result, it gives scope for a different view of trend inflation connected to most significant and long-run transitions in the rate over the sample period. The results, shown in Tables 3 and 4, indicate the smooth trend as another effective tool for inflation, as there is little difference in the fit measure and diagnostics relative to the local level model. There is again a clear improvement in the fit and residual serial correlation in moving to the bivariate model. For the I(2) model, the trends in Figure 5 show stable variation for which the major trending phases and turning points become clearer, than for the more reactive local level. Basically, the estimated trend of the I(2) model concentrates on the lowest frequency, major transitions, for instance, the persistent rise in trend inflation moving into the mid-2000’s, followed by stalled gains and a peak during 2007. The correlation between the slope disturbances is unity, signifying a very close connection. as thepaceofadjustmentoftrendmovestogetherforcoreandtotal. Figure6contraststheresulting trendwiththeunivariateoutput. Thesolidlines,whichshowtheestimatesandconfidencebands, indicate that the path of the bivariate trend exhibits somewhat more variation over the sample and is estimated with greater precision. The associated common trend model has the form of (16) with the loading on core normalized to one and a load parameter  applied to total. The reported value of  is close to one. The weighting kernels for this case are shown in Figure 7. Compared to the local level case, the trend weights for core-to-core are spread over a longer range, with a slower rate of decay with lag length. This difference in weighting pattern gives rise to the smoother trend. As before, a weighted average (offset) of the total inflation series is subtracted from smoothed core inflation (also offset) to form the trend estimate in each series. 26

From the frequency domain perspective, the persistence in the direction of the trend and its relative smoothness result from greater concentration on low frequencies than for the random walk trend. The resulting set of low-pass filters for the smooth trend model is shown in figure 8. For both series, the gain applied to core inflation cuts off more sharply than the gains in figure 4, and this contribution is set against a negative gain, operating on total inflation, that also falls to near zero more rapidly. The greater effectiveness of the gain in cutting out high frequencies leads to the contrast in visual properties of the smooth trend compared to the local level case, as indicated in figure 9. The formulas presented above reveal analytically how to make the most efficient use of series withhighrelativesignalcontent,whosecomponentscorrelatewiththetarget’s. Thesubstantially higher signal-noise ratio of core, and to some extent also the positive irregular correlation, affects the filter design. A pronounced focus on core, which is actually over-weighted and compensated forbysubtractingsome signal intotal, appearstohelp avoidlargeerrorsinfavorofmore frequent smaller errors in the signal extraction (as the estimator satisfies the minimum MSE optimality criterion). Compared to a simple reliance on core, the optimal measurement of trend has some basic differences. In both the local level and smooth trend cases, the estimation of each trend starts with the extraction of noise from core. To extract the trend in total inflation, although the emphasis remains on core, a different moving average is applied to the core rate (adjusted by a linear function compared to the weights for computing core trend), which is then set against a modest weighted average of the total rate. So, the measurement of total’s trend relies also to some extent on total (and likewise for the trend in core). Our example with trend inflation illustrates how the possibility of contrasting trend structures, different properties of individual series, and linkages across series, together exert important effects on the weight and gain patterns for signal estimation. While our illustrations have used simple stochastic trend plus noise models, they already show that the exact optimal weighting of just two series has non-obvious aspects such as a slight overemphasis on the signalling series compensated by subtracting a weighted average of the noisier target. When using more complex specifications to generate even more refined trend estimates, while the set of determinants would expand to include, for instance, variance-ratios involving disturbances for other components such as cycles, one would encounter the same essential issues as in our illustration. The precise way to best combine two or more series with variable signal content,thatmayhavemultiplecomponents,dependsnowonthematrixstructuresexpressingthe complete set of dynamic relationships. Our new results allow us to solve the general formulation ofsuchproblemsexplicitly,thatwouldeitherlieoutsideourabilitytointuittheoptimalextraction of the signal or where reliance on intuition alone would lead to inefficient use of the available data 27

(and would preclude knowledge of the probable error or of the uncertainty in our estimates). 5 Conclusions Applications of signal extraction intertwines with areas like current analysis, policy-making, and forecasting; in this context, multivariate frameworks may yield more informed and accurate estimatesofcomponentsofinterest, whileincorporatingmoreoftheavailableinformationintheform of additional series and their cross-relationships. Often the economic data involved show nonstationary behavior, and the related stochastic trends across series represent a primary signal of interest, whose estimation alsosubstantially influences the measurement of any other components present in the series. Here, we have generalized the well-known Wiener-Kolmogorov formula to the situation of interest in econometrics, which represents a key theoretical foundation and allows us to derive new results on signal estimation for multiple economic time series. The effective modelling of comovements across related time series has been the subject matter of some of the major ongoing developments in econometrics in statistics, and correspondingly, a wide range of multivariate signal extraction systems appear in economics and other fields. The contributions of this paper substantially extend our understanding of such problems; now we can examine the analytical expressionsfortheoptimalset of weight polynomials, appliedtotheobservationvectors, basedon the matrix ACGFs or pseudo-ACGFs. The bi-infinite analysis shows, in compact form, precisely howtobestusethenewinformation,inadditiontothecomponentrelationshipsinthesignal’sown referenceseries, toconstructestimates. Whenserieswithhighsignalcontentarereadilyavailable, as in the total-core inflation example, we can derive the adjustment and shifting of model-based weightingsontheobservations,quantifyinghowitdependsonthecross-correlationsandvariances. This mathematical precision, together with the accompanying insight and knowledge about the signal estimation, may provide the basis for improved treatment of and better understanding of existing contexts. Our formulas also allow us to derive new signal estimators for multiple nonstationary time series, expanding the scope of methodology in economics and other fields. The finite sample time-domain formulas, which we have used for the actual application of the filters, account for the dependence of the correct optimal filters on series length and signal location. The new theoretical content consists of general analytical expressions for weight patterns, that reveal precisely how series length, signal location, and parameters (includingthose governing dynamic linkages among series) jointly affect the estimators. From a methodological perspective, our contribution expands the array of available computational strategies, in particular the widely usedstatespace approach. The direct matrix approachincludesextensions, suchas long-memory, not easily handled in state space. As another example, it allows us to explore signal extraction 28

theory in the presence of time variation in variances — a model aspect of extensive interest in the time series literature — in the multivariate extension to McElroy (2008), who showed initial results for the univariate case. While our results cover ground complementary to the state space approach, our method offers a different, direct route to calculation (results in Bell and Hillmer (1991) indicate that a correctly initializedKalmanfilterwillproduceGaussianconditionalexpectationsthatareinagreementwith standard initial values assumptions such as those made in this paper). The complete functional form of the optimal asymmetric filters for multiple series may also prove useful toward improving practice,as,forinstance, signaldetectionpropertiestowardtheendoftheavailabledataremainof considerableimportanceforresearchersand, perhaps, policymakers. Themethodcanalsoreadily produce useful additional information, e.g., quantities like signal velocity, or rates of change. As another example, we may examine signal estimation diagnostics that indicate performance in this context, analogous to statistical measures for specification tenability in a model comparison context. In addition to providing the base for eliciting movements of interest (or certain properties of these movements), signal-noise structures also represent candidate classes of time series models, usefulforthetypicalproblemslikehistoricalsummaryandinterpretationandexplanatoryanalysis as well as forecasting. These formulations offer useful windows into patterns in fluctuations, and we can handle co-integration with common driving forces for the stochastic trends or analogously, linked stationary, serially correlated elements in groups of series. So we can unify modelling, descriptive analysis, and forecasting with signal extraction frameworks, including classic ones — connected to the kind of macroeconomic story-telling useful for discussions among economists and policy-makers — like those used to estimate trends (such as potential output or the NAIRU) or business cycle components. Based on the core property of optimality and adaptability to time series dynamics, our contributions provide a cornerstone for signal extraction theory and estimator design in econometrics: completing a well-known line of contributions (Wiener (1949), Whittle (1963), and Bell (1984)) and generalizing the matrix method, a direct alternative to the popular state space approach with new theoretical content for finite samples. As the formulations we consider include highly general multivariate specifications for nonstationary sets of time series, our results have a broad scope and allow for comprehensive development and investigation of a very wide range of situations, including advances in existing areas like trend analysis, as well as new signal extraction architectures that may emerge from future research and experience with economic fluctuations. 29

Appendix Proof of Theorem 1. The action of each filter on a time series is obtained by replacing  by  and  by  1. The error process is defined via ² = W()y s . (It is also easy to derive an −    − expression for 1 W(), which has the same formula as (6) but with signal and noise swapped.)  − Then applying (6) to this error decomposition yields ² = Γ 1() Γ ()Γ () Γ ()Γ () Γ 1()w  −w vw uw uw vw −w  − ³ ´ +Γ 1()Γ ()v Γ 1()Γ ()u  e−w uew  − −w evw  One can swiftly see the stationarity of the error process, as well as its orthogonality to w for e e e e + all  and any . In the expectation calculations, we can use the Cramer representation for w  { } to get expressions involving integrals — then the fact that the frf is not defined on a set of measure zero becomes irrelevant. Moreover, since the error process only depends on u and v , it   { } { } is orthogonal to the initial values of the data process as well, by Assumption  . Hence the ∞ error process is uncorrelated with y , proving the optimality of the signal extraction filter. The  { } formula for the error spectral density also follows from the above description of the error process. Under the assumption that the differencing operators are uniform, we have (since diagonal matrices commute with any other matrix) Γ ()Γ ()δ() = Γ ()Γ () vw uw v u Γ ()Γ ()δ() = Γ ()Γ () uw vw u v e e e Using this relation produces e e e W() = Γ 1() Γ ()+ Γ ()Γ () Γ ()Γ () Γ 1() −w u v u u v −w − h ³ ´ i = Γ 1() Γ ()Γ ()+Γ ()Γ () Γ 1() e−w eu u e v u e −w h i = Γ ()Γ 1() eu −we e Similarsubstitutionsintheerrorspectraldensityproduce, aftermuchalgebra, thestatedformula. 2 Proof of Proposition 1. The spectral density of the differenced data process is F () =  () 2Ξ()Σ Ξ()+  () 2Ω()Σ Ω() w n  0 s  0 | | | | For any fixed , this expression is the linear combination of a positive definite and a non-negative definite matrix. So long as  () 2 is nonzero, F () will be invertible, but otherwise the matrix s w | | is singular. Let () =  () 2 and () =  () 2 for short. If  is a root of , then n s  | | | | F ( ) = ( )Ξ( )Σ Ξ( ) w     0  30

where  =  . If this matrix has determinant zero, then either Σ = 0 or there exists some  −  | | matrix  (depending on  ) such that Ξ( ) = 0. The former case corresponds to co-linearity  0  of the signal core process, whereas the latter case is discussed further below. If the signal core process is co-linear, then from the singular value decomposition of Σ we can write this matrix  as ΘΣ Θ. Here Σ has reduced dimension corresponding to the number of nonzero eigenvalues  0  of Σ , and Θ is rectangular. Then the Sherman-Morrison-Woodbury formula (Golub and Van  Loan, 1996) yields () F −w 1() =  − 1()[Ω()Σ  Ω 0 ()]− 1 − () [Ω()Σ  Ω 0 ()]− 1 Ξ()ΘΣ  1 ()1  +()Θ 0 Ξ 0 ()[Ω()Σ  Ω 0 ()]− 1 Ξ()ΘΣ  − · n 1 o Θ 0 Ξ 0 ()[Ω()Σ  Ω 0 ()]−  · This formula is quite informative: the above derivation shows that F 1 is bounded for all , −w even in a neighborhood of  . Unfortunately, the matrix F is not invertible at  , and the rate  w  of explosion of  1() is generally such that the Whittle likelihood (see (3.1.5 of Taniguchi and − Kakizawa (2000)) is not well-defined. However, the frf (7) for any  such that () = 0 is given by 6 W() = 1 ()Ω()Σ Ω()F 1()   0 −w − 1 = ()Ξ()ΘΣ  ()1  +()Θ 0 Ξ 0 ()[Ω()Σ  Ω 0 ()]− 1 Ξ()ΘΣ  − · n 1 o Θ 0 Ξ 0 ()[Ω()Σ  Ω 0 ()]−  · andthelimitas  ofthisiswell-defined; weset () = 0 and() = ( )(whichisnonzero,   → since the signal and noise differencing polynomials are relatively prime by assumption). That is, 1 W( ) = ( )Ξ( )ΘΣ ( )ΘΞ( )[Ω( )Σ Ω( )] 1 Ξ( )ΘΣ −      0 0    0  −   · n 1 o Θ 0 Ξ 0 (  )[Ω(  )Σ  Ω 0 (  )]−  (A.1) · Now let us treat the case that the innovations are not co-linear, and yet Ξ() = 0 at some 0 measure zero set of frequencies (with a different  for each frequency ). Let Λ denote the set of frequencies where F is invertible, so that w Γ u ()Γ −w 1() = 1  − () 1  +()F u ()F −v 1() − 1  ¡ ¢ which is well-defined for all frequencies ; for  Λ, we can take the limit as   , since  6∈ → the matrix inverse in the above expression always exists. The limit is just 1 , so W() can be  continuously extended to all frequencies. This completes the proof. 2 31

Proof of Theorem 2. The invertibility of each  follows from the univariate argument in McElroy (2008), using the fact that () and () share no common factors. The signal error for s n the th signal is () = s() s() = y() +n() (1 )s() − − − = X6 Optimality of the matrix fbormulas follows from demonstrating that () is orthogonal to y, the stacking of the individual data vectors y(). As in Bell (1984), we can write y as a linear combination of w and various initial values for all the component series. Utilizing Assumption  , it  is then sufficient to demonstrate that () is uncorrelated with w. Noting the formula for 1 , − we obtain  () =  − 1   Γw() w − = =1 X6 X¡ ¢ + − 1 ∆( n ) 0Σ v  − 1 v() +Σ =   Γ w ∆( s )v() 6 − −  − 1h ∆( s ) 0Σ u  − 1 u() +Σ  6 = ¡ − ¢Γ w ∆( n )u() i  h i ¡ ¢ Next, we show that the covariance between this error vector and each w() is zero for each . Noting (11), we obtain  E[()w() 0] =  − 1   ΓΣ w w − = =1 X6 X¡ ¢ + − 1 ∆ n () 0Σ v  − 1 Σ v ∆( s ) 0 +Σ =   Γ w ∆( s )Σ v ∆( s ) 0 6 − −  − 1h ∆( s ) 0Σ u  − 1 Σ u ∆( n ) 0 +Σ  6 = ¡ − ¢Γ w ∆( n )Σ u ∆( n ) 0 i h ¡ ¢ i =  − 1   ΓΣ − w w =1 = X¡ ¢X6 + − 1 Σ  6 =  −  Γ w Σ w  + − 1  ¡   ¢ − ¡ ¢ Consider the first term. By the definition of Γ, we know that ΓΣ is a matrix of zeroes w  w w unless  = , in which case it is an identity matrix. As a result, the first term can be rewritten as P   − 1    − 1   ΓΣ − − − w w =1 ¡ ¢ X¡ ¢ The left-hand term here cancels with the third term above. The right-hand term here actually cancels with the second term above, since when  =  we get ∆() 0Σ − 1 Σ∆() 0 ∆()Σ − 1 Σ∆() 0 = ∆() ∆() = 0 s u u n − n v v s − 32

by (10). This completes the proof of optimality. The signal extraction covariance matrix is produced by using the above expression for () in E[()() 0], after much algebra. To prove the matrix form of the results, note that the th block matrix of the putative formula for  is    − 1  +   Γ∆ w − à ! =1 =1 X X ¡ ¢ e  =  − 1  +   Γ∆()  − w à ! =1 X¡ ¢ using the block-diagonal structure of , , and ∆. The formula for  can now be recognized by the above expression. Similar calculations establish the formulas for  and . 2 e Acknowledgements Thanks to participants at the NBER/NSF time series conference, held at Michigan State University in September 2011, as well as those who attended the College Park seminarinOctober2011andtheFRBseminarinNovember2011. ThanksinparticulartoWilliam Bell, Scott Holan, Ben Kedem, Seth Pruitt, Elmar Mertens, Barbara Rossi, Jeremy Rudd, Aaron Smith and Marc Wildi for helpful discussion. References [1] Ansley, C. and Kohn, R. (1985) Estimation, filtering, and smoothing in state space models with incompletely specified initial conditions. Ann. Statist. 13, 1286—1316. [2] Azevedo, J. Koopman, S., and A. Rua (2006) Tracking the Business Cycle of the Euro Area: A Multivariate Model-Based Bandpass Filter. Journal of Business and Economic Statistics 24, 278—90. [3] Basistha, A. and Startz, D. (2008) Measuring the NAIRU with reduced uncertainty: a multiple-indicatorcommon-cycle approach. Review of Economics and Statistics 90, 805—811. [4] Bell, W. (1984) Signal extraction for nonstationary time series. The Annals of Statistics 12, 646—664. [5] Bell, W.(2004)OnRegComponenttimeseriesmodelsandtheirapplications.InA.C.Harvey, S.J. Koopman, and N. Shephard (Eds.), State Space and Unobserved Component Models: Theory and Applications. Cambridge, UK: Cambridge University Press. [6] Bell, W. and Hillmer, S. (1991) Initializing the Kalman filter for nonstationary time series models. Journal of Time Series Analysis 12, 283—300. 33

[7] Brockwell, P. and Davis, R. (1991) Time Series: Theory and Methods, 2nd Ed. New York: Springer. [8] Cogley, T. (2002) A simple adaptive measure of core inflation. Journal of Money, Credit and Banking 34, 94—113. [9] Cogley, T. and A. Sbordone (2008) Trend inflation, indexation, and inflation persistence in the new Keynesian Phillips curve. American Economic Review 98, 2101—2126. [10] Doornik, J. (1998) Object-oriented Matrix Programming using Ox 2.0. London: Timberlake Consultants Press. [11] Durbin, J. and Koopman, S. (2001) Time Series Analysis by State Space Methods. Oxford University Press. [12] Engle, R. and Granger, C. (1987) Cointegration and error correction: representation, estimation, and testing. Econometrica 55, 251—276. [13] Golub, G.andVanLoan, C.(1996)Matrix Computations.BaltimoreandLondon: TheJohns Hopkins University Press. [14] Gómez, V. (2006) Wiener-Kolmogorov filtering and smoothing for multivariate series with state-space structure. Journal of Time Series Analysis 28, 361—385. [15] Harvey, A. (1989) Forecasting, Structural Time Series Models and the Kalman Filter. Cambridge, Cambridge University Press. [16] Harvey, A. C., and Trimbur T. (2003) General model-based filters for extracting cycles and trends in economic time series. Review of Economics and Statistics 85, 244—255. [17] Johansen, S. (1988) Statistical analysis of cointegration vectors. Journal of Economic Dynamics and Control 12, 231—254. [18] Kiley, Michael T. (2008) Estimating the Common Trend Rate of Inflation for Consumer Prices and Consumer Prices Excluding Food and Energy Prices, Finance and Economics Discussion Series 2008-38. Board of Governors of the Federal Reserve System.. [19] Koopman,S.J.andHarvey,A.C.(2003)Computingobservationweightsforsignalextraction and filtering. Journal of Economic Dynamics and Control 27, 1317-33. [20] Koopman, S., Shephard, N., andDoornik, J. (1999) Statistical algorithms formodels in state space using SsfPack 2.2. Econometrics Journal 2, 113—166. 34

[21] Lütkepohl, H. (2006) New Introduction to Multiple Time Series Analysis. Springer-Verlag, Berlin. [22] McElroy, T. andSutcliffe, A. (2006)Aniteratedparametricapproachtononstationarysignal extraction. Computational Statistics and Data Analysis, Special Issue on Signal Extraction 50, 2206—2231. [23] McElroy,T.(2008)MatrixformulasfornonstationaryARIMAsignalextraction.Econometric Theory 24, 1—22. [24] Nyblom, J. and Harvey, A. (2000) Tests of common stochastic trends. Econometric Theory 16, 176—199. [25] Stock, J. and Watson, M. (1988) Testing for common trends. Journal of the American Statistical Association 83, 1097—1107. [26] Stock,J.andWatson,M.(2007)WhyHasU.S.InflationBecomeHardertoForecast? Journal of Money, Credit and Banking S39, 3—33. [27] Taniguchi, M. and Kakizawa, Y. (2000) Asymptotic Theory of Statistical Inference for Time Series. Springer-Verlag, New York. [28] Trimbur, T. M., (2010) Stochastic level shifts and outliers and the dynamics of oil price movements. International Journal of Forecasting 26, 162—179. [29] Whittle, P. (1963) Prediction and Regulation. London: English Universities Press. [30] Wiener,N.(1949)TheExtrapolation, Interpolation, andSmoothingofStationaryTimeSeries with Engineering Applications. New York: Wiley. 35

Table 1: Parameter estimates, Univariate Local Level Models  2 2  2 ()     Core 5.82e-006 1.77e-005 0.329 0.164 13.42 -750.96 Total 7.41e-006 0.000172 0.0431 0.261 13.26 -559.01 Resultsforsampleperiod1986Q1to2010Q4formodelsoftheform(13)with = 1. Theparameter 2 corresponds to the variance of the trend disturbance, in this case a level disturbance, and 2 is   the irregular variance;  = 22 is the signal-noise ratio 2 is the coefficient of determination with    respect to first differences, and () is the Box-Ljung statistic based on the first  = 10 residual autocorrelations.  is the Akaike Information Criterion, given by 2log+2 where log is the − maximized log-likelihood. b b Table 2: Parameter estimates, Bivariate Local Level Model Table 2a: Own Parameter estimates  2 2  2 ()    Core 5.18946e-006 1.84607e-005 0.281 0.179 11.08 Total 3.66532e-006 0.000177859 0.0206 0.3552 12.77 Resultsforsampleperiod1986Q1to2010Q4foramodeloftheform(13)with = 2. Fortheseries indicated in the left-most column, the parameter 2 corresponds to the variance of the level disturbance  and2 istheirregularvariance; = 22 isthesignal-noiseratio2 isthecoefficientofdetermination     with respect to first differences, and () is the Box-Ljung statistic based on the first  = 10 residual autocorrelations. Table 2b: Linked Parameter estimates    (Related)   (Common)   1.000 0.49832 -1349.25 0.840 -1351.25 Resultsforsampleperiod1986Q1to2010Q4foramodeloftheform(13)with = 2. Theparameter  corresponds to the correlation between the level disturbances in the two series, and  is the irregular   variance.  is given by 2log+2 where log where log is the maximized log-likelihood.  − (Related) is the Akaike Information Criterion for (13) where  is an estimated parameter. For the  b b b common levels form, (14),  is the load factor, applied to the trend in core, that gives the trend in total;  (Common) is the Akaike Information Criterion of the model. 36

Table 3: Parameter estimates, Univariate Smooth Trend Models  2 2  2 ()     Core 6.36e-008 2.33e-005 0.00273 0.133 16.37 -748.82 Total 6.17e-008 0.000185 0.000334 0.22 12.64 -555.06 Resultsforsampleperiod1986Q1to2010Q4formodelsoftheform(15)with = 1. Theparameter 2 isthe slope disturbance variance parameter, and 2 isthe irregularvariance;  = 22 is the signal-     noise ratio 2 is the coefficient of determination with respect to first differences, and () is the  Box-Ljung statistic based on the first  = 10 residual autocorrelations.  is the Akaike Information Criterion, given by 2log+2 where log is the maximized log-likelihood. − b b Table 4: Parameter estimates, Bivariate Smooth Trend Model Table 4a: Own Parameter estimates  2 2  2 ()    Core 6.11564e-008 2.34043e-005 0.00261 0.1462 15.3 Total 6.89953e-008 0.000179544 0.000384 0.3457 14.07 Results for sample period 1986Q1 to 2010Q4 for a model of the form (15) with  = 2. For the series indicated in the left-most column, the parameter 2 corresponds to the variance of the slope  disturbance and 2 is the irregular variance;  = 22 is the signal-noise ratio 2 is the coefficient     of determination with respect to first differences, and () is the Box-Ljung statistic based on the first  = 10 residual autocorrelations. Table 4b: Linked Parameter estimates   (Related)  (Common)   1.000 0.513972 -1332.06 1.06219 -1334.06 Resultsforsampleperiod1986Q1to2010Q4foramodeloftheform(15)with = 2. Theparameter  correspondstothecorrelationbetweenthe slope disturbancesinthe twoseries, and istheirregular   variance.  is given by 2log+2 where log where log is the maximized log-likelihood.  − (Related) is the Akaike Information Criterion for (15) where  is an estimated parameter. For the  b b b common slopes form, (16),  is the load factor, appliedto the trend in core, that gives the trend in total;  (Common) is the Akaike Information Criterion of the model. 37

0.010 0.05 TTrreenndd IIrrrreegguullaarr,, CCoorree IInnffllaattiioonn CCoorree IInnffllaattiioonn 0.04 TTrreenndd HHiigghh 0.005 TTrreenndd LLooww 0.03 0.000 0.02 −0.005 0.01 1985 1990 1995 2000 2005 2010 1985 1990 1995 2000 2005 2010 0.025 0.050 0.000 0.025 0.000 −0.025 TTrreenndd IIrrrreegguullaarr,, TToottaall IInnffllaattiioonn TToottaall IInnffllaattiioonn −0.025 TTrreenndd HHiigghh −0.050 TTrreenndd LLooww −0.050 1985 1990 1995 2000 2005 2010 1985 1990 1995 2000 2005 2010 Figure 1: Trend estimates, Univariate Local Level Model, for core and total PCE inflation. Sample is 1986Q1 to 2010Q4. 0.06 0.04 0.02 0.00 TTrreenndd ((UUnniivvaarriiaattee)) TToottaall IInnffllaattiioonn −0.02 TTrreenndd HHiigghh ((UUnniivvaarriiaattee)) TTrreenndd LLooww ((UUnniivvaarriiaattee)) TTrreenndd ((BBiivvaarriiaattee)) TTrreenndd HHiigghh ((BBiivvaarriiaattee)) TTrreenndd LLooww ((BBiivvaarriiaattee)) −0.04 1985 1990 1995 2000 2005 2010 Figure 2: Trendestimates, univariate andbivariate Local Level Model, for total PCEinflation. Sample is 1986Q1 to 2010Q4. 38

0.3 0.000 WWeeiigghhttss:: CCoorree ttoo CCoorree −0.005 0.2 −0.010 0.1 −0.015 WWeeiigghhttss:: TToottaall ttoo CCoorree −0.020 0.0 −40 −20 0 20 40 −40 −20 0 20 40 0.25 0.010 0.20 0.005 WWeeiigghhttss:: CCoorree ttoo TToottaall 0.15 0.10 0.000 0.05 −0.005 WWeeiigghhttss:: TToottaall ttoo TToottaall 0.00 −40 −20 0 20 40 −40 −20 0 20 40 Figure 3: Observation weights for estimating trends in core inflation and total inflation for the local level model. The horizontal axis is the separation between the signal and observation times. Note that the y-axes have differing scales. 39

G(cid:2)Λ(cid:3) 1.0 0.8 0.6 0.4 Λ 0.5 1.0 1.5 2.0 2.5 3.0 0.0 G(cid:2)Λ(cid:3) 0.8 0.6 0.4 0.2 0.0 Λ 0.5 1.0 1.5 2.0 2.5 3.0 Figure 4: Top: Gain function applies to core (solid) and total (dashed) inflation to measure trend in core inflation for local level model. Bottom: Gain function applied to core (dashed) and total (solid) inflation to measure trend in total inflation for local level model. 40

0.05 TTrreenndd IIrrrreegg,, CCoorree IInnffllaattiioonn 0.01 CCoorree IInnffllaattiioonn 0.04 TTrreenndd HHiigghh TTrreenndd LLooww 0.03 0.00 0.02 0.01 −0.01 1985 1990 1995 2000 2005 2010 1985 1990 1995 2000 2005 2010 0.025 0.050 0.000 0.025 −0.025 0.000 TTrreenndd IIrrrreegg,, TToottaall IInnffllaattiioonn −0.025 TToottaall IInnffllaattiioonn −0.050 TTrreenndd HHiigghh TTrreenndd LLooww −0.050 −0.075 1985 1990 1995 2000 2005 2010 1985 1990 1995 2000 2005 2010 Figure 5: Trend estimates, Bivariate Smooth Trend Model, for core and total PCE inflation. Sample is 1986Q1 to 2010Q4. 0.06 0.04 0.02 0.00 TTrreenndd ((UUnniivvaarriiaattee)) TToottaall IInnffllaattiioonn −0.02 TTrreenndd HHiigghh ((UUnniivvaarriiaattee)) TTrreenndd LLooww ((UUnniivvaarriiaattee)) TTrreenndd ((BBiivvaarriiaattee)) TTrreenndd HHiigghh ((BBiivvaarriiaattee)) −0.04 TTrreenndd LLooww ((BBiivvaarriiaattee)) 1985 1990 1995 2000 2005 2010 Figure 6: Trend estimates, Univariate and Bivariate Smooth Trend Model, for total PCE inflation. Sample is 1986Q1 to 2010Q4. 41

0.075 WWeeiigghhttss:: CCoorree ttoo CCoorree 0.000 0.050 −0.002 WWeeiigghhttss:: TToottaall ttoo CCoorree 0.025 −0.004 0.000 −40 −20 0 20 40 −40 −20 0 20 40 WWeeiigghhttss:: TToottaall ttoo TToottaall 0.075 0.0100 WWeeiigghhttss:: CCoorree ttoo TToottaall 0.0075 0.050 0.0050 0.025 0.0025 0.000 −40 −20 0 20 40 −40 −20 0 20 40 Figure 7: Observation weights for estimating trends in core and total inflation for the smooth trend model. The horizontal axis is the separation between the signal and observation times. Note that the y-axes have differing scales. 42

G(cid:2)Λ(cid:3) 1.0 0.8 0.6 0.4 0.2 Λ 0.5 1.0 1.5 2.0 2.5 3.0 G(cid:2)Λ(cid:3) 1.0 0.8 0.6 0.4 0.2 Λ 0.5 1.0 1.5 2.0 2.5 3.0 Figure 8: Top: Gain function applied to core (solid) and total (dashed) inflation tomeasure trend in core inflation for smooth trend model. Bottom: Gain function applied to core (dashed) and total (solid) inflation to measure trend in total inflation for smooth trend model. 43

0.06 0.04 0.02 0.00 TTrreenndd ((SSmmooootthh)) TToottaall IInnffllaattiioonn −0.02 TTrreenndd HHiigghh ((SSmmooootthh)) TTrreenndd LLooww ((SSmmooootthh)) TTrreenndd TTrreenndd HHiigghh −0.04 TTrreenndd LLooww 1985 1990 1995 2000 2005 2010 Figure 9: Trend estimates, Bivariate Local Level and Smooth Trend Model, for total PCE inflation. Sample is 1986Q1 to 2010Q4. 44

Cite this document
APA
Tucker S. McElroy and Thomas M. Trimbur (2012). Signal Extraction for Nonstationary Multivariate Time Series with Illustrations for Trend Inflation (FEDS 2012-45). Board of Governors of the Federal Reserve System, Finance and Economics Discussion Series. https://whenthefedspeaks.com/doc/feds_2012-45
BibTeX
@techreport{wtfs_feds_2012_45,
  author = {Tucker S. McElroy and Thomas M. Trimbur},
  title = {Signal Extraction for Nonstationary Multivariate Time Series with Illustrations for Trend Inflation},
  type = {Finance and Economics Discussion Series},
  number = {2012-45},
  institution = {Board of Governors of the Federal Reserve System},
  year = {2012},
  url = {https://whenthefedspeaks.com/doc/feds_2012-45},
  abstract = {This paper advances the theory and methodology of signal extraction by introducing asymptotic and finite sample formulas for optimal estimators of signals in nonstationary multivariate time series. Previous literature has considered only univariate or stationary models. However, in current practice and research, econometricians, macroeconomists, and policy-makers often combine related series - that may have stochastic trends--to attain more informed assessments of basic signals like underlying inflation and business cycle components. Here, we use a very general model structure, of widespread relevance for time series econometrics, including flexible kinds of nonstationarity and correlation patterns and specific relationships like cointegration and other common factor forms. First, we develop and prove the generalization of the well-known Wiener-Kolmogorov formula that maps signal-noise dynamics into optimal estimators for bi-infinite series. Second, this paper gives the first explicit treatment of finite-length multivariate time series, providing a new method for computing signal vectors at any time point, unrelated to Kalman filter techniques; this opens the door to systematic study of near end-point estimators/filters, by revealing how they jointly depend on a function of signal location and parameters. As an illustration we present econometric measures of the trend in total inflation that make optimal use of the signal content in core inflation.},
}