Trend-Cycle Decomposition and Forecasting Using Bayesian Multivariate Unobserved Components
Abstract
We propose a generalized multivariate unobserved components model to decompose macroeconomic data into trend and cyclical components. We then forecast the series using Bayesian methods. We document that a fully Bayesian estimation, that accounts for state and parameter uncertainty, consistently dominates out-of-sample forecasts produced by alternative multivariate and univariate models. In addition, allowing for stochastic volatility components in variables improves forecasts. To address data limitations, we exploit cross-sectional information, use the commonalities across variables, and account for both parameter and state uncertainty. Finally, we find that an optimally pooled univariate model outperforms individual univariate specifications, and performs generally closer to the benchmark model.
Finance and Economics Discussion Series Federal Reserve Board, Washington, D.C. ISSN 1936-2854 (Print) ISSN 2767-3898 (Online) Trend-Cycle Decomposition and Forecasting Using Bayesian Multivariate Unobserved Components Mohammad R. Jahan-Parvar, Charles Knipp, and Pawe(cid:32)l J. Szerszen´ 2024-100 Please cite this paper as: Jahan-Parvar, Mohammad R., Charles Knipp, and Pawel(cid:32) J. Szerszen´ (2024). “Trend-Cycle Decomposition and Forecasting Using Bayesian Multivariate Unobserved Components,” Finance and Economics Discussion Series 2024-100. Washington: Board of Governors of the Federal Reserve System, https://doi.org/10.17016/FEDS.2024.100. 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.
Trend-Cycle Decomposition and Forecasting Using Bayesian Multivariate Unobserved Components Mohammad R. Jahan-Parvar Charles Knipp Paweł J. Szerszeń∗ September 13, 2024 Abstract We propose a generalized multivariate unobserved components model to decompose macroeconomic data into trend and cyclical components. We then forecast the series using Bayesian methods. We document that a fully Bayesian estimation, that accounts for state and parameter uncertainty, consistently dominates out-of-sample forecasts produced by alternative multivariate and univariate models. In addition, allowing for stochastic volatility components in variables improves forecasts. To address data limitations, we exploit cross-sectional information, use the commonalities across variables, and account for both parameter and state uncertainty. Finally, we find that an optimally pooled univariate model outperforms individual univariate specifications, and performs generally closer to the benchmark model. JEL Classification: C11, C22, C32, C53. Keywords: Bayesian estimation, Maximum likelihood estimation, Online forecasting, Out-ofsample forecasting, Parameter uncertainty, Sequential Monte Carlo methods, Trend-cycle decomposition. ∗All authors are affiliated with the Federal Reserve Board of Governors. Please direct correspondence to Paweł J. Szerszeń (pawel.j.szerszen@frb.gov). We are grateful to seminar participants at the Federal Reserve Board of Governors, CFE 2023 conference, as well as Behzad Diba, Ali Habibnia, and Irina Panovska for conversations and comments. The analysis and conclusions are those of the authors, and do not reflect the views of other members of the research staff or the Board of Governors. 1
1 Introduction Acentralprobleminempiricaleconometricsisdecomposingmacroeconomicorfinancialtime-series into long-run trends and cyclical components. Often, the econometrician wishes to forecast these components as they are of paramount research or policy importance. Important examples include the congressional budget office’s (CBO) estimates of the output gap and potential output, often used for budgetary projections and debt sustainability studies (see Shackleton, 2018). Univariate trend-cycle decomposition methods have a long history in applied econometrics.1 However, current research increasingly requires decomposition of multivariate systems, often using information embedded in several variables and thus exploiting the cross-sectional variations, to extract the common trend and cyclical components. Exploiting these cross-sectional variations is a practical solution to overcome deficiencies in data, for example, relatively short time-series availableformacroeconomicorfinancialresearchorpolicymaking. StudiessuchasCreal,Koopman and Zivot (2010) in a partially estimated Bayesian smoother setting, González-Astudillo (2019a,b) within the unobserved component framework, Li and Koopman (2021) in state-space simulated maximum likelihood (SMLE) setting, and Barigozzi and Luciani (2023) using a dynamic factor model (DFM) set up, exploit different aspects of cross-sectional variations and recover trend and cyclical components of macroeconomic time-series. In this study, we use recent developments, such as Chopin, Jacob and Papaspiliopoulos (2013) sequential Monte Carlo and Andrieu, Doucet and Holenstein (2010) particle MCMC methods, and develop a continuously re-estimated Bayesian, online, trend-cycle decomposition and forecasting method that, by construction, avoids the lookahead bias present in studies that rely on a smoother, such as Creal et al. (2010). In a related literature, Dobrev, Hansen and Szerszen (2022) also rely on online estimation to guard against data outliers using Randomized Missing Data approach for estimation of univariate UC models in forecasting inflation. We recover trend and cyclical components of U.S. output (measured by real GDP), unemployment, and personal consumption expenditure (PCE) inflation, in a sample that includes the 2008- 2009 global financial crisis (GFC), the COVID-19 pandemic, and the recent inflationary period. We show that our proposed model outperforms a host of alternative multivariate and univariate models, in both estimation and forecasting. We find that the following ingredients are essential to deliver the model’s success: • A fully estimated stochastic volatility (SV) component across all series modeled to induce estimation and forecasting flexibility, especially over periods of abrupt change, such as the COVID-19 pandemic. Indeed, Clark (2011) implements a Bayesian vector autoregression 1 Amongthem,wenoteHodrickandPrescott(1997),BaxterandKing(1999)band-pass,andHamilton(2018)filters, aswellasunobservedcomponent(UC)methodspopularizedbyStockandWatson(2007)andusedbymanyothers, which are among those that we focus in this study. 1
(BVAR) model featuring SV components and documents notable real-time forecast improvements of U.S. macroeconomic quantities. • Fully accounting for both parameter and state uncertainty, through using filtering instead of smoother or (S)MLE methods. Moreover, using a filtering approach avoids the look-ahead biasproblemsinherentinsmoother-basedestimation(asinPanovskaandRamamurthy,2022, Li and Koopman, 2021 or Clark, 2011), that use the full sample.2 We note that using the entire sample (as in smoothing exercises) assumes access to future information that limits the appeal of such estimated models for policy making. • Taking the commonalities and correlations across various time-series seriously, and putting everyefforttousethecross-sectionofmodeledtimeseriestoovercomegenerallyshortsamples. An example of this approach in the literature is Panovska and Ramamurthy (2022) study, that uses learning about inflation to improve output gap estimation in a UC framework. We note that, as shown later in the paper, ignoring any of these components as in Stock and Watson (2007), Grant and Chan (2017), and Kamber et al. (2018) univariate studies or Creal et al. (2010) multivariate but less flexible and partially calibrated specification, leads to non-negligible underestimation of gaps. • We show that when using univariate models, an optimally pooled model (following Amisano and Geweke, 2017) outperforms individual constituent models. We document that the benchmark model in the paper, that could be viewed as a fully estimated version of Creal et al. (2010) with stochastic volatility components present in all series, and unrestricted estimation of volatility-of-volatility parameters, is easy to use in forecasting exercises, computationallyfeasible, avoidsmanypitfallsofearlierstudies, andincomparisonwithDFMstudies, generates very good out-of-sample forecasts using a parsimonious model. Our study explicitly incorporates relevant stylized facts about the United States macroeconomic data (comovements, nonstationarity, and the slow drift in long-run output growth over time). The method used in this study is a single-step procedure that does not require stationarity, cointegration, or partial integration among time-series variables used to identify potential common trends. However, we note that ours is a general estimation method suitable for various macroeconomic and financial time-series estimation, and is not tailored for the specific application presented in the paper. Figure1highlightssomeimportantcontributionsofthestudy. Thetoprowdisplaysthecyclical components extracted from U.S. output, unemployment, and PCE inflation. The CBO produces highly influential forecasts of cyclical components for GDP and unemployment often called output and unemployment gaps, respectively, on a regular basis (quarterly for GDP and monthly for 2 IncomparisontoClark(2011)’sBVARmethod,ourmethodimposeslessstringentstructuresonvariablesandallows for direct trend-cycle decomposition. 2
unemployment rate). We plot these forecasts as blue dotted lines in the top panel of the figure. The shaded areas represent 99, 95, and 75% credible intervals for cyclical components recovered through application of the benchmark method to the series. The choice of these credible intervals are similar but more stringent than those reported by Barigozzi and Luciani (2023). It is clear that CBO gap estimates generally fall within the 95% credible intervals of ours. Notable exceptions to this pattern are large spikes in output and unemployment gaps during the COVID-19 pandemic, andtherecoveryfromlargespikeintheunemploymentgapfollowingtheGFC,whereourestimates show a smaller rise compared to CBO’s. The bottom panel reports the extracted stochastic trends (solid lines) and data points (black dashed lines) for the same series. Figure 1: Data and decomposition results PCE 20 10 0 −10 10 5 0 −5 −10 1972 1984 1997 2009 2022 tnenopmoC lacilcyC Output 20 10 0 −10 −20 1972 1984 1997 2009 2022 dnerT Unemployment Rate 5 0 −5 −10 −15 975 10.0 950 925 7.5 900 5.0 875 1972 1984 1997 2009 2022 CKZ-SV(3) level data CBO estimate Quantiles 0.99 0.95 0.75 Thefiguredisplaysthecyclicalcomponentsofoutput,unemployment,andpersonalconsumptionexpenditureonthetoprow, and their respective trends and raw data on the bottom row. For the cyclical components, the blue dotted line is the CBO estimate, while the solid line is our estimate. The shaded areas around our estimate are 75, 90, and 95% confidence bands, respectively. Onthebottomrow,solidlinesrepresenttheextractedstochastictrendsanddashedblacklinesrepresentthedata. AlldataarefromFREDdatabank,maintainedbytheFederalReserveBankofSt. Louis. We follow a statistical approach in recovering trend and cyclical components of macroeconomic time-series.3 However, our estimation results yield gaps that are close to CBO’s, that follow a more involved production function-based approach (see Shackleton, 2018). Thus, our study at least partially bridges an existing gap in the literature. Moreover, given the relative simplicity of our model and estimation procedures, these estimates are easy to update in real time. In comparison, New-Keynesian estimation of gaps (as in Justiniano et al., 2013) or DFM-based methods usually require more careful treatment of variables. In DFM’s case, the number of variables that feed into 3 While we use a statistical model, we exploit intuition from economic theory and reduced form estimations to model dependencies between variables. 3
the forecasting exercise is typically large, and estimated DSGE models used in New-Keynesian gap extraction tend to be sensitive to both modeling assumptions and data samples used. Therestofthepaperproceedsasfollows. InSection2wediscussthedatausedintheestimations for the selected macroeconomic data series. In Section 3 we discuss the estimated models with an emphasis on the preferred benchmark model, the SMC2 algorithm, and the online forecasting approach. In Section 4 we present our empirical findings, including comparisons between the benchmark model, alternative multivariate models, and alternative univariate models, and other ancillary results. Section 5 concludes. 2 Data Asmentionedintheintroduction, weareinterestedinrecoveringthecyclicalcomponentsofoutput andunemployment,andstudytheirinteractionswithinflation. Tothisend,weusedatafromFRED database maintained by the Federal Reserve Bank of St. Louis to collect the following variables: 1) annualized, seasonally adjusted, quarterly, real gross domestic product (henceforth, GDP) in billions of chained 2012 dollars; 2) seasonally adjusted monthly unemployment rate (henceforth, UNRATE), that represents the number of unemployed as a percentage of the labor force (United States civilian and non-institutionalized residents 16 years of age and older); and 3) the monthly core personal consumption expenditures (henceforth, PCE) price index. We use logarithmic values of real GDP (in levels) following the example of, among others, Kamber et al. (2018). The GDP sample spans the first quarter of 1960 to the first quarter of 2023. Monthly measures of inflation are based on the price index for PCE. Inflation rates are computed as annualized log-changes in monthly PCE price index. We consider PCE inflation for two important reasons. First, PCE inflation is the Federal Reserve’s preferred inflation measure; FederalReserve’slonger-runinflationobjectivesarestatedintermsofthismeasure. Second, PCE’s historical data has been revised to reflect methodology changes over time, thus reducing concerns about instabilities that such changes might induce. PCE price index and unemployment samples span January 1960 to April 2023. In our multivariate studies, we use end-of-the-quarter values for PCE inflation and unemployment. 3 Methodology 3.1 The benchmark model In this section we define our preferred trend-cycle decomposition, denoted as CKZ-SV, based on Harvey and Trimbur (2003) and further generalized to multivariate case following Creal et al. (2010). We extend the model by Creal et al. (2010) and allow for stochastic volatilities in all 4
studied variables. We also unrestrict and estimate volatility of volatility parameters. The model decomposes each series y for i ∈ 1,2,3 (respectively PCE, unemployment and i,t (q) GDP) into trend x , the band-pass type common stochastic cycle ψ and individual idiosyncratic i,t t cyclical (irregular and i.i.d.) components η : i,t (q) +(q) y = x +δ cos(ξ λ)ψ +δ sin(ξ λ)ψ +η (1) i,t i,t i i t i i t i,t x = x +µ +ε (2) i,t+1 i,t i i,t where η ∼ N(0,σ2 ) (3) i,t i,t,η ε ∼ N(0,σ2 ) (4) i,t i,t,ε are the idiosyncratic trend and idiosyncratic cyclical components, respectively. The coefficient ξ i controls the shift in time of the common cycle component for the series i, while the parameter δ i controls the scale of the cycle. We pick the PCE series i = 1 (PCE), to be the numeraire and hence set δ = 1 and ξ = 0. so that the scale and shift of the common cycle is measured with 1 1 respect to the PCE series. The coefficient λ measures the length of the cycle given by 2π/λ. We model the volatilities of η and ε to be stochastic but restrict our specification to two i,t i,t regimes due to data limitations stemming from the relatively short quarterly data sets σ2 = exp(h ) (5) i,t,z i,t,z h = h +γ γ ∼ N(0,K2 ) (6) i,t+1,z i,t,z i,t,z i,t,z i,t,z where z denotes either η or ε and where the regime switches are defined by (1) K with probability p z K = (7) i,t,z K (2) = 0 with probability 1−p z with the first regime denoting the high-volatility regime. Due to data limitations we assume that the high volatility states do not depend on the series i, which significantly reduces the number of model parameters. Finally, the stochastic cycle ψ is modeled as in Harvey and Trimbur (2003) where we set q = 2. By construction of the ”cascading” stochastic cycle, we iterate through starting with j = 1,...,q, 5
where j = 0 is the cyclical noise: [ ] [ ][ ] [ ] (j) (j) (j−1) ψ cosλ sinλ ψ ψ t+1 = ρ t + t (8) ψ +(j) −sinλ cosλ ψ +(j) ψ +(j−1) t+1 t t [ ] [ ] [ ] (0) ψ κ κ t = t and t ∼ N(0,σ2 I ) (9) ψ +(0) κ+ κ+ t,κ 2 t t t As for the trend and idiosyncratic cyclical components, the volatility σ2 is stochastic and time t,κ varying and follows equations (5) - (7) by removing dependence on an series index i and for z = κ. The coefficient ρ controls the width of the frequency band of the filter in the band pass filter representation. (1) (1) (1) In addition to parameters controlling stochastic volatilities K , K and K we estimate the η ε κ drift parameter for the GDP, µ , set the drifts for PCE and unemployment rate at zero with µ = 0 3 1 and µ = 0, and estimate the parameters controlling the common cycle λ ∈ (0,π), ρ ∈ (−1,1), 2 ξ ≥ 0, δ . Further restrictions on ξ make its estimation difficult in order to satisfy the i=2,3 i=2,3 condition −0.5π < ξ λ < 0.5π that directly depends on the parameter λ. As an alternative, we i define a new parameter ω = ξ λ ∈ (−0.5π,0.5π) that replaces ξ during the model estimation. i i i SimilartoCrealetal.(2010)wedonotestimatetheprobabilityoftheregimeswitchespandset it to one of the values commonly found in the literature 3%, 5% and 10% due to data limitations and a short sample size. Most importantly, we allow for stochastic volatility in all studied series and estimate all parameters controlling the volatility of volatility in the high states for trend, cycle and idiosyncratic cyclical components. 3.2 Alternative Model Specifications 3.2.1 Multivariate Models Our benchmark model, CKZ-SV, presented in Section 3.1, includes stochastic volatility for all studied series, which poses a question whether certain constraints might be beneficial in addressing potentialoverfittinginperformingout-of-sampleforecasts. Ourmodelofchoicerestrictsparameter p = 0.03 following Creal et al. (2010), since the parameter is only weakly identified using the short quarterly series available for the estimation. The first alternative, called CKZ-UR (unrestricted CKZ) is directly based on the Creal et al. (2010)specificationwithstochasticvolatilityinthePCEandGDPseriesandwithconstantvolatility for the unemployment series, hence setting up the restrictions σ2 = σ2 for z ∈ {η,ε} in the 2,t,z 2,z CKZ-SV model. However, in contrast to Creal et al. (2010) who calibrate the parameters that control the volatility of volatility in K , we estimate these parameters. i,t,z The second alternative, which we refer to as CKZ is directly based on Creal et al. (2010) 6
specification with stochastic volatility in the PCE and GDP series and with constant volatility for the unemployment series. Volatility of volatility parameters K in this model take the same i,t,z values given in Creal et al. (2010): K = 0.05, K = 0.001 for i = 1,3, and K = 0.05. i,t,ε i,t,η t,κ The third alternative, called MUC-SV-BP, is a version of the CKZ-SV model that imposes even further restrictions with stochastic volatility present only in the PCE series and in the common cyclical component. Finally, the fourth alternative, called MUC-BP assumes a common cyclical componentwithnostochasticvolatilityandconstantvolatilityacrossallcomponentsforallstudied series. 3.2.2 Univariate Models In this study, we consider a variety of unobserved component (UC) models, first introduced by Harvey (1985) to decompose time-series data into cyclical and trend components using a Kalman filter, and generalized later to accommodate several salient features of the data. Among these extensions, we note the unobserved component model with stochastic volatility (UCSV) proposed by Stock and Watson (2007), the UC model with auto-regressive cyclical component (UC-0), and the UC model with both auto-regressive cyclical components and correlated innovations, the “unrestricted” UC model (UC-UR), developed by Morley, Nelson and Zivot (2003). Details of these models are available in the Appendix. In addition, we also present results for the univariate version of the CKZ model, the UC-BP model, that was first introduced by Harvey and Trimbur (2003). In the model each of the series is estimated in isolation and with no stochastic volatility. Since each class of univariate models allows to account for different features of the data like stochastic volatility (UCSV), persistence of cyclical component (UC-0 or UC-UR), instantaneous correlation between trend and cycle innovations (UC-UR), or a band-pass based cycle (UC-BP) with a varying degree of parametrization, we also investigate if optimal model pooling improves forecasting performance. We follow model pooling introduced in Amisano and Geweke (2017) and dynamically change optimal model weights according to ∑t ∑n w = argmax log w p(y |ys−1,M ) (10) t t,j i,s i j s=1 j=1 ∑ where w = {w ,...,w } ≥ 0, n w = 1, n = 5 is a number of univariate models in the t t,1 t,n j=1 t,j pool, M is a jth univariate model, and p(y |yt−1,M ) is a marginal likelihood evaluated at time t j i,t i j given model M . We discuss the evaluation of the marginal likelihood in the fully Bayesian context j in the following Section 3.3. 7
3.3 Online Parameter Estimation and Forecasting Since our models clearly fit into the state-space modeling framework, we use Bayesian estimation methods specifically designed to account for both parameter and state uncertainty. As shown in Section 4, addressing parameter uncertainty is an important feature that can significantly affect model ability for out-of-sample forecasts especially for the multivariate models. The reason for its importance stems from the relatively limited number of observations for macroeconomic variables with quarterly or monthly data frequencies that translate into higher parameter uncertainty the hence forecast uncertainty. However, due to computational difficulties, parameter uncertainty is rarely accounted for in the trend-cycle decomposition problems and the parameter estimation is frequently applied only once using all available observations. Such approach naturally imposes significant out-of-sample biases on the derived forecast evaluation measures. Inthispaperweaddressbothoftheseissuesandperformanonlineestimationofparametersand states jointly. Recent advances in Bayesian literature and sequential Monte Carlo methods make such estimation feasible. In this work we utilize the SMC2 online estimation algorithm of Chopin et al. (2013) and apply the PMCMC estimation method of Andrieu et al. (2010) to rejuvenate the filter particles. To initialize the estimation we use the batch estimation method of Duan and Fulop (2015), which proved to enforce stability when the total number of observations used is very small. The output from the SMC2 algorithm consists of a sequence of filtered distributions of parameters and states approximated with M parameter particles with their respective weights (θ1:M,w1:M). t Θ,t Foreachofthem-thparameterparticlewithm ∈ (1,...,M), thereareN associatedstateparticles along with their respective weights (xm,1:N,wm,1:N). The SMC2 method is summarized below as t t Algorithm 1. We use the first 50 observations spanning dates from 1960:Q1 to 1972:Q1, which we treat as a training sample, to estimate all models using the Duan and Fulop (2015) method. Since the method provides the smoothed distribution of parameters and states, we use it as an input for the on-line estimation method of Chopin et al. (2013) for the rest of the sample up to 2023:Q2. We pick M = 1024 and N = 8192 to obtain a high degree of precision. Our forecasts are performed along with the iterations of the SMC2 algorithm for k ∈ {1,2,4,8} quarters ahead. The forecast density for horizon k formulated at time t for model M is given as j p(y |yt,M ) = ∫ i ∫ ,t+k i j p(y i,t+k |x i,t+k ,θ t (j) )p(x i,t+k |x i,t+k−1 ,θ t (j) )···p(x i,t+1 |x i,t ,θ t (j) )p(x i,t |y i t,θ t (j) )dp(θ t (j)|y i t) (11) Θ(j) x wherethefirstintegrationisreplacedbyafinitesumoverthetimetfilteredparameterparticles,the second integration is replaced by a finite sum over the respective filtered and propagated particles (j) up to time t+k given the parameters. The dependence on model M is explicit through θ and j t 8
Algorithm 1 SMC2 estimation algorithm for a joint state and parameter inference. Require: Start at time t = 0 with M parameter parameter particles {θm} , each assot m∈(1,...,M) ciated with N state particles xm,1:N ≡ {xm,n} , m ∈ (1,...,M). f denotes the state t t n∈(1:N) θ t m evolution pdf and g denotes the observation equation pdf for parameters θm. θm t t for do t ∈ (1,...,T) for do m ∈ (1,...,M) for do n ∈ (1,...,N) sample xm,n ∼ f (x | xm,n) t θm t t−1 wm,n ← g (y | xm,n) t θm t t end for xm,1:N ∼ resample(xm,1:N,wm,1:N) t ∑ t t ωm ← ωm · N wm,n Θ,t Θ,t−1 n=1 Θ,t end for if degeneracy condition for parameter weights ω1:M ≡ {ωm } is satisfied then Θ,t Θ,t m∈(1:M) (θ1:M,x1:N,1:M,w1:M,1:N) ∼ rejuvenate(θ1:M,x1:M,1:N,w1:M,1:N) t t t t t t ω1:M ← 1 Θ,t end if end for its parameter support Θ(j). It is important to note that our analysis differs significantly from that of Creal et al. (2010) since we formulate our forecasts with no look-ahead bias and re-estimate parametersateachtimeincrementthankstotheSMC2 pseudo-onlineestimationmethoddiscussed above. 3.4 Priors The multivariate models that we study are richly parameterized. We impose priors along with restrictions on parameter supports in our estimation. The goal is to ensure stability and allow for maximum extraction of information content from the data in the estimation process. Thus, for some parameters we have fairly loose but informative priors, while for the rest the priors are practically uninformative, as shown in Table 1. For the multivariate models, the parameter set, Θ, includes location, scale, and autocorrelation parameters. We picked uninformative log normal priors for scale parameters, σ2 and K2, where i,z z z ∈ {ε,η,κ}andi ∈ {1,2,3}. Forlocationparametersweimposeduninformativenormalpriors. For the models with a common cycle, we rescale parameters λ and ω by π. We define an uninformative i beta prior for λˆ with a beta prior that imposes a mode length of business cycle corresponding to about 20 quarters periodicity. Finally, for the univariate models for the parameters common to the multivariate setting we pick the same priors. The uninformative priors for the parameters controlling the AR specification for UC-UR and UC-0 models are shown in the last two rows of Table 1. 9
Table 1: Priors for model parameters Models Param. Distr. Hyperparam. CKZ-SV CKZ-UR MUC-SV-BP MUC-BP UC-UR K Uniform (1e−5,1) Y Y Y ε K Uniform (1e−5,1) Y Y Y η K Uniform (1e−5,1) Y Y Y κ σ2 lognormal (0, 1) Y: i=2 Y: i=2,3 Y: i=1,2,3 Y i,ε σ2 lognormal (0, 1) Y: i=2 Y: i=2,3 Y: i=1,2,3 Y i,η σ2 lognormal (0, 1) Y κ ρ Uniform (0, 0.99) Y Y Y Y λˆ Beta (2.64, 15.06) Y Y Y Y µ Normal (1, 1) Y: i=3 Y: i=3 Y: i=3 Y: i=3 Y i δ Normal (0, 1) Y: i=2,3 Y: i=2,3 Y: i=2,3 Y: i=2,3 i ωˆ Uniform (1e−5,1.5) Y: i=2,3 Y: i=2,3 Y: i=2,3 Y: i=2,3 i ϱ Uniform (-1, 1) Y i ϕ Uniform (-1, 1) Y i This table reports prior distributions imposed on the set of parameters in each estimated model. λˆ = λ/π and ωˆ = ω /π are the scaled versions of λ and ω, respectively. The UC-SV and UC-UR models are discussed in the i i Appendix. The parameters for the UC-SV model overlap with the multivariate stochastic volatility models. The parameters for the univariate models should be estimated separately for each data set i. What distinguishes our approach from that in Creal et al. (2010) is that we allow for a free estimationofparametersrelatedtothevolatilityofvolatilityK , anddonotimposeaninformative z δ prior assuming their values. Hence, we directly account for additional source of parameter uncertainty present in the unrestricted versions of the model like CKZ-SV and CKZ-UR. 4 Empirical Findings In this section, we summarize the empirical results from fitting the benchmark CKZ-SV model and alternative models to the data. We first discuss parameter estimates and informativness of priorsforthebenchmarkmodel. Wethencompareforecastingresultsacrossestimatedmultivariate and univariate models estimated with either fully Bayesian or MLE methods. Finally, we compare trend-cycle decompositions stemming from the studied multivariate and univariate models. 4.1 CKZ-SV Benchmark Model Parameter Estimates We discuss parameter estimates of the benchmark CKZ-SV model. Factor loadings δ filtered i=2,3 mean estimates, shown in the top panel of Figure 2, suggest that the dependence of GDP and UNRATEonthecommoncycleincreasedintimeandalmosttripledsincetheearly1970s. However, there are several instances of abrupt decrease in the factor loadings during crisis periods. The most notabledecreasesinthefactorloadingscanbeassociatedwiththeGFCandCOVIDperiods, where 10
factor loadings sharply decreased by two- and three-fold, respectively. The sharp declines suggest that the changes in cyclical component were, in relative terms, mostly contributing to changes in PCE rather than GDP and UNRATE at these times. Phase shift parameter ξ filtered mean estimates are presented in the middle panel of Figure i=2,3 2. The values of phase shift parameters represent leads (positive values) or lags (negative values) of the common cycle, measured in quarters, in explaining GDP (left chart) and UNRATE (right chart) with the phase shift set at 0 for PCE. Unlike the factor loadings, the phase shift parameters showed stable estimates through time with more abrupt changes present in the recessions (marked in grey). Similar to the factor loadings, the phase shift parameters for both GDP and UNRATE showedsharpdeclinesduringtheGFCandCOVIDperiods. Therelationwasclosetoinstantaneous during the GFC period and instantaneous during the COVID period, rather than leading relative to PCE. A plausible explanation is a need to explain sharp PCE movements during the GFC and COVID periods by the common cycle that coincided with the movements in GDP and UNRATE. In other times, however, the common cycle affected GDP and UNRATE about two quarters before affecting PCE. The last row of Figure 2 shows filtered mean estimates of parameter λ, λˆ, further reparameterized as 2π/λˆ to interpret the values as the typical length of the business cycle discussed in Section 3.1. The mid-length of business cycle showed an increasing trend from the 1970s up to the GFC, reaching values of about 75 quarters, and then from the GFC up to the COVID period, reaching values of about 110 quarters. Most notably, the mid-length of the common cycle dropped significantly during the GFC and the COVID periods. The drop can be explained by the common cycle property of explaining high-frequency jump events. In Figure 3 we present prior distributions (dotted lines) and the full-sample posteriors for the (1) CKZ-SV model. The top row presents the results for the volatility of volatility parameters K , η (1) (1) K and K , respectively. As seen in the charts, the posterior distributions differ substantially ε κ from the assumed uninformative priors supporting our claim that the volatility of volatility parameters can be efficiently estimated in our sample. Similarly, the parameters ξ and δ i=2,3 i=2,3 governing the phase shift and factor loadings for GDP and UNRATE can be estimated with precision using uninformative priors. The same holds true for the parameter controlling the width of the frequency band of the common cycle. 11
Figure 2: Filtered Posterior Means of Common Cycle Parameters Factor Loading (GDP) Factor Loading (UNRATE) 3 −0.5 2 −1.0 1 −1.5 δ₂ δ₃ 1972 1984 1997 2009 2022 1972 1984 1997 2009 2022 Phase Shift (GDP) Phase Shift (UNRATE) 3 3 2 2 1 1 0 0 −1 ξ₂ ξ₃ −1 1972 1984 1997 2009 2022 1972 1984 1997 2009 2022 Cycle Bandwidth 100 75 50 25 2π/λ 1972 1984 1997 2009 2022 12
Figure 3: Prior and posterior distributions of estimated parameters for the benchmark model 0.0 0.5 1.0 )3(VS-ZKC 4 K1 K2 K3 2.0 3 2 1.5 2 1.0 1 1 0.5 0 0 0.0 0.0 0.5 1.0 0.0 0.5 1.0 −0.5 0.0 0.5 )3(VS-ZKC 𝜉 𝜉 1 2 2 2 1 1 0 0 −0.5 0.0 0.5 −1 0 1 2 3 )3(VS-ZKC 𝛿 𝛿 1 2 0.8 0.6 0.6 0.4 0.4 0.2 0.2 0.0 0.0 −3 −2 −1 0 1 0.0 0.5 1.0 )3(VS-ZKC 𝜆̂ 𝜌 3 4 2 2 1 0 0 0.0 0.5 1.0 The dashed lines represent the prior distributions for estimated parameters, while the histograms represent the porterior distributions. All results are based on 1024 parameter draws. Cloud sizes are M =1024 and N =8192, representing outside andstateclouds,respectively. 13
4.2 Comparison of Forecasting Performance 4.2.1 Forecasting Performance of Multivariate Models PanelAinTable2reportsfullyBayesianrootmeansquaredforecasterrors(RMSFE)forPCE,UN- RATE, and GDP based on SMC2 algorithm and online forecasting paradigm, for forecast horizons k = 1,...,8, across all multivariate models described in Sections 3.1 and 3.2.1. Table 2: Root Mean Squared Forecast Errors: multivariate models Panel A: SMC2 estimation, with parameter uncertainty k CKZ-SV CKZ-UR CKZ MUC-BP-SV MUC-BP 1 1.8590 1.8712 1.9849 1.9204 2.1381 PCE 2 2.0505 2.0531 2.2283 2.1194 2.5338 4 2.2665 2.3075 2.4928 2.4815 3.3841 8 2.6621 2.6714 2.8154 2.9127 4.9543 1 0.6012 0.5630 0.5617 0.5578 0.7339 UNRATE 2 0.8007 0.8453 0.8215 0.8522 1.1691 4 1.1824 1.2661 1.2413 1.2935 1.8716 8 1.6501 1.7106 1.7172 1.7793 2.8217 1 0.9484 1.1047 0.9849 1.1151 1.3456 GDP 2 1.4140 1.6837 1.4725 1.6630 1.9664 4 2.1615 2.5870 2.2881 2.5192 3.0117 8 3.3047 3.7507 3.5019 3.6391 4.5975 Panel B: MLE Estimation, no parameter uncertainty 1 2.0060 1.9331 2.0133 1.9747 2.1176 PCE 2 2.1254 2.0716 2.2402 2.1641 2.4659 4 2.3455 2.3214 2.5215 2.5444 3.1955 8 2.8810 2.7879 2.8129 2.9463 4.5274 1 0.6694 0.5825 0.5698 0.5973 0.6976 UNRATE 2 0.8354 0.7961 0.8074 0.8925 1.0536 4 1.1793 1.1997 1.1992 1.3350 1.5995 8 1.7312 1.6705 1.5942 1.8331 2.7121 1 1.0838 1.0383 1.0065 1.1917 1.2527 GDP 2 1.5418 1.5953 1.5374 1.7497 1.7518 4 2.4188 2.5409 2.4164 2.6765 2.5780 8 4.0756 4.1354 3.8279 4.0695 4.2092 The table shows the root mean squared forecast errors for models estimated with the SMC2 method that acounts forparameteruncertainty(PanelA)andestimatedwiththeMLEmethodwithnoparameteruncertainty(PanelB). The results are presented for all considered multivariet specifications discussed in Section 3.2.1 and for all studied macroeconomic series of PCE, UNRATE and GDP. Starting with PCE results in Table 2, we notice that our benchmark CKZ-SV model yields forecast improvements compared to the baseline CKZ, and all other multivariate models across all forecast horizons. We note that while the benchmark CKZ-SV model outperforms the CKZ-UR model, RMSFEs of these two models are very close for PCE forecasts. Since equation (7) imposes the same restrictions on all three variables, this may force the CKZ-SV and CKS-UR estimations to be close, resulting in no apparent gains from spillovers from UNRATE volatility of volatility to 14
other variables. In comparison to other multivariate models, CKZ-SV clearly and unambiguously yields better forecasts. We next turn to UNRATE forecast results. The benchmark CKZ-SV model dominates other multivariate models and yields smaller RMSFEs for k = 2,...,8. For k = 1, CKZ-UR, CKZ, and MUC-BP-SV models outperform the benchmark slightly. Finally, for GDP the benchmark CKZ- SV model yields smaller RMSFEs compared to all other multivariate models studied and across all forecast horizons. We notice that the relative performance (in terms of RMSFE) of the benchmark CKZ-SV compared to other models, especially the baseline CKZ model, generally improves as k increases. This observation generally holds across all three variables considered. Parameter uncertainty induces fatter tails in forecast densities for variables. We believe that the benchmark model, given the presence of the stochastic volatility components and the resulting additional flexibility, is better suited to handle draws from such regions as forecast horizon increases, helping in higher forecast precision. In Panel B of Table 2, we report the RMSFEs based on full information maximum likelihood estimations for all time t for the same models studied in Panel A. In this exercise, there is no parameter uncertainty by construction, and the point estimates of parameters are used. When comparing RMSFEs across models and forecast horizons k in Panels A and B, it is easy to see that MLE-based RMSFEs are generally much larger than their SMC2 counterparts. In particular, fully Bayesian benchmark CKZ-SV model RMSFEs are uniformly smaller than their MLE counterparts, and by a wide margin. This pattern holds for other multivariate models when forecasting PCE and UNRATE. There two exceptions for GDP: CKZ-UR (only for smaller forecast horizons) and MUC-BP maximum likelihood-based RMSFEs are smaller than their fully Bayesian counterparts. The fact that MUC-BP does not feature a stochastic volatility component and the unrestricted nature of CKZ-UR (thus, a relatively higher burden to identify dynamics from a relatively smooth variable) are likely to contribute to these results. In addition, we present in the Appendix alternative CKZ-SV(p) model forecasting results for different values of parameter p that was set at 3% in the benchmark model (we use CKZ-SV(3) and CKZ-SV notation interchangeably). While, in general, the CKZ-SV(3) benchmark model performs overall best for UNRATE and GDP series, it can potentially further be improved by choosing a higher probability of high volatility of volatility states for PCE with the best performance for 10% level. We leave further improvements of the CKZ-SV specification for future research. 4.2.2 Forecasting Performance of Univariate Models In Table 3 we report RMSFEs for all univariate results discussed in Section 3.2.2. It is immediately clear that except for two cases where forecast horizon is k = 8, the UC-SV model yields the 15
lowest RMSFEs across all three variables and forecast horizons. Thus, it appears that including a stochastic volatility component in the standard Harvey (1985) and Stock and Watson (2007) UC model, materially improves it’s forecast ability for important macroeconomic variables. Table 3: Root Mean Squared Forecast Errors: univariate models Panel A: SMC2 estimation, with parameter uncertainty k UC UC-0 UC-UR UC-BP UC-SV Pool 1 1.9170 1.9451 1.9397 1.9187 1.8748 1.8652 PCE 2 2.0707 2.1022 2.0939 2.0731 2.0294 2.0254 4 2.3731 2.3954 2.3894 2.3582 2.3208 2.3159 8 2.6440 2.6784 2.6720 2.5977 2.8105 2.6096 1 0.6454 0.6372 0.7076 0.6733 0.6614 0.5951 UNRATE 2 0.9324 0.9218 1.0558 0.9930 0.8806 0.8579 4 1.3647 1.3455 1.5556 1.4181 1.2695 1.2774 8 1.9464 1.9040 2.2204 1.8707 1.8329 1.8858 1 1.1572 1.1460 1.1999 1.2173 1.1740 1.0361 GDP 2 1.6411 1.6371 1.6882 1.7892 1.6331 1.5027 4 2.4608 2.4704 2.5100 2.8513 2.4562 2.3119 8 3.6895 3.7234 3.6989 4.5607 3.8729 3.6179 Panel B: MLE Estimation 1 1.9160 1.9406 1.9401 1.9267 1.8762 1.8662 PCE 2 2.0697 2.1044 2.0984 2.0905 2.0302 2.0271 4 2.3770 2.3982 2.3967 2.3349 2.3312 2.3166 8 2.6409 2.6910 2.6897 2.5096 2.6095 2.5126 1 0.6381 0.6356 0.7189 0.6715 0.6951 0.5791 UNRATE 2 0.9251 0.9200 1.0794 0.9908 0.8997 0.8376 4 1.3589 1.3460 1.5965 1.4261 1.2730 1.3538 8 1.9444 1.9101 2.2630 1.8818 1.8249 1.9094 1 1.1395 1.1403 1.1876 1.2084 1.1617 1.0095 GDP 2 1.6195 1.6268 1.7002 1.7635 1.6301 1.5015 4 2.4310 2.4615 2.5889 2.7812 2.4587 2.4098 8 3.6403 3.7222 3.8481 4.3969 3.9385 3.7143 ThistablereportsfullyBayesianrootmeansquaredforecasterrors,basedonSMC2 algorithm,forunivariatemodels introduced in Section 3.2.2. The column labeled as “Pool” reports RMSFE for optimally pooled combinations of all estimated univariate models, closely following Amisano and Geweke (2017). Among others, Amisano and Geweke (2017) have shown that univariate forecasts of macroeconomic variables could be improved by optimally pooling forecasts of many models, as described in Section 3.2.2. The final column in the table reports RMSFE for such optimally pooled forecasts. We note that these optimal pooled forecasts consistently yield RMSFEs that are smaller than the best individual univariate models’ RMSFEs. Based on the evidence from studies such as Andreou et al. (2013) and Jahan-Pavar and Lang (2024), we know that in a simple model averaging exercise, the averaged RMSFEs are not necessarily smaller than all estimated models, but they are more 16
stable. In other words, for a sample {y }T , there exists a “best” model that outperforms the i,t t=1 averaged forecast in terms of RMSFE, while we do not observe a similar pattern for optimally pooled Bayesian forecasts. The superior performance of optimally pooled forecasts (compared to optimally averaged forecasts) stems from the way that univariate models receive a weight in optimal pooling exercises. Figure 4 reports the weights assigned to each univariate model. As expected, the UC-SV model typically receives a high optimal weight in the pooling procedure, closely followed by the UC-UR model of Kamber et al. (2018) and the UC-BP model of Harvey and Trimbur (2003). These are extreme-case models: UC-UR allows for correlation between trend and cyclical components of the variable, while the flexibility of the band-pass UC-BP admits dynamic adjustment of frequency bands associated with the cyclical component. In contrast to the multivariate estimation results reported in Table 2, the difference between fully Bayesian (Panel A in Table 3) and full-information maximum-likelihood (Panel B in Table 3) estimations of univariate model do not yield significantly different RMSFEs. The closeness of theseresultscouldbepartiallyduetothesmallnumberofparameterstobeestimatedinunivariate models, andthushigherprecisionofestimationandthuslessimpactfromaccountingforparameter uncertainty. 4.3 Comparing trend-cycle decomposition results As shown in Figure 1, the CBO estimates of output gap and cyclical unemployment fall within the 95 percent credible intervals of the cyclical components that we recover from applying the benchmark CKZ-SV model to the data. In comparison to a recent study by Barigozzi and Luciani (2023), our estimates do not point to a sustained positive output gap between 1999 and 2008. As with CBO and González-Astudillo (2019a) estimates, we find two positive output gaps in this time interval: one between mid-1990s and the 2001 recession, and the other between mid-2000s and 2008. In terms of magnitude, both are smaller than Barigozzi and Luciani (2023) estimates. That said, Figure 5 shows that among all multivariate models considered in our study, CKZ-SV yields cyclicalcomponents(outputgapsandunemploymentgaps)thatareclosertoBarigozziandLuciani (2023). Alternative models considered in our study yield output and unemployment gaps that differ markedly from CKZ-SV-based measures (see Figure 5), and are notably different from both CBO estimates and findings of studies such as Barigozzi and Luciani (2023). Alternative output (unemployment) gaps typically tend to dip (peak) more than the benchmark model in downturns, peak (dip) less in upturns, and rise (fall) much slower in expansions. As a result, these gaps typically underestimate (overestimate) positive (negative) output (unemployment) gaps compared to the benchmark CKZ-SV model. In comparison to the benchmark model, they generate relatively deep 17
Figure 4: Weights of univariate models in the forecast combination exercise The figure reports the evolution of weights assigned to each univariate model used in the forecast combination exercisedescribedinSection4.2.2. ThetoprowshowsresultsforPCE,themiddlerowforUNRATEandthebottom row for GDP series. negative output gaps and relatively large positive unemployment gaps. However, the behavior of alternativemodelsyieldscounter-intuitiveresultsduringtheCOVID-19pandemicwhenalternative models showed much smaller unemployment gaps implying inability to capture the abrupt turns in macroeconomic variables’ trends. Thus, if employed as policy tools, the failures of these alternative models could have serious implications. This observation validates and reinforces our earlier conclusions about the crucial importance of incorporating time-variation in volatility and careful 18
Figure 5: Comparison of trend-cycle decomposition of variables across multivariate models 1972 1984 1997 2009 2022 tnenopmoC dnerT Output 975 950 925 900 875 1972 1984 1997 2009 2022 tnenopmoC lacilcyC Unemployment Rate PCE 10.0 10 5 7.5 0 5.0 −5 −10 1972 1984 1997 2009 2022 1972 1984 1997 2009 2022 5 5.0 0 2.5 0 0.0 −5 −5 −2.5 −10 1972 1984 1997 2009 2022 1972 1984 1997 2009 2022 level data CKZ-SV(3) CKZ-UR(3) CKZ Thetoprowreportsthedataandextractedstochastictrendsforthreemultivariatemodelsstudiedinthispaper. Thebottom row does the same for the extracted cyclical components. The details of modeling choices are available in Section 3.1 and Section3.2.1. modeling of feedback channels and dependencies between macroeconomic variables. We now compare the trend-cycle decomposition of the data based on the univariate models discussed in Sections 3.2.2 and 4.2.2 with the benchmark model. Figure 6 displays these comparisons. It is immediately clear that output and unemployment gaps generated by the univariate methods severely underestimate peaks and troughs of the gap measures, both compared to the benchmark CKZ-SV model and to CBO estimates. The representative univariate methods displayed in Figure 6 are the UC-SV model of Stock and Watson (2007) and the UC-O model of Morley (2011). This comparison validates and reinforces our earlier conclusions about the crucial importance of using multivariate models and careful modeling of feedback channels and dependencies between macroeconomic variables. 19
Figure 6: Comparison of trend-cycle decomposition of variables across univariate models 1972 1984 1997 2009 2022 tnenopmoC dnerT Output 1000 950 900 1972 1984 1997 2009 2022 tnenopmoC lacilcyC Unemployment Rate PCE 10.0 10 5 7.5 0 5.0 −5 −10 1972 1984 1997 2009 2022 1972 1984 1997 2009 2022 5 5.0 3 0 0 2.5 −3 0.0 −5 −6 −9 −2.5 −10 1972 1984 1997 2009 2022 1972 1984 1997 2009 2022 level data CKZ-SV(3) UC-0 UC-SV Thetoprowreportsthedataandextractedstochastictrendsforthebenchmarkmultivariatemodelandtwounivariatemodels studied in this paper. The bottom row does the same for the extracted cyclical components. The details of modeling choices areavailableinSection3.2.2andtheAppendix. 20
5 Conclusion Inthisstudy,weproposeageneralizedmultivariateunobservedcomponentmodeltodecomposeand forecast U.S. output, unemployment, and inflation jointly. We expand and refine the multivariate unobserved components model proposed by Creal et al. (2010), by incorporating fully estimated SV components to induce estimation and forecasting flexibility–especially over periods of abrupt change, such as the COVID-19 pandemic–in all time series. The study exploits the capabilities of Chopin et al. (2013) SMC2 method and perform online forecasting. We document that the fully Bayesian estimation, accounting for both parameter and state uncertainty, consistently dominates forecasts produced by many alternative multivariate (such as Creal et al., 2010) and univariate (such as Stock and Watson, 2007 and Kamber et al., 2018) models. Moreover, using a filtering approach avoids the look-ahead bias problems inherent in smoother-based estimation (as in Li and Koopman, 2021), that use the full sample. In addition, we show that when using univariate models, an optimally pooled model (following Amisano and Geweke, 2017) outperforms individual constituent models. Our study explicitly incorporates relevant stylized facts about the United States macroeconomic data (comovements, nonstationarity, and the slow drift in long-run output growth over time). However, our method is a general estimation method suitable for various macroeconomic and financial time-series estimation, and is not tightly tailored and constrained for the specific application presented in the paper. 21
References Amisano, G., Geweke, J., 2017. Prediction using several macroeconomic models. The Review of Economics and Statistics 99, 912–925. Andreou,E.,Ghysels,E.,Kourtellos,A.,2013.Shouldmacroeconomicforecastersusedailyfinancial data and how? Journal of Business & Economic Statistics 31, 240–251. Andrieu, C., Doucet, A., Holenstein, R., 2010. Particle Markov Chain Monte Carlo Methods. Journal of the Royal Statistical Society Series B (Statistical Methodology) 72, 269–342. Barigozzi, M., Luciani, M., 2023. Measuring the Output Gap using Large Datasets. The Review of Economics and Statistics 105, 1500–1514. Baxter, M., King, R.G., 1999. Measuring business cycles: Approximate band-pass filters for economic time series. the Review of Economics and Statistics 81, 575–593. Beveridge, S., Nelson, C.R., 1981. A new approach to decomposition of economic time series into permanent and transitory components with particular attention to measurement of the ‘business cycle’. Journal of Monetary Economics 7, 151 – 174. Chopin, N., Jacob, P.E., Papaspiliopoulos, O., 2013. SMC2: An efficient algorithm for sequential analysis of state-space models. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 75, 397–426. Clark, T.E., 2011. Real-time density forecasts from bayesian vector autoregressions with stochastic volatility. Journal of Business & Economic Statistics 29, 327–341. Creal, D., Koopman, S.J., Zivot, E., 2010. Extracting a robust U.S. business cycle using a timevarying multivariate model-based bandpass filter. Journal of Applied Econometrics 25, 695–719. Dobrev, D., Hansen, D., Szerszen, P., 2022. Arandomizedmissingdataapproachtorobustfiltering and forecasting. URL: https://arxiv.org/abs/2104.14664, arXiv:2104.14664. Duan, J.C., Fulop, A., 2015. Density-Tempered Marginalized Sequential Monte Carlo Samplers. Journal of Business & Economic Statistics 33, 192–202. González-Astudillo, M., 2019a. Estimating the U.S. output gap with state-level data. Journal of Applied Econometrics 34, 795–810. González-Astudillo, M., 2019b. An output gap measure for the euro area: Exploiting country-level and cross-sectional data heterogeneity. European Economic Review 120, 103301. Grant, A.L., Chan, J.C., 2017. A Bayesian Model Comparison for Trend-Cycle Decompositions of Output. Journal of Money, Credit and Banking 49, 525–552. Hamilton, J.D., 2018. Why you should never use the hodrick-prescott filter. the Review of Economics and Statistics 100, 831–843. Harvey, A.C., 1985. Trends and cycles in macroeconomic time series. Journal of Business & Economic Statistics 3, 216–227. 22
Harvey, A.C., Trimbur, T.M., 2003. General model-based filters for extracting cycles and trends in economic time series. the Review of Economics and Statistics 85, 244–255. Hodrick, R.J., Prescott, E.C., 1997. Postwar U.S. Business Cycles: An Empirical Investigation. Journal of Money, Credit and Banking 29, 1–16. Jahan-Pavar, M.R., Lang, W.J., 2024. Which daily equity returns improve output forecasts? Economics Letters 243, 111897. Justiniano, A., Primiceri, G.E., Tambalotti, A., 2013. Is there a trade-off between inflation and output stabilization? American Economic Journal: Macroeconomics 5, 1–31. Kamber, G., Morley, J.C., Wong, B., 2018. Intuitive and Reliable Estimates of the Output Gap from a Beveridge-Nelson Filter. The Review of Economics and Statistics 100, 550–566. Li, M., Koopman, S.J., 2021. Unobserved components with stochastic volatility: Simulation-based estimation and signal extraction. Journal of Applied Econometrics 36, 614–627. Morley, J.C., 2011. Thetwointerpretationsofthebeveridge-nelsondecomposition. Macroeconomic Dynamics 15, 419–439. Morley, J.C., Nelson, C.R., Zivot, E., 2003. Why Are the Beveridge-Nelson and Unobserved- Components Decomposition of GDP so Different? the Review of Economics and Statistics 85, 235–243. Panovska, I., Ramamurthy, S., 2022. Decomposing the output gap with inflation learning. Journal of Economic Dynamics and Control 136, 104327. Shackleton,R.,2018.EstimatingandProjectingPotentialOutputUsingCBO’sForecastingGrowth Model. TechnicalReportWorkingPaper2018-03.CongressionalBudgetOffice.Washington,D.C. Stock, J.H., Watson, M.W., 2007. Why Has U.S. Inflation Become Harder to Forecast? Journal of Money, Credit and Banking 39, 3–33. 23
Appendix Univariate State-Space Models UC and UCSV Models The UC model of Harvey (1985) decomposes a time series into the trend component, x , driven by t permanent shocks, and a cyclical component, η , driven by transitory shocks. The UCSV model t of Stock and Watson (2007) further extends the UC specification by adding stochastic volatility components to the trend and the cycle. The UCSV model for a time series i can be defined as: y = x +η i,t i,t i,t x i,t = µ i( +x i,t−1) +ε i,t η ∼ N 0,σ2 i,t ( i,t,η) ε ∼ N 0,σ2 i,t ( i,t,ε ) logσ2 ∼ N logσ2 ,K2 i,t,η ( i,t−1,η i,η) logσ2 ∼ N logσ2 ,K2 i,t,ε i,t−1,ε i,ε fort = 1,...,T,wherey isthedecomposedtime-series,andwhereσ andσ arethestochastic i,t i,t,η i,t,ε volatilitycomponentsofthetrendandthecycle,respectively. TheparametersK > 0andK > 0 i,ε i,η control volatility of volatility. The innovations propagating stochastic volatility are mutually and serially independent. The standard UC model does not include stochastic volatility components and uses the restrictions σ2 = σ2 and σ2 = σ2 to impose time-invariant volatilities. The i,t,η i,η i,t,ε i,ε parameters (K2 , K2 ) and the parameters (σ2 ,σ2 ) for the UCSV and UC models, respectively, i,ε i,η i,η i,ε are unknown and estimated. UC-UR and UC-0 Models Morley et al. (2003) propose the unrestricted unobserved component (UC-UR) model to reconcile differences in trend-cycle decomposition of real GDP implied by the UC model and Beveridge and Nelson (1981) approach. The UC-UR model allows for autocorrelated cyclical components. It also introduces correlations between innovations for trend and cycle components. The following state-space specification characterizes the UC-UR trend-cycle decomposition for a time-series i: y = x +η i,t i,t i,t x i,t = µ i( +x i,t−1 +ε i,t ) η i,t ∼ N ( ϕ i,1 η i,)t−1 ,σ i 2 ,η ε ∼ N 0,σ2 i,t i,ε ϱ i = corr(ε i,t ,η i,t −ϕ i,1 η i,t−1 ) where the overlapping notation matches the preceding section. The parameter ϱ ∈ (−1,1) controls i the correlation between innovations of trend and cycle components. The parameter ϕ induces 1 autocorellation in the cyclical component and satisfy the stationarity condition |ϕ | < 1. The i,1 UC-0 model is a constrained version of UC-UR, where ϱ = 0. i 24
Multivariate Models: Probability of High Volatility States Table 4: Root Mean Squared Forecast Errors and Probability of High Volatility States MUC-SV-BP CKZ-UR CKZ-SV k 0.03 0.05 0.10 0.03 0.05 0.10 0.03 0.05 0.10 1 1.9204 2.0228 1.8716 1.8712 1.8526 1.8527 1.8590 1.8569 1.8389 2 2.1194 2.1991 2.0324 2.0531 2.0397 2.0121 2.0505 2.0419 1.9994 PCE 4 2.4815 2.6989 2.2785 2.3075 2.2620 2.2423 2.2665 2.2939 2.2239 8 2.9127 3.5445 2.5842 2.6714 2.6438 2.5968 2.6621 2.7933 2.6585 1 0.5578 0.5735 0.8228 0.5630 0.5363 0.5466 0.6012 0.5506 0.5870 2 0.8522 0.8733 1.1994 0.8453 0.7983 0.7960 0.8007 0.7829 0.7748 UNRATE 4 1.2935 1.4145 1.5082 1.2661 1.2253 1.1996 1.1824 1.2108 1.1581 8 1.7793 2.5100 1.7248 1.7106 1.7265 1.6589 1.6501 1.7683 1.6423 1 1.1151 1.1799 1.6471 1.1047 0.9778 0.9487 0.9484 0.9630 0.9332 2 1.6630 1.7503 2.2205 1.6837 1.4900 1.4833 1.4140 1.4858 1.4572 GDP 4 2.5192 2.9118 2.8134 2.5870 2.3227 2.3427 2.1615 2.3083 2.3220 8 3.6391 5.2008 3.6038 3.7507 3.4372 3.6489 3.3047 3.4018 3.5981 ThetableshowstherootmeansquaredforecasterrorsformodelsestimatedwiththeSMC2 methodacrossdifferent values of paramater p in equation (7). The results are presented for multivariate specifications discussed in Section 3.2.1 and for all studied macroeconomic series of PCE, UNRATE and GDP. 25
CKZ-UR Model Parameter Full-Sample Posteriors Figure 7: Prior and posterior distributions of estimated parameters for the unrestricted Creal, Koopman and Zivot (2010) model. 0.0 0.5 1.0 RU-ZKC K1 K2 K3 3 3 4 2 2 2 1 1 0 0 0 0.0 0.5 1.0 0.0 0.5 1.0 −1 0 1 2 3 RU-ZKC 𝛿 𝛿 1 2 1.0 2 0.5 1 0.0 0 −1 0 1 −0.5 0.0 0.5 RU-ZKC 𝜉 𝜉 1 2 3 4 2 3 2 1 1 0 0 −0.5 0.0 0.5 0.0 0.5 1.0 RU-ZKC 𝜆̂ 𝜌 6 4 5 3 4 3 2 2 1 1 0 0 0.0 0.5 1.0 The dashed lines represent the prior distributions for estimated parameters, while the histograms represent the porterior distributions using all observations. Cloud sizes are M =1024 and N =8192. 26
Cite this document
Mohammad R. Jahan-Parvar, Charles Knipp, & and PaweÅ J. SzerszeÅ (2024). Trend-Cycle Decomposition and Forecasting Using Bayesian Multivariate Unobserved Components (FEDS 2024-100). Board of Governors of the Federal Reserve System, Finance and Economics Discussion Series. https://whenthefedspeaks.com/doc/feds_2024-100
@techreport{wtfs_feds_2024_100,
author = {Mohammad R. Jahan-Parvar and Charles Knipp and and PaweÅ J. SzerszeÅ},
title = {Trend-Cycle Decomposition and Forecasting Using Bayesian Multivariate Unobserved Components},
type = {Finance and Economics Discussion Series},
number = {2024-100},
institution = {Board of Governors of the Federal Reserve System},
year = {2024},
url = {https://whenthefedspeaks.com/doc/feds_2024-100},
abstract = {We propose a generalized multivariate unobserved components model to decompose macroeconomic data into trend and cyclical components. We then forecast the series using Bayesian methods. We document that a fully Bayesian estimation, that accounts for state and parameter uncertainty, consistently dominates out-of-sample forecasts produced by alternative multivariate and univariate models. In addition, allowing for stochastic volatility components in variables improves forecasts. To address data limitations, we exploit cross-sectional information, use the commonalities across variables, and account for both parameter and state uncertainty. Finally, we find that an optimally pooled univariate model outperforms individual univariate specifications, and performs generally closer to the benchmark model.},
}