A Proposal for a Flexible Trend Specification in DSGE Models
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Slanicay, Martin Article A Proposal for a Flexible Trend Specification in DSGE Models Review of Economic Perspectives Provided in Cooperation with: Masaryk University, Faculty of Economics and Administration Suggested Citation: Slanicay, Martin (2016) : A Proposal for a Flexible Trend Specification in DSGE Models, Review of Economic Perspectives, ISSN 1804-1663, De Gruyter, Warsaw, Vol. 16, Iss. 2, pp. 73-85, https://doi.org/10.1515/revecp-2016-0006 This Version is available at: https://hdl.handle.net/10419/179850 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-nd/3.0/
REVIEW OF ECONOMIC PERSPECTIVES – NÁRODOHOSPODÁŘSKÝ OBZOR VOL. 16, ISSUE 2, 2016, pp. 73–85, DOI: 10.1515/revecp-2016-0006 © 2016 by the authors; licensee Review of Economic Perspectives / Národohospodářský obzor, Masaryk University, Faculty of Economics and Administration, Brno, Czech Republic. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution 3.0 license, Attribution – Non Commercial – No Derivatives. A Proposal for a Flexible Trend Specification in DSGE Models 1 Martin Slanicay 2 Abstract: In this paper I propose a flexible trend specification for estimating DSGE models on log differences. I demonstrate this flexible trend specification on a New Keynesian DSGE model of two economies, which I consequently estimate on data from the Czech economy and the euro area, using Bayesian techniques. The advantage of the trend specification proposed is that the trend component and the cyclical component are modelled jointly in a single model. The proposed trend specification is flexible in the sense that smoothness of the trend can be easily modified by different calibration of some of the trend parameters. The results suggest that this method is capable of finding a very reasonable trend in the data. Moreover, comparison of forecast performance reveals that the proposed specification offers more reliable forecasts than the original variant of the model. Key words: DSGE model, trend specification, Bayesian estimation JEL Classification: C51, C68, E32 Received: 12 June 2015 / Accepted: 31 August 2015/ Sent for Publication: 16 June 2016 Motivation DSGE models are models of the cyclical fluctuations of an economy, and most of them can therefore only be estimated on stationary data. However, most economic time series are non-stationary, contain trends or display breaks. This implies that these data must be transformed in order to make them stationary. There are many different approaches which try to extract trend components from the data, to make them stationary. However, each method extracts a different type of information from the data, and there is no professional consensus on what constitutes business cycle fluctuations. Detrending methods differ in their trend specifications as well as in the relationship they set up between trend and cyclical components. As a result, the stylized facts about the business cycle seem to differ substantially among detrending methods, even qualitatively (see Canova 1998). It seems that there is no general rule governing the transformation of 1 The first, six-page-long draft of this paper was presented at the MME 2012 conference and published in the conference proceedings, see Slanicay (2012). 2 Masaryk University, Faculty of Economics and Administration, Department of Economics, Lipová 41a, Brno 602 00, [email protected]
REVIEW OF ECONOMIC PERSPECTIVES 74 time series, and the suitability of each method depends on the particular situation and the research purpose. The goal of this paper is to propose a flexible trend specification for estimating DSGE models on log differences. I demonstrate this flexible trend specification on a New Keynesian DSGE model of two economies, originally presented in Kolasa (2009), which I estimate on data from the Czech economy and the euro area, using Bayesian techniques. Consequently, I compare the estimation results of this proposed flexible trend specification with the estimation results of other methods commonly used within DSGE models, namely with the results of (i) demeaned log differences (original specification of the model), and (ii) the Hodrick-Prescott filter. The rest of this paper proceeds as follows: the following section offers a review of the literature related to the issue of trend specification in DSGE models. Section 3 presents a non-technical overview of the model, while Section 4 discusses several issues related to the estimation of the model, namely: (i) the choice of the data, (ii) specification of the trends, and (iii) estimation results. In Section 5, I compare the estimation results from the proposed trend specification with results from the other methods. This comparison consists of a forecast performance comparison and an output gap comparison. Finally, Section 6 concludes. Literature Review There are essentially three possible approaches to the decomposition of time series into trend and cyclical components: (i) detrend the actual data, (ii) build-in a trend into the model, and (iii) use data transformations which, in theory, are likely to be void of noncyclical fluctuations. The first approach implies that the data are detrended out of the model and the model is then estimated on these detrended data. Mostly, these filtered trends are free of any economic interpretation. These methods are advantageous due to their universality and, in some cases (e.g. HP filter), simple implementation. On the other hand, one can argue that an arbitrary choice of a detrending method can significantly change the behaviour of the model, and the obtained results can substantially differ between different detrending methods (see Canova 1998, 2013). Moreover, many detrending methods are also applied on each time series individually, and these filtered trends can be inconsistent with each other. Canova and Ferroni (2011) propose a new method for estimating DSGE models based on combining the information provided by a variety of filters. They consider data filtered with alternative procedures as contaminated proxies of the relevant model-based variables, and estimate structural and nonstructural parameters jointly using a signal extraction approach. The second approach means that the data are detrended within the model. The advantage of this approach consists of the fact that the decomposition of the data into the trend and cyclical components is performed by the model itself. It means that the model itself decides which part of the data belongs to the trend component and which part belongs to the cyclical component. Nevertheless, there are still many issues which depend on the researcher’s choice, such as some assumptions about the trend specification or the relationship between the trend and cyclical components, which
Volume 16, Issue 2, 2016 75 make the previous objection concerning the arbitrary choice of detrending method still valid, if somewhat less so. It is often required that the trend components should satisfy a balanced growth path (henceforth BGP), which is a condition of long-term trend consistence that usually requires real variables, such as consumption, investment, output, real wage, etc. to have the same long-term growth rate. The BGP condition implies that some ratios, e.g. the consumption to output ratio or investment to output ratio, remain constant in the long run. Aguiar and Gopinath (2007) show that shocks to trend growth, rather than transitory fluctuations around a stable trend, are the primary source of fluctuations in emerging economies. This can be seen as an argument for explicit modelling of the trend component within the model. Andrle (2008) also argues in favour of incorporating explicit (possibly structural) assumptions of trend behaviour. He claims that permanent shocks influence business cycle behaviour and ad-hoc detrended models "must have hard times to explain the comovement of the data" (Andrle, 2008, p. 1). Brůha (2011) proposes a small labour market model where he jointly models the trends and the cycles in a way which is slightly similar to the approach proposed in this paper. Canova (2013) proposes a new method for estimating cyclical DSGE models using raw data. This method is based on a flexible specification of the trend, which does not require the cyclical component to be solely located at business cycle frequencies. The third approach is based on the fact that some transformations of the data may display fluctuations around a stable value, and after removing this stable value, which can be regarded as a steady state, the data may look stationary. A transformation of the data using log differences is very popular, where steady state values of these log differences can be interpreted as a steady state growth rate. For an example see Smets and Wouters (2003), where the ECB policy model is presented, or Adolfson et al. (2007), who present the "RAMSES" policy model of the Swedish central bank. Another popular method can be found in Cogley (2001) and McGrattan (2010). They suggest that the model be estimated using the data in the form of real "great ratios", i.e. shares of real consumption (investment, etc.) on the real GDP; this exploits the fact that these shares are very stable (in some countries). Therefore, after removing these shares' steady state values, the resulting deviations should look stationary. Similarly, Whelan (2006) suggests estimating the model using data in the form of nominal "great ratios", i.e. using the share of nominal consumption (investment, etc.) on the nominal GDP. The main pitfall of this method is that these ratios are not so stable in many countries, and the resulting deviations of these ratios from their "steady state" values therefore do not resemble stationary data at all. The method proposed in this paper combines some elements from the second and the third approaches. I use data transformation in the form of log differences, however, the trend component is explicitly specified within the model in the form of an AR1 process around the steady state.
REVIEW OF ECONOMIC PERSPECTIVES 76 Model This section briefly describes the model employed. It is a New Keynesian model of two economies, originally presented in Kolasa (2009). 3 Details of how the model was derived can be found in the Appendix, published on the journal's web-site. The model assumes that there are only two economies in the world: a domestic economy (represented by the Czech economy) and a foreign economy (represented by the euro area). The problematic fact that one economy is much smaller than the other is solved by parameter n , which governs the relative size of the two economies. The model assumes five types of representative agents in each economy. Households consume tradable and non-tradable goods produced by firms. There is an assumption of habit formation in consumption. Households trade bonds, too, and their intertemporal choice about consumption is influenced by preference shocks. Households supply labour and set wages on a monopolistically competitive labour market. Their labour supply is influenced by labour supply shocks, and their wage-setting is subject to a set of labour demand constraints and to the Calvo constraint on the frequency of wage adjustment (see Calvo, 1983). According to the Calvo constraint, each household resets its wage with probability W 1 and keeps its wage unchanged with probability W in every period. Households also accumulate capital, which they rent to firms. Capital accumulation is subject to investment-specific technological shocks and to adjustment costs. There are two types of firms in each economy: producers of tradable goods, and producers of non-tradable goods. Both of them employ a Cobb-Douglas production function with constant returns to scale. Productivity in both sectors is influenced by productivity shocks. Firms hire labour on the labour market and sell their goods on monopolistically competitive goods markets. They set prices on the goods market subject to a set of demand constraints and to the Calvo constraint on the frequency of price adjustment (see Calvo, 1983). According to the Calvo constraint, each firm resets its price with probability H 1 and keeps its price unchanged with probability H in every period. The fiscal authority collects lump-sum taxes and uses them for government expenditures and transfers to households, so that the state budget is balanced in each period. Government expenditures consist only of domestic non-tradable goods and are modelled as a stochastic AR1 process - a government expenditures shock. Given our assumptions about households, Ricardian equivalence holds in this model. The monetary authority follows a Taylor-type rule, and deviations from this rule are 3 I depart from the original specification of the model in several aspects; nonetheless, these modifications are generally minor. For the readers’ convenience, all of these modifications are mentioned in the Appendix, along with the description of the model. The Appendix can be read online, on the journal's web-site.
Volume 16, Issue 2, 2016 77 explained as monetary shocks. The model is closed with an assumption of a complete bond market and with an assumption of goods and labour markets clearing. The model's behaviour is driven by seven structural shocks in both economies: a productivity shock in the tradable sector and the non-tradable sector, a labour supply shock, an investment efficiency shock, a consumption preference shock, a government spending shock, and a monetary policy shock. Except for the monetary policy shock, which is modelled as an IID process, all the other shocks are represented by an AR1 process. I allow for correlations between innovations of corresponding shocks in both economies. Estimation Data and Trends The model is estimated using quarterly data from the Czech economy and the euro area 17 4 from the first quarter of 2000 to the first quarter of 2014. 5 The data series used were downloaded from the Eurostat web database. I use the following 14 time series (seven for each economy): real GDP ( y ), consumption ( c ), investment ( i ), HICP ( p ), real wage ( w ), short-term interest rate ( r ) and internal exchange rate ( x ) defined as prices of non-tradable goods (services and energy) relative to prices of tradable goods (others). Except for the nominal interest rates, all observables are seasonally adjusted and expressed as 100*log differences. The nominal interest rate is expressed as a quarterly rate in percent. More details about the employed software, data and their seasonal adjustment, as well as the visual representation of the data can be found in the Appendix (online). Besides that, in the Appendix I also discuss several issues related to the estimation of the model, namely (i) the calibration of several parameters, (ii) the choice of the priors for the estimated parameters, and (iii) the results of the estimation. Let us now describe the decomposition of the observables into the trend components and cyclical (model) components. obs t u and obs t r denote the observables, where },,,,,{ xwpicyu ; u t and r t denote the trend components; t u and t r denote the 4 As the number of countries in the euro area grew during the period examined, the data for the euro area are not suitable for estimation because of breaks in the time series. It is therefore necessary to use proxy data for the euro area, in the form of an unchanging group of EMU countries for the relevant period. Nowadays, there are 3 possible options available from the Eurostat: EA 12, EA 17, and EA 18. I have chosen EA 17, however I have checked the sensitivity of the obtained results to the other two options and found no significant differences. 5 I have also tried to estimate the model on two subsamples of the data - the pre-crisis period from 2000 to 2008 and the (post)-crisis period from 2008 to 2014. In both cases the proposed detrending method proved to be capable of finding very reasonable trends in the data and also led to more accurate forecasts than the original specification.
REVIEW OF ECONOMIC PERSPECTIVES 78 cyclical (model) components; and u t and r t are the trend shocks. Consequently, the decomposition of the observables can be written in the following form: ,=,= 1t r t obs ttt u t obs trruuu ,)(=,)(= 11 r t rr tr rr t u t uu tu uu t (0,1).),(=(0,1),),(= r obs t r u obs t urmeanumean The interpretation of the proposed trend specification is straightforward. The observable obs t u is expressed in log differences, i. e. approximately in the growth rates. Therefore, the observed growth rate obs t u is decomposed into the trend growth rate u t and the cyclical growth rate, expressed as a difference of two consecutive gaps 1 tt uu . The trend growth rate u t follows an AR1 process around the steady state growth rate u which is given by the average growth rate. The trend shocks u t cause temporary deviations of the trend growth rate u t from the average growth rate u . However, the effects of these temporary trend shocks are persistent to a certain degree, which means that the effects of such shocks do not disappear immediately but only over some time. The degree of persistence of such shocks is given by the parameters u . Note that while these trend shocks u t have temporary effects on the growth rates, they have permanent effects on the levels. As regards decomposition of the interest rate obs t r , the interpretation is very similar. The observed interest rate obs t r is decomposed into the trend interest rate r t and the cyclical interest rate t r . The trend interest rate r t follows an AR1 process around the steady state interest rate r , given by the average interest rate. The trend shocks r t cause temporary deviations of the trend interest rate r t from the average interest rate r . The effects of these temporary trend shocks are persistent to a certain degree, with the degree of persistence given by the parameter r . The advantage of the proposed trend specification is that the trend component and the cyclical component are modelled together in one model, and the model itself decides which part of the data belongs to the trend component and which part belongs to the cyclical component. Nevertheless, there are still several things which depend on the researcher’s choice. It is obvious that the standard deviations of trend shocks u t and r t and the persistence parameters u and r cannot be successfully estimated together because of the lack of identifiability. Therefore, I decided to calibrate the standard deviations of trend shocks u t and r t ; and to estimate persistence parameters u and r .
Volume 16, Issue 2, 2016 79 I estimated ten variants of the model with different calibrations of the trend shocks u t and r t and with different prior settings of the persistence parameters u and r . I calibrated the standard deviations of trend shocks to some portion of the standard deviations of the observables obs t u and obs t r , namely: one half, one third, one quarter, one sixth, and one eighth. In my view, these portions represent reasonable values for the standard deviations of trend shocks. Values higher than one half would diminish the role of structural shocks and their propagation mechanism in the structural part of the model, while values smaller than one eighth would diminish the role of trend shocks and the results would, therefore, converge to the results of the original specification of the model estimated on demeaned log differences. For each calibration of trend shocks I estimated two variants, which differ in the prior specification for the persistence parameters u and r . Both of them employ prior distribution Beta, however, in one case the prior mean is equal to 0.7 and prior std. deviation is equal to 0.1, while in the latter case the prior mean is equal to 0.5 and prior std. deviation is equal to 0.2. The former case can be regarded as a more "strict" informative prior, while the latter case represent rather "loose" uninformative prior. 6 This is why I refer to the proposed trend specification as a "flexible" specification, because the smoothness of the trend can be modified easily by different calibration of the standard deviations of trend shocks u t and r t and by the prior setting of the persistence parameters u and r . Estimation Results All variants of the model were estimated with the Random Walk Chain Metropolis- Hastings algorithm, using the Dynare toolbox for Matlab. I generated two independent chains for each variant, each with 2,000,000 draws. From each chain I used only the last 25% percent of the draws, i. e. the initial 1,500,000 draws from each chain were discarded. The average acceptance rate ranges from 20% to 28%, which is in line with informal recommendation for ideal acceptance rate, see for example Koop (2003). The results suggest that this method is capable of finding very reasonable trends in the data. Figure 1 demonstrates this using a specification with the standard deviations of trend shocks calibrated to one third of the standard deviations of the observables, and persistence parameters estimated with "strict" prior. 7 The results of the remaining specifications can be found in the Appendix. 6 I will henceforth use the terms "strict" and "loose" to refer to these different prior settings of the persistence parameters u and r . 7 When working on this research, this particular specification was my first choice for how to describe the trend component.
REVIEW OF ECONOMIC PERSPECTIVES 80 Figure 1 Original Data - black line, Smoothed Trend - grey line Source: author We can see that while for some variables, e.g. investment and prices, the smoothed trend is very similar to the mean of the observable, for some variables (especially interest rates) the smoothed trend fluctuates more. However, this result is based on the employed calibration, and can be easily modified by calibrating the standard deviations of trend shocks differently. For the sake of comparability I decided to calibrate all trend shocks equally as a given portion of the standard deviation of the observables, however, it is also possible to calibrate the trend shocks differently for each variable.