scieee AI-readable full text Open interactive document viewer

Multiple filtering devices for the estimation of cyclical DSGE models

Canova, Fabio,Ferroni, Filippo

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Canova, Fabio; Ferroni, Filippo Article Multiple filtering devices for the estimation of cyclical DSGE models Quantitative Economics Provided in Cooperation with: The Econometric Society Suggested Citation: Canova, Fabio; Ferroni, Filippo (2011) : Multiple filtering devices for the estimation of cyclical DSGE models, Quantitative Economics, ISSN 1759-7331, The Econometric Society, New Haven, CT, Vol. 2, Iss. 1, pp. 73-98, https://doi.org/10.3982/QE36 This Version is available at: https://hdl.handle.net/10419/150317 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by-nc/3.0/ Quantitative Economics 2 (2011), 73–98 1759-7331/20110073 Multiple filtering devices for the estimation of cyclical DSGE models Fabio Canova ICREA-UPF, CREI, CREMeD, and CEPR Filippo Ferroni Banque de France We propose a method to estimate time invariant cyclical dynamic stochastic general equilibrium models using the information provided by a variety of filters. We treat data filtered with alternative procedures as contaminated proxies of the relevant model-based quantities and estimate structural and nonstructural parameters jointly using a signal extraction approach. We employ simulated data to illustrate the properties of the procedure and compare our conclusions with those obtained when just one filter is used. We revisit the role of money in the transmission of monetary business cycles. Keywords. DSGE models, filters, structural estimation, business cycles. JEL classification. C32, E32. 1. Introduction Dynamic stochastic general equilibrium (DSGE) models have become the paradigm for business cycle and policy analyses in academic and policy circles. Relative to earlier structures, current models are of larger scale and feature numerous real and nominal frictions that help to closely replicate the dynamic responses that structural vector autoregressions (VARs) produce. A few years ago it was standard to informally calibrate these models, but today, increased computing power and recent developments in systemwide estimation methods allow researchers to routinely employ full information techniques in structural estimation exercises. Despite the increased popularity, structural estimation faces important conceptual and numerical problems. For example, as emphasized in Canova (2009), full informaFabio Canova: [email protected] Filippo Ferroni: [email protected] We thank two anonymous referees and an editor of the journal for detailed comments, and Don Harding, Adrian Pagan, Anton Braun, Vasco Carvalho, Kris Nimark, the participants of the Central Bank workshop “Macroeconomic Modeling 2008,” Cartagena, Colombia, of the CEMLA meeting of researchers, Lima, Peru, and of seminars at CREI, the Czech National Bank, BIS and the Australian Reserve Bank, and Bank of Italy for suggestions. The financial support of the Spanish Ministry of Education, through the Grant SEJ-2006-02235, the Spanish Ministry of Science and Technology, through the Grant ECO2009-08556, and of the Barcelona Graduate School of Economic is gratefully acknowledged. The views presented in this paper do not reflect those of the Banque de France. Copyright ©2011 Fabio Canova and Filippo Ferroni. Licensed under the Creative Commons AttributionNonCommercial License 3.0. Available at http://www.qeconomics.org. DOI: 10.3982/QE36 74 Canova and Ferroni Quantitative Economics 2 (2011) tion classical estimation makes sense only if the model is the data generating process (DGP) of the observables, up to a set of serially uncorrelated measurement errors. Since such an assumption is hard to entrain unless the model is augmented with ad hoc dynamics, Fukac and Pagan (2010) suggested to complement standard inference with a more robust limited information analysis. It is also well known that there are abundant population identification problems (see Canova and Sala (2009), Del Negro and Schorfheide (2008)), that numerical difficulties are widespread, and that errors-invariables are present (the variables in the model do not often have a direct counterpart in the data). Finally, the vast majority of the models used in the literature are time invariant and intended to explain only the cyclical portion of the observable fluctuations, while the actual data contain many types of fluctuations, all of which may be subject to breaks and other forms of slowly moving variations. To fit stationary cyclical DSGE models to the data, applied investigators typically select a subsample where time invariance is more likely to hold, filter the raw data with an arbitrary statistical device, and treat the filtered data as the relevant measure of stationary cyclical fluctuations (see, e.g., Smets and Wouters (2003), Ireland (2004)). Alternatively, one arbitrarily builds a noncyclical component into the model (e.g., via a deterministic labor augmenting technology progress or unit roots in total factor productivity and/or the price of investment) and filters the raw data using a model-driven transformation (see, e.g., Fernandez-Villaverde and Rubio-Ramirez (2007)orJustiniano, Primiceri, and Tambalotti (2011)) or an arbitrary statistical device (see Smets and Wouters (2007)). Both approaches are, in general, problematic. While the profession shares the idea that a cyclical model should explain fluctuations with an average periodicity of 8–32 quarters, there is little agreement on how to obtain these fluctuations from the data and only a partial understanding of the consequences that statistical filtering induces. For example, it is common to use linearly detrended or first differenced data as input in the estimation process, but such transformations do not isolate fluctuations with the required periodicity (see, e.g., Canova (1998)). A band pass (BP) filter, which can potentially extract the fluctuations of interest with an infinite amount of data, is typically discarded in the estimation literature because its two-sided nature alters the timing of the data information; a similar argument is also made for the Hodrick and Prescott (HP) filter. Moreover, while real variables typically show long run drifts, nominal variables just display low frequency fluctuations. Hence, should we filter all the data or only real variables? Investigators have taken both positions, but it is not obvious which approach is preferable. Finally, since researchers filter each series separately, theoretically relevant constraints may not be satisfied with filtered data (for example, does a resource constraint hold with filtered data?). Model-driven filtering also fails to extract cycles with the required periodicity. For example, when total factor productivity (TFP) is trending, real variables share similar trends and appropriate linear combinations should be free of noncyclical dynamics. However, as shown in Canova (2008), real and nominal “great ratios” display significant upward drifts and the portion of the variance of the transformed variables located outside the cyclical frequencies is generally large. Most problematic of all, model-based filtering requires knowledge of the number, the nature, and the time series features of the Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 75 shocks driving the noncyclical component. Given our general ignorance on the subject, important specification errors may plague structural estimates. Since solving this complex mismatch problem is difficult, this paper focuses on how to improve structural estimation of the parameters of a cyclical DSGE model when a statistical filtering approach is used to match the data to the model counterparts. We make three contributions to the existing literature. First, we show that a typical log-linearized DSGE model produces cyclical fluctuations which are not necessarily located at the socalled business cycle frequencies. Thus, standard filtering approaches induce measurement errors in the estimated cyclical components. Since these errors have important low frequency components, the true income and substitution effects are mismeasured, leading to distortions in the estimates of important structural parameters. Second, we show how to design a statistical filter which captures the cyclical component of a DSGE model. This filter is model specific and the computational complexities involved make its practical implementation unfeasible on current computers. Third, we propose a method to estimate the structural parameters of a time invariant cyclical DSGE model which may potentially eliminate the biases that statistical filters produce. The approach borrows ideas from the recent data-rich environment literature (see Boivin and Giannoni (2005)). We set up a signal extraction framework where the cyclical DSGE is the unobservable factor; vectors of filtered data are contaminated observable proxies, and DSGE and nonstructural parameters are jointly estimated. Our approach is advantageous in at least two respects. Since we do not have to arbitrarily choose one filtering method prior to the estimation or select which shock drives the noncyclical component, we avoid important specification errors. Moreover, our method can be used with cyclical data, which are obtained with one-sided and twosided filters, of both univariate and multivariate nature, as long as the list of filters is sufficiently rich. For the approach to work properly, the list of filters should be carefully chosen and suggestions on how to do this in practice are provided. We investigate the properties of our approach using experimental data of the typical length employed in macroeconomics and demonstrate that the biases obtained when just one filter is used are reduced with our approach. We also show that the unconditional one-step-ahead mean square error (MSE) produced by our approach is smaller than the MSE obtained with standard procedures and that conditional forecasts are better behaved. To show that the biases are also economically relevant, we revisit the role of money in amplifying cyclical fluctuations. The recent literature has neglected the stock of money when studying monetary business cycles, and Ireland (2004) demonstrated that such an approach is, by and large, appropriate using U.S. data, standard filtering techniques, and a maximum likelihood estimator. We show that when multiple filtered data are jointly used in the estimation, money balances matter for the transmission of cyclical fluctuations to output and inflation, and the propagation of primitive shocks differs from the one obtained when only one data transformation is used. We want to be clear why we insist on working with time invariant cyclical models, rather than considering structures where cyclical and noncyclical fluctuations are jointly accounted for. On one hand, constructing reasonable models with these features is hard: 76 Canova and Ferroni Quantitative Economics 2 (2011) theory is largely silent on how cyclical shocks can be propagated at longer frequencies (exceptions are Comin and Gertler (2006)orMichelacci and Lopez-Salido (2007)) or how long run disturbances can produce important cyclical implications. Moreover, it is convenient for both policy and interpretation purposes to assume that the mechanisms driving cyclical and noncyclical fluctuations are distinct and orthogonal. Finally, breaks make the data largely uninformative about the features of noncyclical fluctuations. The rest of the paper is organized as follows. The next section shows the problems one encounters using a single filter to estimate the parameters of DSGE models. Section 3derives the features of an optimal filter. Section 4presents our approach. Section 5 examines the role of money in transmitting monetary business cycles. Section 6concludes. The Appendixes are available in the Supplemental Material (Canova and Ferroni (2011)). 2. Statistical filters and structural parameter estimates To show that statistical filtering induces important measurement errors in the estimated cyclical components and to investigate how these errors affect structural estimates, we simulate data from a textbook new-Keynesian model (see, e.g., Gali (2008)), where agents face a labor–leisure choice, production is carried out with labor, firms face an exogenous probability of price adjustments, and monetary policy is represented with a conventional Taylor rule. The equilibrium conditions are 0=χt(Ct−hCt−1)−σc−Lt(1) 0=Nσn t−Lt Wt Pt (2) 1=EtβLt+1 Lt Rt Πt+1(3) 0=Et∞  k=0 Pt+kLt+k PtLt (βζp)k (4) ×1−t+k+MCr t+kt+k Pt Pt+k(α−1−αt+k)/(1−α)Yt+k(j) 1=ζpPt−1 Pt1−t +(1−ζp) Pt Pt1−t1/(1−t) (5) Yt=Ct(6) Nt=Yt Zt1/(1−α) 1 0Pt(j) Pt−t/(1−α) dj (7) MCr t=Wt Pt1 Zt1/(1−α) Yα/(1−α) t1 0Pt(j) Pt−tα/(1−α) dj (8) Rt=Rρr t−1π(1−ρr)ρπ tY(1−ρr)ρy tvt(9) Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 77 where his the consumption habit coefficient, σcis the risk aversion coefficient, 1/σnis the Frisch elasticity, βis the discount factor, 1−αis the share of labor in production, 1−ζpis the probability of changing prices, and ρπ,ρy,andρrare the parameters of the monetary policy rule; Ltis the Lagrangian on the consumer budget constraint, Yt is aggregate output, Yt(j) is output of good j,Ntis aggregate hours, Wtis the nominal wage, Rtis the nominal interest rate, πtis the inflation rate, Ptis the price level, Pt(j) is the price of good j,MC r tis aggregate real marginal costs, and  Ptis the optimal price; χtis is a preference shock, Ztis a technology shock, tis a markup shock, and vtis a monetary policy shock. The first equation equates the marginal utility of consumption to the Lagrangian; the second equation relates the intertemporal rate of substitution between leisure and consumption to the real wage, and the third equation is a pricing relationship for one period real bonds. The next equation is a Phillips curve. Equation (5) describes the behavior of the aggregate price level. Equations (6), (7), and (8)definethe resource constraints, aggregate hours, and real marginal costs. The last equation is the policy rule of the central bank. A full description of the model and the log-linearized conditions are given in Appendix A. For the sake of illustration, we consider two situations. In the first one, lnχt= ρχlnχt−1+et,whereet∼N(0σ2 χ);lnt=+1− μt,whereμt∼N(0σ2 μ),lnvt∼ N(0σ2 v),andZt=ZtcZtT ,wherelnZtT =γt +etT with etT ∼N(0σ2 ZT )and lnZtc =ρzln Zt−1c +etc with etc ∼N(0σ2 Zc)(DGP1). In the second case χt=χtcχtT , where ln χtc =ρχln χt−1c +etc with etc ∼N(0σ2 χc);lnχtT =ln χt−1T +etT with etT ∼N(0σ2 χT );lnt=+1− μt,whereμt∼N(0σ2 μ),lnvt∼N(0σ2 v),andln Zt= ρzlnZt−1+et,whereet∼N(0σ2 Z)(DGP2). Thus, in both specifications, there are four shocks driving cyclical (stationary) fluctuations and one shock driving noncyclical (nonstationary) fluctuations. However, in DGP1, noncyclical fluctuations are driven by a technology shock which is stochastic around a linear trend; in DGP2, they are driven by a preference shock that displays a unit root. For both DGPs, we set β=099, σc=100,h=070,σn=070,=70,ρr=02,ρπ=130,ρy=005,ζp=08,ρχ=05, ρz=08,σv=00012,andσμ=02064. In DGP1, we select α=04,σχ=00112,γ=0002, σZT =0003,andσZc =00051;inDGP2,α=00;σZ=00051,σχc =00112,and σχT =00012. None of the points we make, however, depends on the choice of these parameters. Table 1presents a few moments of filtered output and filtered inflation when linear (LT), Hodrick and Prescott (HP), band pass (BP), and first order difference (FOD) filtering are used together with the moments of their true cyclical component, when T=1000— this sample size effectively reduces small sample biases to zero. Clearly, regardless of the DGP, the variability, the serial, and the cross-correlation properties of the cyclical component of output and inflation are distorted. Also, although output displays a linear trend under DGP1 and a unit root under DGP2, LT filtering in DGP1 and FOD filtering in DGP2 are as biased as other arbitrary filtering approaches. Thus, misspecification of the noncyclical component cannot be the reason for these distortions. Finally, although DGP2 features a unit root, the raw inflation series is persistent but stationary. Hence, it will matter for structural estimation whether the model is fitted to filtered or unfiltered inflation. 78 Canova and Ferroni Quantitative Economics 2 (2011) Table 1. Moments of filtered and true cyclical components: simulated data.a DGP1 DGP2 Variable Filter St. Dev. AR(1)corr(yπ) St. Dev. AR(1)corr(y π) Output LT 0.0486 0.925 0.864 0.0123 0.911 −0.196 HP 0.0366 0.876 0.834 0.0065 0.691 −0.288 BP 0.0377 0.908 0.939 0.0060 0.859 −0.553 FOD 0.0188 0.608 0.513 0.0052 0.100 −0.029 True 0.0295 0.914 0.728 0.0082 0.811 −0.324 Inflation LT 0.0043 0.703 0.0100 −0.005 HP 0.0037 0.602 0.0095 −0.083 BP 0.0034 0.873 0.0050 −0.810 FOD 0.0033 −0.138 0.0138 −0.495 True 0.0022 0.590 0.0098 0.005 aAll variables are filtered prior to estimation. The sample size is T=150. To show how filtering errors affect parameter estimation, we take the experimental data for output, real wages, interest rates, and inflation constructed with DGP2 and estimate the structural parameters by prefiltering the raw data with LT, HP, BP, and FOD filters. Estimation is conducted with Bayesian methods: we choose relatively loose priors for all the parameters and, to give the routine the best chance, we start estimation at the true parameter values. Posterior estimates are obtained with a random walk Metropolis algorithm, where the jumping variable has a t-distribution with 5 degrees of freedom and the variance is tuned to have an acceptance rate of about 30 percent for each filtering approach. Half a million draws were made in each case; convergence was checked with a standard CUMSUM statistic and achieved after less than 250,000 iterations. We keep 1 out of 100 of the last 100,000 draws to compute posterior statistics. Results obtained with a flat prior are available on request from the authors. Table 2reports the median and the standard deviation of the posterior of each structural parameter when all observables are independently filtered prior to estimation. Appendix B contains estimates for other relevant cases and other DGPs. There are important estimation biases in all cases and the magnitude of the bias can exceed 100 percent for some parameters. Interestingly, the parameters that regulate the relative magnitude of income and substitution effects (the Frisch elasticity σ−1 n, the habit parameter h, the policy parameter ρπ, and the persistence of the shocks) are considerably distorted. Estimates of the structural parameters appear to be relatively similar across three of the columns, but this outcome depends on the features of the DGP, in particular, on whether the noncyclical component is driven by technology or preference disturbances, on the relative variability of the noncyclical shocks, and on whether all observables or only a portion of them are filtered prior to estimation (see Appendix B). While we have chosen to perform estimation using 150 data points to mimic a realistic estimation situation, larger samples will not change the conclusions. Thus, distortions obtain because of “population” rather than “small sample” errors. Similarly, allowing for measurement errors in the estimation will not change the features of Table 2: Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 79 Table 2. Parameter estimates obtained using different filters. The DGP features a preference shock with two components: a stationary AR(1)and a unit root.a Filter LT HP FOD BP True Prior [Mean and s.d.] Median (s.e.) Median (s.e.) Median (s.e.) Median (s.e.) σc1.00 (0101)[100100]3.77 (0.25) 4.38 (0.36) 2.21 (0.16) 5.23 (0.24) σn0.70 (0505)[10040]0.28 (0.05) 0.13 (0.02) 0.04 (0.00) 0.06 (0.01) h0.70 B(103)[076011]0.58 (0.03) 0.61 (0.06) 0.69 (0.03) 0.85 (0.05) 7.00 N(605)[600050]3.95 (0.13) 3.95 (0.13) 4.05 (0.13) 3.96 (0.13) ρr0.20 B(106)[071009]0.30 (0.01) 0.27 (0.01) 0.39 (0.01) 0.59 (0.02) ρπ1.30 N(1502)[150020]1.71 (0.06) 1.60 (0.05) 1.79 (0.06) 1.50 (0.05) ρy0.05 N(0402)[040020]−0.03 (0.01) −0.12 (0.03) 0.01 (0.00) −0.04 (0.01) ζp0.80 B(66)[050014]0.83 (0.03) 0.82 (0.03) 0.80 (0.03) 0.93 (0.03) ρχ0.50 B(106)[071009]0.61 (0.03) 0.33 (0.02) 0.62 (0.05) 0.61 (0.04) ρz0.80 B(106)[071009]0.72 (0.04) 0.54 (0.04) 0.24 (0.03) 0.70 (0.03) σχc 1.11 −1(1020)[0005600020]0.14 (0.02) 0.18 (0.16) 0.21 (0.05) 0.23 (0.43) σz0.51 −1(1020)[0005600020]0.15 (0.03) 0.27 (0.04) 3.87 (0.42) 1.72 (0.22) σv0.12 −1(1020)[0005600020]0.03 (0.00) 0.03 (0.00) 0.03 (0.00) 0.03 (0.00) σμ20.64 −1(1020)[0005600020]7.31 (0.35) 4.90 (0.39) 4.96 (0.19) 5.77 (0.23) aAll variables are filtered prior to estimation. The sample size is T=150.stands for the gamma distribution, Bfor the beta distribution, and Nfor the normal distribution. In square brackets are the mean and the standard deviation of the prior. the variability of the structural shocks is altered, but the magnitude and the direction of the biases in the estimates of important structural parameters are unchanged (for both exercises, see Appendix B). To understand why distortions occur, it is useful to plot the spectral density of the cyclical component of output and inflation (obtained by setting γ=σzT =0for DGP1 or σχT =0for DGP2 in the simulations) together with the spectral density of the four filtered data when T=1000. If one filtering transformation recovers the true cyclical component, the difference between the two spectra will be zero at all frequencies. Imperfect isolation in certain frequency bands will be evident when the two spectra differ considerably in those bands. To facilitate the discussion, we divide the spectrum into low, business cycle, and high frequencies, and, in Figure 1, we separate the frequencies that correspond to cycles of 8–32 quarters from the others with two vertical bars. Two observations are immediate. First, the cyclical component produced by a DSGE model does not have power only at the so-called business cycle frequencies; in fact, its spectrum resembles that of an AR(1)process. For the standard shock processes we have used, about half of the variability of the series is located at frequencies that correspond to cycles larger than 32 quarters. Thus, the idea that a statistical filter defines what is relevant for the analysis is incompatible with the assumption that a class of stationary DSGE models has generated the data. Moreover, focusing on business cycle frequencies is restrictive and may bias the interpretation of the economic phenomena. Second, even with 1000 data points, all filters imperfectly capture the spectrum of the true cyclical component of output and inflation. More importantly, regardless of the DGP, the filtering error is not 80 Canova and Ferroni Quantitative Economics 2 (2011) Figure 1. Log spectrum: true and estimated cyclical components. Top panel DGP1; bottom panel DGP2. located only in the high frequencies and its frequency distribution is somewhat filter dependent. For example, LT filtered data have a stronger low frequency component and the other three filtered data have a weaker low frequency component than the actual cyclical data. At business cycle frequencies, the cyclical component extracted with HP, BP, and LT filters overestimates the true cyclical component of both variables, while FOD filtered data grossly underestimate the variability of the true cyclical component. Why are errors present? The statistical filters we consider look like high pass or band pass filters. Thus, they appropriately extract the cyclical component of the data if and only if the noncyclical component of the model is solely located at those frequencies that are suppressed by the filters and the cyclical component is entirely located at the frequencies where the gain function of the filter is unity. Given that the cyclical component generated by a (log-linear) DSGE model will typically have power at all frequencies of the spectrum, filtering errors are created. In particular, since all the filters but LT attribute the power in low frequencies to the noncyclical component, important downward distortions are created at these frequencies. For the LT filter instead, upward distortions are produced because the stochastic elements of the noncyclical component Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 87 Figure 2. Autocorrelation functions of estimated and true cyclical components. autocorrelation function and the autocorrelation function obtained with LT and FOD approaches (see Figure 2). For output, the autocorrelation function obtained with our specifications is very close to the true one and it is different from the one obtained, for example, with the FOD filter. For inflation, the match is good, but differences with standard methods are less dramatic, primarily because true inflation persistence is low. The good performance of our approach is reinforced when we look at the responses of the endogenous variables to the four structural shocks. Figure 3presents the responses produced with the true parameters, those generated with the posterior median estimates obtained with our model, and those generated with LT and FOD filtered data. Both the shape and the persistence of the conditional responses are reasonably captured by our setup. In addition, and contrary to what was happening with LT and FOD filters, the real wage response to technology has the right sign on impact. Finally, our estimates roughly replicate the magnitude of the responses to both preferences and technological disturbances, while this is not the case with standard approaches. Next, we examine the out-of-sample performance of our setup relative to traditional ones. We conduct two types of forecasting exercises. In the first, we compute the sequence of one-step-ahead forecast errors for output and inflation, when we take as parameter values the posterior median estimates and set all the shocks in the forecasting period to zero. The MSE is computed over 150 forecasting periods, with no parameter updating in the forecasting sample; the results appear in Table 4. Figure 4traces out the one-step-ahead path of cyclical output and cyclical inflation that would obtain with posterior median estimates when monetary shocks were drawn so as to keep the nominal interest rate fixed over the forecasting path—a standard assumption in policy projections. That is, we allow the nominal interest rate to endogenously react to output and inflation, but make sure that the monetary shocks are such that the nominal rate is 88 Canova and Ferroni Quantitative Economics 2 (2011) Figure 3. Impulse responses to shocks. constant over the forecasting path and equal to the value taken prior to the forecasting period (time 0 in the Figure 4). Overall, our specification is superior to single filtering approaches in unconditionally forecasting one-step-ahead cyclical output and cyclical inflation, and for output, the reduction in MSE is considerable. Our specification does well also in conditional forecasting. The counterfactual path for output that our specification produces is very close to the true one at all horizons, and practically eliminates the systematic bias that LT and FOD filters generate. For inflation, the counterfactual path produced by our model is similar to the true path; it is significantly better than the path obtained with FOD estimates, but roughly comparable to the one produced by LT estimates. Since these conclusions hold also for alternative DGPs and combinations of filtered and unfiltered observables, the specification is effective in reducing low frequency meaTable 4. Mean square error of the unconditional forecasts: simulated data; scale 10−2. Series LT FOD Factor 1 Output 0.006 0.003 0.001 Inflation 0.030 0.031 0.029 Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 89 Figure 4. One-step-ahead forecasts, conditional on a constant interest rate path. surement errors and can provide a more reliable picture of the cyclicality of the variables of interest. 5. Does money matter in transmitting monetary business cycles? To show that our procedure may be relevant for understanding important economic phenomena, we reconsider the role of money in transmitting monetary business cycles. The majority of the monetary models nowadays used in the policy and academic literature attribute a minimal role to the stock of money. In most cases, these models make no reference whatsoever to monetary aggregates, and when they do, they use a specification where a money demand function determines how much money needs to be supplied, given predetermined levels of output, inflation, and the nominal rate. Ireland (2004) constructed a specification in the class of new-Keynesian models where real balances may influence the dynamics of output and inflation. He estimated the relevant parameters by likelihood techniques using post 1980 U.S. data and found that current theoretical practices are, by and large, appropriate. To construct the likelihood of his cyclical model, Ireland took away a linear trend from per capita gross domestic product (GDP) and per capita real balances, and demeaned inflation and the nominal interest rate. Here, we repeat Ireland’s exercise using a number of filtering procedures. 90 Canova and Ferroni Quantitative Economics 2 (2011) 5.1 The model economy Since the economy is quite standard, we only briefly describe its features. At each t,the representative household maximizes Et t βtχtUctMt ptet−ηnt(12) where 0<β<1,η>0, subject to the sequence of budget constraints Mt−1+Trt+Bt−1+Wtnt+Dt=ptct+Bt Rt +Mt(13) where ctis consumption, ntare hours worked, ptis the price level, Mtare nominal balances, Wtis the nominal wage, and Btare one period nominal bonds with gross nominal interest rate Rt;Tr tare lump sum nominal transfers made by the monetary authority at the beginning of each t,andDtare nominal dividends distributed by the intermediate firms; χtand etare disturbances to preferences and the money demand whose properties are described below. Let mt≡Mt ptdenote real balances and let πt≡pt pt−1denote the period tgross inflation rate. The representative final good producing firm uses yi tunits of intermediate good i, purchased at the price pi t, to manufacture ytunits of final goods according to the constant returns to scale technology yt=[ 1 0(yi t)(−1)/ di]/(1−),where>1is the constant price elasticity of demand for each intermediate good. Profit maximization produces the demand functions yi t=pi t pt− yt(14) Competition within the sector implies that pt=(1 0(pi t)1−di)1/(1−). The intermediate good producing firm i∈[01]hires ni tunits of labor from the representative household to produce yi tunits of intermediate good iusing the production function yi t=ztni t,whereztis an aggregate productivity shock. Since intermediate goods substitute imperfectly for one another in producing finished goods, intermediate firms can set the price of their good but must satisfy (14)atthechosenprice. We assume a quadratic cost in adjusting prices—measured in finished goods—given by φ 2(pi t πspi t−1 −1)2yt,whereφ>0and πsmeasures steady state inflation. Optimal prices are chosen to maximize E t βtχtU1ctMt ptetDi t pt(15) subjectto(14), where βtχtU1(ctMt ptet)measures the marginal value to the household of an additional unit of profit tandrealdividendsareDi t pt=(pi t pt)1−yt−(pi t pt)−(wtyt zt)− φ 2(pi t πpi t−1 −1)2yt. Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 91 The monetary authority sets the nominal interest rate according to Rt=Rρr t−1y(1−ρr)ρy t−1π(1−ρr)ρπ t−1M(1−ρr)ρm tvt(16) where ρrρyρπρm≥0are parameters and vtis a monetary policy shock. The law of motion of the disturbances dt=(χtetztvt)is log dt=¯ d+Hlogdt−1+ιt, where His diagonal with entries ρχ,ρe,ρz,and0, respectively. The covariance matrix of the structural shocks Σis diagonal with entries σ2 χ,σ2 e,σ2 z,andσ2 v. In a symmetric equilibrium, yi t=yt,ni t=nt,pi t=pt,andDi t=Dt. Log-linearizing the model around the steady state produces the equilibrium conditions ˆ yt=Etˆ yt+1−ω1(( ˆ Rt−Etˆπt+1)−(ˆχt−Etˆχt+1)) (17) +ω2(( ˆ mt−ˆ et)−(Etˆ mt+1−Etˆ et+1)) ˆ mt=γ1ˆ yy−γ2ˆ Rt+(1−(Rs−1)γ2)ˆ et(18) ˆπt=βEtˆπt+1+ψ1 ω1 ˆ yt−ω2 ω1 (ˆ mt−ˆ et)−ˆ zt(19) ˆ Rt=ρrˆ Rt−1+(1−ρr)ρyˆ yt−1 (20) +(1−ρr)ρπˆπt−1+(1−ρr)ρm( ˆ mt+ˆπ)+ˆ vt where ω1=− U1csms es ysU11csms pses(21) ω2=−ms es U12csms es ysU11csms es(22) γ1=Rs−1+ysrsω2 msγ2 ω1(23) γ2=Rs (Rs−1)(ms/es)⎛ ⎜ ⎜ ⎝ U2csms es (Rs−1)esU12csms es−RsU22csms es⎞ ⎟ ⎟ ⎠(24) ψ=−1 φ(25) the superscript sdenotes steady state values of the variables, Ujis the first derivative of Uwithrespecttoargumentj=12,andUij is the second order derivative of U,i j =12. The log-linearized Euler condition (equation (17)) includes terms that involve real money balances and the money demand shocks. They drop out if and only if utility 92 Canova and Ferroni Quantitative Economics 2 (2011) is separable in consumption and real balances (see equation (22)). Similarly, real balances play a role in the forward looking Phillips curve (equation (19)) as long as ω2= 0. Thus, real balances directly affect the determination of output and inflation if and only if real balances and consumption enter nonseparably in the utility function. On the other hand, the posited policy rule implies that the growth rate of nominal balances may influence output and inflation indirectly via interest rate determination. When ω2=ρm=0, real balances have no direct or indirect role in propagating cyclical fluctuations. 5.2 Estimation We estimate the model with quarterly U.S. data spanning the period 1959:1–2008:2. All data come from the FRED data bank at the Federal Reserve Bank of Saint Louis and it is seasonally adjusted. For real GDP, we take the GDPC96 series, which is a chain weighted real value of domestic production, convert it into per capita terms by dividing it by the civilian noninstitutional population age 16 and over (CNP16OV), and log it. For real balances, we use the stock of money M2 (M2SL), divide it by the GDP deflator (GDPDEF), convert it into per capita terms by scaling it by the civilian noninstitutional population age 16 and over, and log it. Inflation is calculated by annualizing the quarterly growth rate of the GDP deflator and a three month T-bill (TB3M) is our measure of interest rates. We employ eight procedures to extract the cyclical component of all variables. The first (POLY) fits a second order polynomial to each series separately, allowing for a change in the parameters at 1980:3. The cyclical component is the residual of the regression. The second transformation takes the first difference of each series (FOD) as an estimate of the cyclical component. The third and the fourth transformations are obtained with a HP filter and λ=1600 or λ=128000; the latter leaves cycles with 2– 100 quarters of periodicity almost unchanged. The fifth transformation takes the first cumulant of all series as an estimate of the cyclical component (CUM). The sixth transformation is a multivariate version of the Beveridge and Nelson decomposition (MBN) which fits a VAR with six lags to the growth rate of the four variables and, as an estimate of the cyclical component, takes the difference between the level of the variables and their estimated long run values. The seventh transformation is a classical decomposition (CD) which assumes an additive representation of the components, fits a linear trend to the log data, and takes the residuals as the cyclical component. The last transformation employs an unobservable component (UC) decomposition which assumes that the noncyclical component is a random walk and that the cyclical component has a trigonometric representation (see Canova (2007)). Since each series has an autoregressive integrated moving average (ARIMA) (210)representation, the cyclical component is estimated with the projected values of an AR(2)regression of the growth rate of each variable. We have selected these procedures to introduce as much cross-sectional idiosyncrasy in the vectors of observables as possible. In fact, in some procedures the noncyclical component is quasi-deterministic (CD, POLY), in some it is very volatile (FOD, UC, MBN), and in some it is stochastic but smooth (HP); most decompositions use univariate and one (MBN) uses multivariate information; most imply that cyclical and noncyclical components are independent and one implies that they are correlated (MBN). Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 93 Finally, some are two-sided (such as the HP filters) and some are one-sided (such as the MBN or UC filters). Note that as far as low frequency distortions are concerned, CD, POLY, CUM, and HP128,000 are likely to overestimate the low frequency variability of the cyclical component, while the other four are likely to underestimate it. We estimate the parameters of the model by Bayesian methods. The priors are given in Appendix C. The vector of observables is 32 ×1(4 series, 8 filtering methods) and the vector of states is 4×1.Sincewesetβ=099 and steady state inflation to 2 percent, there are nine structural parameters (ω1ω2ψγ1γ2ρrρpρyρm)—and φare not separately identifiable—and seven auxiliary parameters (ρχρeρzσχσeσzσv)to be estimated. We parameterize the link between the model and the cyclical data with one intercept and one slope per filter, independent of the series, but we allow the idiosyncratic term to be series and filter dependent. Thus, the intercept measures the average (across series and time) bias of each procedure and the slope measures the average correlation between the data produced by each method and the relevant model-based quantities. Since we normalize the slope of the first procedure, we have a total of 47 nonstructural parameters to be estimated (8 intercepts, 7 slopes, and 32 variances).1 We also estimate the structural parameters of interest using Ireland’s original transformation, but allow for measurement error in each of the four equations; since our approach has an idiosyncratic error built in, this is the relevant setup for comparison. For both specifications, we draw 500,000 elements of a Markov chain Monte Carlo (MCMC) chain; convergence was achieved in less than 100,000 draws, and posterior statistics are computed using one out of every 100 of the last 200,000 draws. 5.3 The results Before presenting estimates of the relevant parameters, we briefly comment on the estimates of the nonstructural parameters we have obtained. First, the vector of ν0is estimated to be zero with very small standard errors—level biases appear to be absent. Since steady state information is not used in the estimation, the mean of the data may be different from the steady state of the model at the estimated parameters. The fact that this does not happen is encouraging from an estimation point of view. Second, the loadings νi 1vary from 0.70 (with UC filtered data) to 0.86 (with CD filtered data). Thus, all filtered series are highly correlated with the respective model quantities. Finally, standard errors for each series vary across filtering methods, confirming the presence of sufficient idiosyncratic information in the vector of cyclical data we employ. Table 5presents the marginal likelihood of the basic specification, where both the direct and the indirect effects are allowed for, and for three restricted specifications, where either the direct effect is eliminated (ω2=0), the indirect effect is eliminated (ρm=0), or both are eliminated, and the estimates of ω2and ρmare obtained in the various cases. For comparison, we 1We have also experimented with specifications which leave all the intercepts and all the slopes free or which restrict the variances of the idiosyncratic component to be either series specific (independent of the filtering method) or filter specific (independent of the series), but we discarded them because the model fit was relatively poor. 94 Canova and Ferroni Quantitative Economics 2 (2011) Table 5. Marginal log likelihood and posterior estimates. Specification Marginal Log Likelihood ω2ρm Basic 16,274 0.44 (0.02) 0.48 (0.02) ω2=016,237 0 0.96 (0.01) ρm=016,212 0.43 (0.02) 0 ω2=0,ρm=016,220 0 0 Ireland 0.03 (0.02) 0.04 (0.03) also report estimates obtained with Ireland’s filtering specification. The full set of estimates is provided in Appendix C. A model where both the direct and the indirect effects of money are present is preferable in terms of in-sample fit. Furthermore, restricting both ρm=0and ω2=0is preferable to restricting only ρm=0. Posterior estimates confirm this conclusions: both parameters are tightly estimated, are a posteriori different from zero, and indicate that money has a moderate influence on output and inflation fluctuations. Estimates obtained with just one filter, on the other hand, imply that both the direct and the indirect effects of money are statistically small and economically unimportant. Figure 5presents responses to unitary impulses in our basic specification and in Ireland’s. Responses look qualitatively similar, but differences in the magnitude and the persistence of the responses to shocks are evident. In particular, when our approach is used, the persistence of the responses to technology shocks is reduced, and the responses to money demand shocks have different magnitude and persistence. Interestingly, both specifications produce a liquidity puzzle (expansionary monetary shocks decrease real balances rather than increasing them) and a price puzzle (expansionary monetary shocks decrease inflation rather than increasing it). We conjecture that with a more homogenous sample, say 1984–2008, both puzzles would disappear. To sum up, in our setup money plays a role in transmitting fluctuations to output and inflation while this is not the case when a standard single filtering approach is used. Since the list of filters we have used can average out low frequency measurement errors, the conclusions obtained with our approach appear to be more credible. 6. Conclusions This paper has three parts. In the first, we show that standard filtering methods are unable to extract the cyclical component of a DSGE model and that measurement errors distorts estimates of the structural parameters. Biases obtain because a typical cyclical DSGE model produces time series with important low frequency components. These components are treated as noncyclical by leading filtering approaches. In the second part, we discuss how to construct a filter which takes into account the structure that a cyclical DSGE model imposes on the data. The derivation of this filter is theoretically straightforward, but it requires knowledge of the cyclical model that generates the data. Furthermore, computational complexities make its implementation on existing computers unfeasible. Quantitative Economics 2 (2011) Multiple filtering devices for DSGE estimation 95 Figure 5. Impulse responses. The third part proposes a method to estimate the structural parameters of a time invariant cyclical DSGE model which uses multiple sources of cyclical information. The approach borrows ideas from the recent literature that employs data-rich environments (see Boivin and Giannoni (2005)). We set up an estimation framework where the cyclical DSGE model is the unobservable factor, vectors of filtered data are contaminated observable proxies, and structural DSGE parameters are jointly estimated together with the nonstructural parameters that link the model and the observables using signal extraction techniques. Our approach is advantageous in at least two respects. Since we do not have to arbitrarily choose one filtering method prior to estimation or select which shock drives the noncyclical component, we avoid important specification errors. Moreover, our approach can be used with cyclical data obtained with one-sided and two-sided filters, of both univariate and multivariate nature, as long as the list of filters is sufficiently rich. When appropriate conditions are satisfied, low frequency errors can be averaged out, making inference more reliable. Using experimental data, we demonstrate that the biases obtained when just one filter is used are reduced, that the unconditional one-step-ahead mean square error (MSE) produced by our approach is smaller than the MSE obtained with a standard procedure, 96 Canova and Ferroni Quantitative Economics 2 (2011) and that conditional forecasts are better behaved. To show that the biases are also economically relevant, we revisit the role of money in transmitting monetary business cycles. We show that when the output of multiple filters is jointly used in the estimation, money balances statistically matter for the transmission of cyclical fluctuations to output and inflation, and that the propagation of primitive shocks differs. We want to reiterate two points which make alternatives to the procedure we present unpalatable. First, although nowadays popular, the approach of using modelbased transformation to fit cyclical models is as problematic as any statistical filtering approach. Specification errors are likely to be important. Moreover, since we can solve models only when noncyclical shocks affect the technology, the consumption/investment transformation frontier, or preferences (see Chang, Doh, and Schorfheide (2007)), computational rather than economic considerations may drive modelbased filtering. Thus, although some form of consistency between the model and the data is imposed, a great deal of arbitrariness is also present with this approach. Second, the more appealing approach of employing (time varying) models to jointly explain the cyclical and the noncyclical properties of the data is currently unfeasible. Many reasons make such a research program difficult to pursue. First, jointly modelling cyclical and noncyclical fluctuations poses important theoretical challenges: there are few known mechanisms which are able to propagate temporary shocks for a long period of time (we need, for example, R&D, as in Comin and Gertler (2006), or Schumpeterian creative destruction, as in Michelacci and Lopez-Salido (2007)) or to create important cyclical implications from long run disturbances. Second, to jointly account for both types of fluctuations, we need to measure the features of noncyclical dynamics. Relatively short reliable time series and breaks of various sorts make the data largely uninformative about these features. Third, although some progress in this respect has been reported by Fernandez-Villaverde and Rubio-Ramirez (2007), time varying structures are difficult to deal with in theory and hard to handle computationally. Given these problems, this paper provides a simple setup where specification and measurement error biases could be reduced. In this sense, the paper constitutes a step forward in improving the reliability of inferential exercises in DSGE models. References Boivin, J. and M. Giannoni (2005), “DSGE estimation with data rich environments.” Manuscript, University of Montreal. [75,85,95] Canova, F. (1998), “Detrending and business cycle facts.” Journal of Monetary Economics, 41, 475–512. [74] Canova, F. (2007), Methods for Applied Macroeconomic Research. Princeton University Press, Princeton, New Jersey. [83,85,92] Canova, F. (2008), “Bridging cyclical DSGE models and the raw data.” Manuscript, UPF. [74,85] Canova, F. (2009), “How much structure in empirical models?” In Palgrave Handbook of Applied Econometrics (T. Mills and K. Patterson, eds.), Palgrave Macmillan, Basingstoke, Hampshire, U.K. [73]