‹ Volver a la ficha Doc. dt-2009-17

fedea

Fundación de Estudios de Economía Aplicada

MEDEA: A DSGE Model for the Spanish Economy * by Pablo Burriel Jesús Fernández-Villaverde*** Juan F. Rubio-Ramírez**** DOCUMENTO DE TRABAJO 2009-17

Cátedra de Investigación Fedea – Caja Madrid

May 2009

We thank David Taguas and Rafael Domenech for their support and encouragement during the development of MEDEA, Fillipo Ferroni for a very interesting discussion, and participants at numerous seminars for feedback. Beyond the usual disclaimer, we must note that any views expressed herein are those of the authors and not necessarily those of the Banco de España, the Federal Reserve Bank of Atlanta, or the Federal Reserve System. Finally, we also thank the NSF for financial support.

Banco de España.

University of Pennsylvania, FEDEA, NBER, and CEPR. Duke University, Federal Reserve Bank of Atlanta, and FEDEA.

Los Documentos de Trabajo se distribuyen gratuitamente a las Universidades e Instituciones de Investigación que lo solicitan. No obstante están disponibles en texto completo a través de Internet: http://www.fedea.es. These Working Paper are distributed free of charge to University Department and other Research Centres. They are also available through Internet: http://www.fedea.es. ISSN:1696-750X

Jorge Juan, 46 28001 Madrid -España Tel.: +34 914 359 020 Fax: +34 915 779 575 infpub@fedea.es

Abstract

In this paper, we provide a brief introduction to a new macroeconometric model of the Spanish economy named MEDEA (Modelo de Equilibrio Dinámico de la Economía EspañolA). MEDEA is a dynamic stochastic general equilibrium (DSGE) model that aims to describe the main features of the Spanish economy for policy analysis, counterfactual exercises, and forecasting. MEDEA is built in the tradition of New Keynesian models with real and nominal rigidities, but it also incorporates aspects such as a small open economy framework, an outside monetary authority such as the ECB, and population growth, factors that are important in accounting for aggregate fluctuations in Spain. The model is estimated with Bayesian techniques and data from the last two decades. Beyond describing the properties of the model, we perform diferent exercises to illustrate the potential of MEDEA, including historical decompositions, long-run and short-run simulations, and counterfactual experiments.

Keywords: DSGE Models, Likelihood Estimation, Bayesian Methods. JEL classification numbers: C11, C13, E30.

1. Introduction

In this paper, we provide a brief introduction to a dynamic equilibrium model of the Spanish economy named MEDEA (Modelo de Equilibrio Dinámico de la Economía EspañolA). This model was developed, solved, and estimated with Spanish data while the authors collaborated with the Economic Ofice of the President of Spain (Oficina Económica del Presidente del Gobierno) from 2007 to 2008.

MEDEA is a dynamic stochastic general equilibrium (DSGE) model that aims to describe the main features of the Spanish economy for policy analysis, counterfactual exercises, and forecasting. MEDEA is built in the tradition of New Keynesian models with real and nominal rigidities (see Christiano, Eichenbaum, and Evans, 2005, Smets and Wouters, 2003, and the book-length descriptions in Woodford, 2003 and Galí, 2008). New Keynesian models have proven to be a flexible framework that can incorporate many diferent economic mechanisms of interest, to be rich enough for meaningful policy analysis, and to have a good forecasting track record. At the kernel of MEDEA, we have a neoclassical growth model with optimizing households and firms and long-run growth induced by technological change and population growth. On top of this core, MEDEA has rigidities of prices and wages, habit persistence in consumption, a set of adjustment costs (to investment, to exports, and to imports), a fiscal and monetary authority that determines a short-run nominal interest rate and taxes, and shocks to population growth, technology, preferences, and policy that induce the stochastic dynamics of the economy.

In addition, MEDEA is designed to be a model for a small open economy that belongs to a currency area, in this case, the euro. The open economy aspects are captured by the presence of exporting and importing firms with incomplete pass-through and by the ability of the agents to save or borrow on foreign financial assets. The currency area is modelled through a monetary authority that sets short-term nominal interest rates by following a Taylor rule based on the economic performance of the whole euro area.

MEDEA shares many features with other DSGE models developed at policy-making institutions for use as an input for their activities. Some examples are the Federal Reserve Board (Erceg, Guerrieri, and Gust, 2006), the European Central Bank (Christofel, Coenen, and Warne, 2008), the Bank of Canada (Murchison and Rennison, 2006), the Bank of England (Harrison et al., 2005), the Bank of Finland (Kilponen and Ripatti, 2006 and Kortelainen, 2002), the Bank of Sweden (Adolfson et al., 2005) the Bank of Spain (Andrés, Burriel, and Estrada, 2006), and the Spanish Ministry of Economics and Finance (Ministerio de Economía y Hacienda) (Boscá et al., 2007). As such, MEDEA is a model that it is comparable to its peers and can borrow from many years of experience.

At the same time, MEDEA has many new elements, some that are, in our opinion, interesting advances for DSGE modelling in general, and some that are important to adapt the model to Spain. We would like to highlight four of these:

1. MEDEA has stochastic growth coming from three sources: neutral technological progress, investment-specific technological progress, and population growth. These will allow us to capture two relevant characteristics of Spain in the last decade: the low productivity growth and the large rise in immigration. By modelling population growth as a random walk in logs with a drift, we can explore both the efects of changing the drift and the consequences of random shocks (such as the unexpected arrival of more immigrants).

2. In comparison with other recent estimated DSGE models, we do not model the foreign world as an equilibrium outcome beyond the behavior of the European Central Bank (ECB) through its Taylor rule. Spain is too small to have a significant impact on the world economy. We prefer to use the extra complexity to enrich other aspects of the model.

3. Fiscal policy. Most of the estimated DSGE models have been developed in central banks. Since monetary policy corresponds to their role, central banks have paid particular attention to issues related to such policy, but the treatment of fiscal policy has been very parsimonious. We pay some detailed attention to the fiscal sector of the economy (although more work is needed), with three tax rates: on capital income, labor income, and consumption. Given the current widespread use of fiscal instruments to fight the 2008-2009 recession, this aspect is particularly interesting.

4. At a more technical level, we design the solution of the model in such a way that we will be able to undertake higher-order approximations in the middle run in a relatively simple way. There is a growing body of literature that emphasizes that there is much to be gained from a non-linear estimation of the model, both in terms of accuracy and in terms of identification (see Fernández-Villaverde and Rubio-Ramírez, 2005 and 2007, Fernández-Villaverde, Rubio-Ramírez, and Santos, 2006, and An and Schorfheide, 2006, among several others). In the current version of the model, for computational reasons, we solve the model by log-linearizing the equilibrium conditions around a transformed stationary steady state. However, our derivations are done with the perspective of performing these higher-order approximations in the future (for example, contrary to common practice, we never substitute variables away to find a Phillips curve, a strategy that works only up to a first-order approximation).

MEDEA is estimated by Bayesian methods. We follow the Bayesian paradigm because it is a powerful, coherent, and flexible perspective for the estimation of dynamic models in economics (see An and Schorfheide, 2006, and Fernández-Villaverde, 2009, for surveys of the literature). First, Bayesian analysis is built on a clear set of axioms and it has a direct link with decision theory. The link is particularly relevant for MEDEA since the model has been designed for applied policy analysis. Many of the relevant policy decisions require an explicit consideration of uncertainty and asymmetric loss assessments. Consequently, the Bayesian approach provides a convenient playground for risk management. Second, the Bayesian approach deals in a transparent way with misspecification and identification problems, which are pervasive in the estimation of DSGE models (Canova and Sala, 2006, and Iskrev, 2008). Third, the Bayesian estimators have desirable small sample and asymptotic properties, even if they are evaluated by classical criteria (Fernández-Villaverde and Rubio-Ramírez, 2004). Fourth, priors allow us to introduce presample information and to reduce the dimensionality problem associated with the number of parameters. As Sims (2007) has emphasized, with any model rich enough to fit the data well, the use of priors is essential to do any reasonable inference. Priors will be especially attractive for MEDEA because the deep changes in the structure of the Spanish economy over the last several decades stop us from using data before the early 1980s, leaving us with a relatively short sample. Fifth, a likelihood-based method, such as our Bayesian estimation, allows us to recover the whole set of parameter values required for policy and welfare analysis. Finally, Bayesian methods have important computational advantages over maximum likelihood in large models like MEDEA. Simulating the posterior distribution of the parameters is a much easier task than maximizing a highly dimensional likelihood.

MEDEA can be employed for three main alternative purposes. First, we can use it to understand the dynamics of aggregate fluctuations. To illustrate this feature, in this paper, we will show a decomposition of the last two business cycles among diferent sources of variation. Second, we can use MEDEA for policy analysis, including counterfactuals and alternative policy experiments. We will perform several counterfactuals to illustrate the properties of the model. For instance, we will look at the efects of changes in the consumption tax rate and in the wage mark-up or the consequences of alternative scenarios for population growth. Finally, we can use MEDEA for forecasting purposes. Even if DSGE models are not specifically designed with this goal in mind, their forecasting performance has been very satisfactory (see Edge, Kiley, and Laforte, 2009, and Christofel, Coenen, and Warne, 2007, for the forecasting experience of the DSGE model used by the Federal Reserve System and the ECB respectively). Because of space considerations, we will leave a thorough analysis of the forecasting properties of MEDEA for the near future.

The structure of this paper is as follows. First, we outline the main structure of the model. Second, we describe MEDEA’s theoretical framework in detail. Third, we define the equilibrium of the economy, we transform this equilibrium into a stationary one by appropriately changing the variables, and we solve the model by log-linearizing the equilibrium conditions of the transformed model. Fourth, we build the likelihood of the model. Finally, we estimate the model with data from 1986:1 to 2007:2 and we report the results of a number of exercises undertaken with the model.

2. Outline of the Model

MEDEA is a medium-scale model with 82 equations and 10 stochastic shocks. The 82 equations include 16 equations that relate variables in the model to observables (although we will not use all of the observables in all of our exercises), the laws of motion for 37 state variables, and the equations determining 19 endogenous variables that are not states. Given this relatively large number of variables, it is worthwhile to outline the basic structure of the model before we go into further details:

1. A continuum of households consume, save in domestic and foreign assets, hold money, supply labor, and set their own wages subject to a demand curve and Calvo’s pricing with partial indexation.

2. The labor of households is aggregated by a perfectly competitive labor packer who sells the aggregated labor to the domestic intermediate good producers.

3. The final domestic good is manufactured by a final domestic good producer, which uses as inputs intermediate domestic goods.

4. The consumption good is packed by a consumption good producer using the final domestic good and the final imported good.

5. Similarly, the investment good is packed by an investment good producer using the final domestic good and the final imported good.

6. Domestic intermediate goods producers rent capital and labor to manufacture their good and are subject to Calvo’s pricing with partial indexation.

7. The final imported good is packed by a final imported good producer using intermediate goods produced by monopolistic competitors from a generic import good, with incomplete pass-through specified as Calvo’s pricing with partial indexation.

8. The export goods are produced by monopolistic competitors who buy the final domestic good and diferentiate it by brand naming. The exporters exhibit local-currency pricing that we specify as Calvo’s pricing with partial indexation.

9. There is a monetary authority, the ECB, that implements monetary policy. The ECB’s monetary policy fixes the one-period nominal interest rate of the euro area through open market operations, with the euro area inflation as target. The weight of the Spanish economy in this policy target is approximately 10 per cent.

10. There is a government that implements fiscal policy to finance an exogenously given stream of government consumption with taxes on capital and labor income and on consumption.

11. Finally, long-run growth of per capita income is induced by the presence of two unit roots, one in the level of neutral technology and one in the investment-specific technology. Moreover, there is stochastic population growth.

3. The Model

We start now by describing of the model. We will discuss each of type of agents (households, distribution sector, intermediate good producers, foreign sector, the monetary authority, and the government) and how their actions aggregate.

3.1. Households

There is a continuum of households indexed by . Each household is composed of identical workers. The preferences of households are representable by the following lifetime utility function, which is separable into per capita consumption, , per capita real money balances, (where is the price of the domestic final good), and per capita hours worked, (in terms of the proportion of the period spent at work):

\[\mathbb {E} _ {0} \sum_ {t = 0} ^ {\infty} \beta^ {t} L _ {t} d _ {t} \left\{\log \left(c _ {j t} - h c _ {j t - 1}\right) + v \log \frac {m _ {j t}}{p _ {t}} - \varphi_ {t} \psi \frac {\left(l _ {j t} ^ {s}\right) ^ {1 + \vartheta}}{1 + \vartheta} \right\}\]

where is the conditional expectation operator evaluated at time is the discount factor, h is the parameter that controls habit persistence, and ϑ is the inverse of Frisch labor supply elasticity. The variable is an intertemporal preference shock, while is a labor supply

shock with laws of motion:

\[\begin{array}{r c l} \log d _ {t} & = & \rho_ {d} \log d _ {t - 1} + \sigma_ {d} \varepsilon_ {d, t} \mathrm{where} \varepsilon_ {d, t} \sim \mathcal {N} (0, 1), \\ \log \varphi_ {t} & = & \rho_ {\varphi} \log \varphi_ {t - 1} + \sigma_ {\varphi} \varepsilon_ {\varphi , t} \mathrm{where} \varepsilon_ {\varphi , t} \sim \mathcal {N} (0, 1). \end{array}\]

Note that the preference shifters are common for all households. The preference shock changes the intertemporal first-order conditions, while the preference shock moves the first-order conditions afecting labor supply and wage determination. We include the shock to capture the changes in valuations between the present and the future that the analysis of intertemporal wedges suggests as key for understanding aggregate fluctuations (Primiceri, Schaumburg, and Tambalotti, 2006). We add the shock to model the changes in labor supply that Hall (1997) and Chari, Kehoe, and McGrattan (2007) have pointed out as responsible for a large proportion of the changes in employment over the business cycle. We have selected a utility function where consumption appears in logs. Thus, the marginal relation of substitution between consumption and leisure is linear in consumption and we have a balanced growth path with constant hours (King, Plosser, and Rebelo, 1988).

The household’s size, , follows a random walk with drift in logs:

\[L _ {t} = L _ {t - 1} \exp \left(\Lambda_ {L} + z _ {L, t}\right) \text { where } z _ {L, t} = \sigma_ {L} \varepsilon_ {L, t} \text { and } \varepsilon_ {L, t} \sim \mathcal {N} (0, 1).\]

Thus, the growth of population is given by

\[\gamma_ {t} ^ {L} = \frac {L _ {t}}{L _ {t - 1}} = \exp (\Lambda_ {L} + z _ {L, t})\]

This process induces the first unit root in the model. However, this unit root will only afect the absolute levels of the variables and not the per capita terms.

Households hold an amount of Arrow securities,1 an amount of domestic government bonds that pay a nominal gross interest rate of , and an amount in domestic currency of foreign government bonds from the rest of the world, which pay a nominal gross interest rate of . The exchange rate, is expressed in terms of the domestic currency per unit of foreign currency. Following Schmitt-Grohé and Uribe (2003), the function represents the premium associated with buying foreign bonds and it captures the costs (or benefits) for households of undertaking positions in the international asset market. We assume that depends on the per capita holdings of foreign bonds in the entire economy with respect to nominal output of the final domestic good:

j
jt+1
j
qjt+1,t.
ωj,t+1,t
1Households can trade on the whole set of possible Arrow securities within the country, indexed both by the household (since the household faces idiosyncratic wage-adjustment risk that we will describe below) and by time (to capture Spanish aggregate risk). The amount a indicates the amount of those securities that pay one unit of the domestic final good in event ωj,t+1,t purchased by household at time t at a (real) price qjt+1,t.

\[\widetilde {b} _ {t} ^ {W} = \frac {\int_ {0} ^ {1} b _ {j t} ^ {W} d j}{p _ {t} y _ {t} ^ {d}}\]

Thus, as borrowers, households are charged a premium on the foreign interest rate (that if , then and get a remuneration when they act as lenders. Moreover, , and . Domestic households take as given when deciding their optimal holding of foreign bonds. Finally, revenues from the premium are rebated in a lump-sum to the foreign agents.2 The holding cost of foreign debt is introduced to pin down a well-defined steady state for consumption and assets in the context of international incomplete markets (otherwise, transient dynamics will have permanent efects) and it is motivated empirically by the observation that Spain cannot fully insure against its idiosyncratic shocks in the international capital markets.3

Since we do not model the rest of the world, the evolution of the is given by an exogenous process:

\[R _ {t} ^ {W} = \left(R ^ {W}\right) ^ {\left(1 - \rho_ {R ^ {W}}\right)} \left(R _ {t - 1} ^ {W}\right) ^ {\rho_ {R ^ {W}}} \exp \left(\sigma_ {R ^ {W} \varepsilon_ {R ^ {W}, t}}\right)\]

In addition, there is a time-varying shock to the premium , with the following process:

\[\log \xi_ {t} ^ {b ^ {W}} = \rho_ {b ^ {W}} \log \xi_ {t - 1} ^ {b ^ {W}} + \sigma_ {b ^ {W}} \varepsilon_ {b ^ {W}, t} \mathrm{where} \varepsilon_ {b ^ {W}, t} \sim \mathcal {N} (0, 1),\]

With all this structure, the household’s per capita budget constraint is given by:

\[\begin{array}{r l} & {\left(1 + \tau_ {c}\right) \frac {p _ {t} ^ {c}}{p _ {t}} c _ {j t} + \frac {p _ {t} ^ {i}}{p _ {t}} i _ {j t} + \frac {m _ {j t}}{p _ {t}} + \frac {b _ {j t}}{p _ {t}} + \frac {e x _ {t} b _ {j t} ^ {W}}{p _ {t}} + \int q _ {j t + 1, t} a _ {j t + 1} d \omega_ {j, t + 1, t}} \\ & {= (1 - \tau_ {w}) w _ {j t} l _ {j t} ^ {s} + (r _ {t} u _ {j t} (1 - \tau_ {k}) + \mu_ {t} ^ {- 1} \delta \tau_ {k} - \mu_ {t} ^ {- 1} \Phi [ u _ {j t} ]) k _ {j t - 1} + \frac {1}{\gamma_ {t} ^ {L}} \frac {m _ {j t - 1}}{p _ {t}}} \\ & {\quad + R _ {t - 1} \frac {1}{\gamma_ {t} ^ {L}} \frac {b _ {j t - 1}}{p _ {t}} + R _ {t - 1} ^ {W} \Gamma (e x _ {t} \widetilde {b} _ {t - 1} ^ {W}, \xi_ {t - 1} ^ {b W}) \frac {1}{\gamma_ {t} ^ {L}} \frac {e x _ {t} b _ {j t - 1} ^ {W}}{p _ {t}} + \frac {1}{\gamma_ {t} ^ {L}} a _ {j t} + T _ {t} + F _ {t}} \end{array}\]

2However, since we do not model the equilibrium behavior of the rest of the world, the way in which this rebate is distributed is irrelevant for our purposes.
3Some of the alternatives to this holding cost outlined by Schmitt-Grohé and Uribe (2003) are less attractive for us. Complete international markets are empirically implausible and Uzawa preferences may induce complicated dynamic responses. The final possibility proposed by Schmitt-Grohé and Uribe, a quadratic adjustment cost on the level of the debt, would deliver results that are quantitatively nearly identical to ours.

where is the price of the domestic final good, is the price level of the consumption final good, is the price level of the investment final good, is the real wage in terms of the domestic final good, the real rental price of capital, also in terms of the domestic final good, the intensity of use of capital, is the physical cost of use of capital in resource terms, is an investment-specific technological shock to be described momentarily, is a lump-sum transfer, are the profits of the firms in the economy, and , and are the tax rates on consumption, wages, and capital income. Note that the tax on capital income is defined on the net return of capital after depreciation and hence we include a tax credit , expressed in resource terms. Also, note that we divide the per capita holdings of money and bonds carried into the period by the current population growth to express all quantities in current population per capita terms. Finally, we assume that and

Investment induces a law of motion for (per capita) capital held by the household:

\[\gamma_ {t + 1} ^ {L} k _ {j t} = (1 - \delta) k _ {j t - 1} + \mu_ {t} \left(1 - S \left[ \gamma_ {t} ^ {L} \frac {i _ {j t}}{i _ {j t - 1}} \right]\right) i _ {j t}\]

where is an adjustment cost function on the level of investment such that , and , and where is the growth rate of investment along the balance growth path. Note our capital timing: we index capital at the time its level is decided. Also, the amount of per capita capital in the next period is a random variable because the population next period is also random (obviously, this randomness does not afect total capital at period , which is determined at time t).

We include an investment-specific technological shock in our law of motion for capital because we were convinced by Greenwood, Herkowitz, and Krusell (1997 and 2000) that this mechanism is of key importance to quantitatively account for growth and aggregate fluctuations. The investment-specific technological shock follows an autoregressive process of the form:

\[\mu_ {t} = \mu_ {t - 1} \exp (\Lambda_ {\mu} + z _ {\mu , t}) \mathrm{where} z _ {\mu , t} = \sigma_ {\mu} \varepsilon_ {\mu , t} \mathrm{and} \varepsilon_ {\mu , t} \sim \mathcal {N} (0, 1)\]

This process induces a second unit root in the model. The value of also determines the relative price of new capital in terms of the final domestic good:

\[\frac {p _ {t} ^ {i}}{p _ {t}} \frac {1}{\mu_ {t}}\]

3.1.1. Household’s Problem

Given our description of the household’s environment, the Lagrangian function associated with it is:

\[\mathbb {E} _ {0} \sum_ {t = 0} ^ {\infty} \beta^ {t} \widetilde {\gamma} _ {t} ^ {L} \left[ \begin{array}{c} d _ {t} \left\{\log \left(c _ {j t} - h c _ {j t - 1}\right) + \upsilon \log \frac {m _ {j t}}{p _ {t}} - \varphi_ {t} \psi \frac {\left(l _ {j t} ^ {s}\right) ^ {1 + \vartheta}}{1 + \vartheta} \right\} \\ - \lambda_ {j t} \left\{ \begin{array}{c} (1 + \tau_ {c}) \frac {p _ {t} ^ {c}}{p _ {t}} c _ {j t} + \frac {p _ {t} ^ {i}}{p _ {t}} i _ {j t} + \frac {m _ {j t}}{p _ {t}} + \frac {b _ {j t}}{p _ {t}} + \frac {e x _ {t} b _ {j t} ^ {W}}{p _ {t}} + \int q _ {j t + 1, t} a _ {j t + 1} d \omega_ {j, t + 1, t} \\ - (1 - \tau_ {w}) w _ {j t} l _ {j t} ^ {s} - (r _ {t} u _ {j t} (1 - \tau_ {k}) + \mu_ {t} ^ {- 1} \delta \tau_ {k} - \mu_ {t} ^ {- 1} \Phi [ u _ {j t} ]) k _ {j t - 1} - \frac {1}{\gamma_ {t} ^ {L}} \frac {m _ {j t - 1}}{p _ {t}} \\ - T _ {t} - F _ {t} \\ - R _ {t - 1} \frac {1}{\gamma_ {t} ^ {L}} \frac {b _ {j t - 1}}{p _ {t}} - R _ {t - 1} ^ {W} \Gamma (e x _ {t} \widetilde {b} _ {t - 1} ^ {W}, \xi_ {t - 1} ^ {b W}) \frac {1}{\gamma_ {t} ^ {L}} \frac {e x _ {t} b _ {j t - 1} ^ {W}}{p _ {t}} - \frac {1}{\gamma_ {t} ^ {L}} a _ {j t} \\ - Q _ {j t} (\gamma_ {t + 1} ^ {L} k _ {j t} - (1 - \delta) k _ {j t - 1} - \mu_ {t} (1 - S [ \gamma_ {t} ^ {L} \frac {i _ {j t}}{i _ {j t - 1}} ]) i _ {j t} \Bigg \} \\ \end{array} \right]\]

where and they maximize over , and while eand are the Lagrangian multipliers associated with the budget constraint and the evolution of installed capital, respectively.

The first-order conditions of this problem (except for labor and wages) are:

\[\begin{array}{r l} & d _ {t} (c _ {j t} - h c _ {j t - 1}) ^ {- 1} - h \mathbb {E} _ {t} \beta \gamma_ {t + 1} ^ {L} d _ {t + 1} (c _ {j t + 1} - h c _ {j t}) ^ {- 1} = \lambda_ {j t} (1 + \tau_ {c}) \frac {p _ {t} ^ {c}}{p _ {t}} \\ & \qquad \lambda_ {j t} = \mathbb {E} _ {t} \{\beta \lambda_ {j t + 1} \frac {R _ {t}}{\Pi_ {t + 1}} \} \\ & \qquad \lambda_ {j t} = \mathbb {E} _ {t} \left\{\beta \lambda_ {j t + 1} \frac {R _ {t} ^ {W} \Gamma (e x _ {t} \widetilde {b} _ {t} ^ {W} , \xi_ {t} ^ {b ^ {W}})}{\Pi_ {t + 1}} \frac {e x _ {t + 1}}{e x _ {t}} \right\} \\ & \qquad r _ {t} = \frac {\mu_ {t} ^ {- 1} \Phi^ {\prime} [ u _ {j t} ]}{(1 - \tau_ {k})} \\ & q _ {j t} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} = \beta \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left\{\frac {\lambda_ {j t + 1}}{\lambda_ {j t}} ((1 - \delta) q _ {j t + 1} + (r _ {t + 1} u _ {j t + 1} (1 - \tau_ {k}) + \mu_ {t + 1} ^ {- 1} \delta \tau_ {k} - \mu_ {t + 1} ^ {- 1} \Phi [ u _ {j t + 1} ]) \right\} \\ & \qquad \frac {p _ {t} ^ {i}}{p _ {t}} = q _ {j t} \mu_ {t} (1 - S [ \gamma_ {t} ^ {L} \frac {i _ {j t}}{i _ {j t - 1}} ] - S ^ {\prime} [ \gamma_ {t} ^ {L} \frac {i _ {j t}}{i _ {j t - 1}} ] \gamma_ {t} ^ {L} \frac {i _ {j t}}{i _ {j t - 1}}) \\ & \qquad + \mathbb {E} _ {t} \beta \gamma_ {t + 1} ^ {L} q _ {j t + 1} \frac {\lambda_ {j t + 1}}{\lambda_ {j t}} \mu_ {t + 1} S ^ {\prime} [ \gamma_ {t + 1} ^ {L} \frac {i _ {j t + 1}}{i _ {j t}} ] \gamma_ {t + 1} ^ {L} (\frac {i _ {j t + 1}}{i _ {j t}}) ^ {2} \\ & \qquad \frac {m _ {j t}}{p _ {t}} = d _ {t} v [ \beta \mathbb {E} _ {t} \lambda_ {j t + 1} \frac {R _ {t} - 1}{\Pi_ {t + 1}} ] ^ {- 1}. \end{array}\]

where we have defined the (marginal) Tobin’s as (the ratio of the two Lagrangian multipliers, or more loosely the value of installed capital in terms of its replacement cost), and substituted the Euler equation into the money balances equation.

The first order condition with respect to investment has a simple interpretation. If (the case without adjustment costs), we get:

\[q _ {j t} = \frac {p _ {t} ^ {i}}{p _ {t}} \frac {1}{\mu_ {t}}\]

that is, the marginal Tobin’s is equal to the replacement cost of capital (the relative price of capital) in terms of the domestic final good. Furthermore, if and , as in the standard neoclassical growth model,

3.1.2. Labor Demand and Wage Decisions

The first-order conditions with respect to labor and wages are more involved. The labor used by intermediate good producers described below is supplied by a representative competitive firm that hires the labor supplied by each household j, . The labor supplier aggregates the diferentiated labor types with the following production function:

\[L _ {t} ^ {d} = L _ {t} \left(\int_ {0} ^ {1} \left(l _ {j t} ^ {s}\right) ^ {\frac {\eta - 1}{\eta}} d j\right) ^ {\frac {\eta}{\eta - 1}} = L _ {t} l _ {t} ^ {d}\tag{1}\]

where is the elasticity of substitution among diferent types of labor, is the per capita labor demand, and is the total labor demand.

The labor “packer” maximizes profits subject to the production function (1), taking as given all diferentiated labor wages and the aggregate wage :

\[\max _ {l _ {j t}} w _ {t} L _ {t} l _ {t} ^ {d} - \int_ {0} ^ {1} w _ {j t} L _ {t} l _ {j t} ^ {s} d j\]

The first-order conditions of the labor “packer” are:

\[w _ {t} \frac {\eta}{\eta - 1} \left(\int_ {0} ^ {1} \left(l _ {j t} ^ {s}\right) ^ {\frac {\eta - 1}{\eta}} d j\right) ^ {\frac {\eta}{\eta - 1} - 1} \frac {\eta - 1}{\eta} \left(l _ {j t} ^ {s}\right) ^ {\frac {\eta - 1}{\eta} - 1} - w _ {j t} = 0 \quad \forall j\]

Dividing the first-order conditions for two types of labor i and j and integrating over all labor

4We do not take first-order conditions with respect to Arrow securities since, in our environment with complete markets and separable utility in labor, their equilibrium price will be such that their demand ensures that the household’s consumption does not depend on idiosyncratic shocks (see Erceg, Henderson, and Levin, 2000).

types, we get:

\[\int_ {0} ^ {1} w _ {j t} l _ {j t} ^ {s} d j = w _ {i t} \left(l _ {i t} ^ {s}\right) ^ {\frac {1}{\eta}} \int_ {0} ^ {1} \left(l _ {j t} ^ {s}\right) ^ {\frac {\eta - 1}{\eta}} d j = w _ {i t} \left(l _ {i t} ^ {s}\right) ^ {\frac {1}{\eta}} \left(l _ {j t} ^ {s}\right) ^ {\frac {\eta - 1}{\eta}}\]

Using the zero profits condition implied by perfect competition:

\[w _ {t} l _ {t} ^ {d} = \int_ {0} ^ {1} w _ {j t} l _ {j t} ^ {s} d j\]

and solving we obtain the per capita input demand function and aggregate wage:

\[\begin{array}{r c l} {l _ {j t} ^ {s}} & = & {\left(\frac {w _ {j t}}{w _ {t}}\right) ^ {- \eta} l _ {t} ^ {d} \qquad \forall j} \\ {w _ {t}} & = & {\left(\int_ {0} ^ {1} w _ {j t} ^ {1 - \eta} d j\right) ^ {\frac {1}{1 - \eta}}} \end{array}\tag{2}\]

Idiosyncratic risk comes about because households set their wages following a Calvo’s setting. In each period, a fraction of households can change their wages. All other households can only partially index their wages to past inflation of the final domestic good. Indexation is controlled by the parameter . This implies that if the household cannot change its wage for periods, its normalized wage is . When new workers s=1 in the household begin to work, they are assigned a wage equal to the wage of the other workers in the household.

Thus, the relevant part of the Lagrangian for the household is:

\[\begin{array}{r l} & {\underset {w _ {j t}} {\max} \mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} \theta_ {w} ^ {\tau} \beta^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \left\{- d _ {t + \tau} \varphi_ {t + \tau} \psi \frac {(l _ {j t + \tau} ^ {s}) ^ {1 + \vartheta}}{1 + \vartheta} + \lambda_ {j t + \tau} \prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi_ {w}}}{\Pi_ {t + s}} (1 - \tau_ {w}) w _ {j t} l _ {j t + \tau} ^ {s} \right\}} \\ & {\quad \mathrm{s.t.} l _ {j t + \tau} ^ {s} = \left(\prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi_ {w}}}{\Pi_ {t + s}} \frac {w _ {j t}}{w _ {t + \tau}}\right) ^ {- \eta} l _ {t + \tau} ^ {d}} \end{array}\]

All households that can optimize their wages in this period set the same wage j that optimizes) because complete markets allow them to hedge the risk of the timing of wage change. Hence, we can drop the from the choice of wages and . Similarly, the ratio of Lagrangians, , will be constant across households and, consequently, the marginal valuation of future income is also constant. The first-order condition of this problem is:

\[\begin{array}{r l} & {\frac {\eta - 1}{\eta} (1 - \tau_ {w}) w _ {t} ^ {*} \mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} (\beta \theta_ {w}) ^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \lambda_ {t + \tau} \left(\prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi_ {w}}}{\Pi_ {t + s}}\right) ^ {1 - \eta} \left(\frac {w _ {t} ^ {*}}{w _ {t + \tau}}\right) ^ {- \eta} l _ {t + \tau} ^ {d} =} \\ & {\qquad \mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} (\beta \theta_ {w}) ^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \left(d _ {t + \tau} \varphi_ {t + \tau} \psi \left(\prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi_ {w}}}{\Pi_ {t + s}} \frac {w _ {t} ^ {*}}{w _ {t + \tau}}\right) ^ {- \eta (1 + \vartheta)} (l _ {t + \tau} ^ {d}) ^ {1 + \vartheta}\right)} \end{array}\]

Note that for those sums to be well defined (and, more generally, for the maximization problem to have a solution), we need to assume that goes to zero faster than −η goes to infinity in expectation.

To express this equation recursively, we re-label each part of this equality as and :

\[\begin{array}{r c l} {f _ {t} ^ {1}} & = & {\frac {\eta - 1}{\eta} \left(1 - \tau_ {w}\right) w _ {t} ^ {*} \mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} \left(\beta \theta_ {w}\right) ^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \lambda_ {t + \tau} \left(\prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi_ {w}}}{\Pi_ {t + s}}\right) ^ {1 - \eta} \left(\frac {w _ {t + \tau}}{w _ {t} ^ {*}}\right) ^ {\eta} l _ {t + \tau} ^ {d}} \\ & & \\ {f _ {t} ^ {2}} & = & {\mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} \left(\beta \theta_ {w}\right) ^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} d _ {t + \tau} \varphi_ {t + \tau} \psi \left(\prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi_ {w}}}{\Pi_ {t + s}}\right) ^ {- \eta (1 + \vartheta)} \left(\frac {w _ {t + \tau}}{w _ {t} ^ {*}}\right) ^ {\eta (1 + \vartheta)} \left(l _ {t + \tau} ^ {d}\right) ^ {1 + \vartheta}} \end{array}\]

and add the equality

Then, in recursive form:

\[f _ {t} = \frac {\eta - 1}{\eta} \left(1 - \tau_ {w}\right) (w _ {t} ^ {*}) ^ {1 - \eta} \lambda_ {t} w _ {t} ^ {\eta} l _ {t} ^ {d} + \beta \theta_ {w} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi_ {w}}}{\Pi_ {t + 1}}\right) ^ {1 - \eta} \left(\frac {w _ {t + 1} ^ {*}}{w _ {t} ^ {*}}\right) ^ {\eta - 1} f _ {t + 1}\]

and

\[f _ {t} = d _ {t} \varphi_ {t} \psi \left(\frac {w _ {t} ^ {*}}{w _ {t}}\right) ^ {- \eta (1 + \vartheta)} \left(l _ {t} ^ {d}\right) ^ {1 + \vartheta} + \beta \theta_ {w} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi_ {w}}}{\Pi_ {t + 1}}\right) ^ {- \eta (1 + \vartheta)} \left(\frac {w _ {t + 1} ^ {*}}{w _ {t} ^ {*}}\right) ^ {\eta (1 + \vartheta)} f _ {t + 1}\]

Later, by solving for the dynamics of we will be able to compute

Finally, in a symmetric equilibrium and in every period, a fraction of households set as their wage, while the remaining fraction partially index their price to past inflation. Consequently, the real wage index evolves:

\[w _ {t} ^ {1 - \eta} = \theta_ {w} \left(\frac {\Pi_ {t - 1} ^ {\chi_ {w}}}{\Pi_ {t}}\right) ^ {1 - \eta} w _ {t - 1} ^ {1 - \eta} + (1 - \theta_ {w}) w _ {t} ^ {* 1 - \eta}.\]

that is, as a geometric average of past real wage and the new optimal wage. This structure is a direct consequence of the memoryless characteristic of Calvo pricing.

3.2. The Distribution Sector

The distribution sector is composed of two segments. At the end, there is a consumption good producer and an investment good producer, while at the source, a final domestic good producer aggregates all domestic intermediate goods to produce the final domestic good.

3.2.1. Final Consumption and Investment Good Producers

At the top of the distribution chain, there is a perfectly competitive consumption good producer and investment good producer who pack domestic consumption and investment with imported consumption and investment baskets to generate final consumption and investment using a technology described by:

\[\begin{array}{r c l} {c _ {t}} & = & {\left[ (n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} \left(c _ {t} ^ {d}\right) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} + (1 - n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} \left(c _ {t} ^ {M} \left(1 - \Gamma_ {t} ^ {c}\right)\right) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} \right] ^ {\frac {\varepsilon_ {c}}{\varepsilon_ {c} - 1}}} \\ & & \\ {i _ {t}} & = & {\left[ (n ^ {i}) ^ {\frac {1}{\varepsilon_ {i}}} \left(i _ {t} ^ {d}\right) ^ {\frac {\varepsilon_ {i} - 1}{\varepsilon_ {i}}} + (1 - n ^ {i}) ^ {\frac {1}{\varepsilon_ {i}}} \left(i _ {t} ^ {M} \left(1 - \Gamma_ {t} ^ {i}\right)\right) ^ {\frac {\varepsilon_ {i} - 1}{\varepsilon_ {i}}} \right] ^ {\frac {\varepsilon_ {i}}{\varepsilon_ {i} - 1}}} \end{array}\]

where there is a home bias in the aggregation, measured by and , which determines the steady state degree of openness, and where represents the elasticity of substitution between imported and domestic consumption (investment) goods. In addition, we assume that it is costly to change the share of imports of consumption and investment in final production. This is modelled by adding a cost term and to changing the import to consumption (investment) ratio in the production function:

\[\Gamma_ {t} ^ {s} = \frac {\Gamma^ {s}}{2} \left(\frac {s _ {t} ^ {M}}{s _ {t}} \Bigg / \frac {s _ {t - 1} ^ {M}}{s _ {t - 1}} - 1\right) ^ {2} \quad \text {for} s = c, i\]

The producer of the final consumption good maximizes profits subject to the production function, taking as given the price of the final domestic good, of the imported consumption goods (in domestic currency) , and of the final consumption basket . Due to adjustment costs, the problem becomes dynamic and the aggregator discounts future income with the pricing kernel (below, when talking about discounting by intermediate good producers, we explain this point in more detail). In the case of consumption (and similarly for investment):

\[\begin{array}{r l r} & & {\max _ {c _ {t} ^ {d}, c _ {t} ^ {M}} \mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} \beta^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \frac {\lambda_ {t + \tau}}{\lambda_ {t}} \left[ p _ {t} ^ {c} c _ {t} - p _ {t} c _ {t} ^ {d} - p _ {t} ^ {M} c _ {t} ^ {M} \right]} \\ & & {\mathrm{s.t.} c _ {t} = \left[ (n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} (c _ {t} ^ {d}) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} + (1 - n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} (c _ {t} ^ {M} (1 - \Gamma_ {t} ^ {c})) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} \right] ^ {\frac {\varepsilon_ {c}}{\varepsilon_ {c} - 1}}} \end{array}\]

Solving (and after some tedious algebra), we get the demand for the domestic and imported consumption good and the price of the final consumption good:

\[\begin{array}{r l r} {c _ {t} ^ {d} = n ^ {c} \left(\frac {p _ {t}}{p _ {t} ^ {c}}\right) ^ {- \varepsilon_ {c}} c _ {t}} \\ & & {c _ {t} ^ {M} = \mathbb {E} _ {t} \Omega_ {t + 1} ^ {c} \left(1 - n ^ {c}\right) \left(\frac {p _ {t} ^ {M}}{p _ {t} ^ {c}}\right) ^ {- \varepsilon_ {c}} c _ {t}} \\ & & {p _ {t} ^ {c} = \left[ n ^ {c} \left(p _ {t}\right) ^ {1 - \varepsilon_ {c}} + \mathbb {E} _ {t} \Omega_ {t + 1} ^ {c} \left(1 - n ^ {c}\right) \left(p _ {t} ^ {M}\right) ^ {1 - \varepsilon_ {c}} \right] ^ {\frac {1}{1 - \varepsilon_ {c}}}} \end{array}\]

where:

\[\mathbb {E} _ {t} \Omega_ {t + 1} ^ {c} = \frac {\left[ 1 - \beta (1 - n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} \mathbb {E} _ {t} \frac {\gamma_ {t + 1} ^ {L} \lambda_ {t + 1}}{\lambda_ {t}} \left(\frac {p _ {t} ^ {c}}{p _ {t} ^ {M}}\right) \Pi_ {t + 1} ^ {c} \left(\frac {c _ {t + 1}}{c _ {t + 1} ^ {M} (1 - \Gamma_ {t + 1} ^ {c})}\right) ^ {\frac {1}{\varepsilon_ {c}}} \Gamma_ {t + 1} ^ {c \prime} \frac {\left(\Delta c _ {t + 1} ^ {M}\right) ^ {2}}{\Delta c _ {t + 1}} \right] ^ {- \varepsilon_ {c}}}{(1 - \Gamma_ {t} ^ {c}) [ 1 - \Gamma_ {t} ^ {c} - \Gamma_ {t} ^ {c \prime} (\frac {\Delta c _ {t} ^ {M}}{\Delta c _ {t}}) ] ^ {- \varepsilon_ {c}}}\]

3.2.2. Final Domestic Good Producer

At the start of the distribution chain, we have the final domestic good producer that produces the final domestic good by aggregating intermediate domestic goods with the following production function:

\[y _ {t} = \left(\int_ {0} ^ {1} (y _ {i t}) ^ {\frac {\varepsilon - 1}{\varepsilon}} d i\right) ^ {\frac {\varepsilon}{\varepsilon - 1}}.\tag{3}\]

where is the elasticity of substitution across domestic intermediate goods and all the variables are expressed in per capita terms.

The final domestic good producer is perfectly competitive and maximizes profits subject to the production function (3), taking as given all intermediate domestic goods prices and the final domestic good price . Following the same steps as for wages, we find the input demand functions and the aggregate price associated with this problem:

\[\begin{array}{r c l} y _ {i t} & = & \left(\frac {p _ {i t}}{p _ {t}}\right) ^ {- \varepsilon} y _ {t} ^ {d} \qquad \forall i, \\ p _ {t} & = & \left(\int_ {0} ^ {1} p _ {i t} ^ {1 - \varepsilon} d i\right) ^ {\frac {1}{1 - \varepsilon}}. \end{array}\]

where is the aggregate demand by the final good producer.

3.3. Intermediate Good Producers

At the bottom of the domestic production process, there is a continuum of intermediate goods producers. Each intermediate good producer i has access to a technology represented by a production function (expressed in per capita terms):

\[y _ {i t} = A _ {t} k _ {i t - 1} ^ {\alpha} \left(l _ {i t} ^ {d}\right) ^ {1 - \alpha} - \phi z _ {t}\]

where is the capital rented by the firm, is the amount of the “packed” labor input rented by the firm, and where , the neutral technology level, follows the process:

\[A _ {t} = A _ {t - 1} \exp (\Lambda_ {A} + z _ {A, t}) \text {where} z _ {A, t} = \sigma_ {A} \varepsilon_ {A, t} \text {and} \varepsilon_ {A, t} \sim \mathcal {N} (0, 1)\]

which induces a third unit root in the model, the second from technology. The parameter which corresponds to the fixed cost of production, and guarantee that economic profits are roughly equal to zero in the steady state. We rule out the entry and exit of intermediate good producers. Long-run growth of domestic output in per capita terms is determined by , which evolves as:

\[z _ {t} = z _ {t - 1} \exp (\Lambda_ {z} + z _ {z, t}) \mathrm{where} z _ {z, t} = \frac {z _ {A , t} + \alpha z _ {\mu , t}}{1 - \alpha} \mathrm{and} \Lambda_ {z} = \frac {\Lambda_ {A} + \alpha \Lambda_ {\mu}}{1 - \alpha}.\]

Intermediate goods producers solve a two-stage problem. In the first stage, taking the input prices and as given, firms rent and in perfectly competitive factor markets to minimize real cost:

\[\min _ {l _ {i t} ^ {d}, k _ {i t - 1}} w _ {t} l _ {i t} ^ {d} + r _ {t} k _ {i t - 1} \text { s.t. } y _ {i t} = \left\{ \begin{array}{c} A _ {t} k _ {i t - 1} ^ {\alpha} \left(l _ {i t} ^ {d}\right) ^ {1 - \alpha} - \phi z _ {t} \text { if } A _ {t} k _ {i t - 1} ^ {\alpha} \left(l _ {i t} ^ {d}\right) ^ {1 - \alpha} \geq \phi z _ {t} \\ 0 \text { otherwise } \end{array} \right.\]

Assuming an interior solution, the intermediate good producers equate marginal productivity to input prices to get an optimal capital-labor ratio

\[\frac {k _ {i t - 1}}{l _ {i t} ^ {d}} = \frac {\alpha}{1 - \alpha} \frac {w _ {t}}{r _ {t}}\]

and a real marginal cost:

\[m c _ {t} = \left(\frac {1}{1 - \alpha}\right) ^ {1 - \alpha} \left(\frac {1}{\alpha}\right) ^ {\alpha} \frac {w _ {t} ^ {1 - \alpha} r _ {t} ^ {\alpha}}{A _ {t}}\]

Note that both the optimal capital-labor ratio and the marginal cost do not depend on i: all firms receive the same technology shocks and all firms rent inputs at the same price.

In the second stage, intermediate good producers choose the price that maximizes discounted real profits. We assume that are under the same pricing scheme as households. In each period, a fraction of firms can change their prices. All other firms can only index their prices to past inflation of the final domestic good price . Indexation is controlled by the parameter , where is no indexation and is total indexation. The problem of the firms is then:

\[\begin{array}{r l} & {\underset {p _ {i t}} {\max} \mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} (\beta \theta_ {p}) ^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \frac {\lambda_ {t + \tau}}{\lambda_ {t}} \left\{\left(\prod_ {s = 1} ^ {\tau} \Pi_ {t + s - 1} ^ {\chi} \frac {p _ {i t}}{p _ {t + \tau}} - m c _ {t + \tau}\right) y _ {i t + \tau} \right\}} \\ & {\quad \mathrm{s.t.} y _ {i t + \tau} = \left(\prod_ {s = 1} ^ {\tau} \Pi_ {t + s - 1} ^ {\chi} \frac {p _ {i t}}{p _ {t + \tau}}\right) ^ {- \varepsilon} y _ {t + \tau}} \end{array}\]

where the valuation of future profits is done with the common ratio of Lagrangian multipliers (treated as exogenous by the firm). Since we have complete markets in securities, this ratio is indeed the correct valuation on future profits.5 The solution implies the first-order condition:

\[\mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} (\beta \theta_ {p}) ^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \lambda_ {t + \tau} \left\{\left((1 - \varepsilon) \left(\prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi}}{\Pi_ {t + s}}\right) ^ {1 - \varepsilon} \frac {p _ {t} ^ {*}}{p _ {t}} + \varepsilon \left(\prod_ {s = 1} ^ {\tau} \frac {\Pi_ {t + s - 1} ^ {\chi}}{\Pi_ {t + s}}\right) ^ {- \varepsilon} m c _ {t + \tau}\right) y _ {t + \tau} \right\} = 0\tag{4}\]

where we have dropped irrelevant constants and used the fact that we are in a symmetric equilibrium. This expression nests the usual result in the fully flexible prices case :

\[p _ {t} ^ {*} = \frac {\varepsilon}{\varepsilon - 1} p _ {t} m c _ {t + \tau}\]

that is, the price is equal to a mark-up over the nominal marginal cost.

To express equation (4) recursively, we define and :

\[\begin{array}{r c l} {g _ {t} ^ {1}} & = & {\lambda_ {t} m c _ {t} y _ {t} + \beta \theta_ {p} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi}}{\Pi_ {t + 1}}\right) ^ {- \varepsilon} g _ {t + 1} ^ {1}} \\ & & \\ {g _ {t} ^ {2}} & = & {\lambda_ {t} \Pi_ {t} ^ {*} y _ {t} + \beta \theta_ {p} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi}}{\Pi_ {t + 1}}\right) ^ {1 - \varepsilon} \left(\frac {\Pi_ {t} ^ {*}}{\Pi_ {t + 1} ^ {*}}\right) g _ {t + 1} ^ {2}} \end{array}\]

(βθp)τ γLτ λt+τt
5As in the household problem, we need to go to zero suficiently fast in relation to the erate of inflation for the optimization problem to be well defined.

where , and we get that (4) is equivalent to

Given Calvo’s pricing, the price index evolves:

\[\left(p _ {t}\right) ^ {1 - \varepsilon} = \theta_ {p} \left(\Pi_ {t - 1} ^ {\chi}\right) ^ {1 - \varepsilon} \left(p _ {t - 1}\right) ^ {1 - \varepsilon} + \left(1 - \theta_ {p}\right) \left(p _ {t} ^ {*}\right) ^ {1 - \varepsilon}\]

or, dividing by

\[1 = \theta_ {p} \left(\frac {\Pi_ {t - 1} ^ {\chi}}{\Pi_ {t}}\right) ^ {1 - \varepsilon} + (1 - \theta_ {p}) (\Pi_ {t} ^ {*}) ^ {1 - \varepsilon}\]

3.4. Foreign Sector

To better describe the foreign sector, we start by explaining the composition of the import and export markets separately and then proceed to show how both types of firms set prices.

Importing Firms

The import sector is composed of two segments. At the end, a distributor (or aggregator) mixes diferentiated imported goods to produce the final imported basket , while at the source, a continuum of importing firms buy the foreign homogeneous final good in the international markets at price and turn it into a diferentiated import good through a diferentiating technology or brand naming.

The distributor (or aggregator) produces the final imported good from diferentiated imported goods with the following production function:

\[y _ {t} ^ {M} = \left(\int_ {0} ^ {1} \left(y _ {i t} ^ {M}\right) ^ {\frac {\varepsilon_ {M} - 1}{\varepsilon_ {M}}} d i\right) ^ {\frac {\varepsilon_ {M}}{\varepsilon_ {M} - 1}}.\]

where is the elasticity of substitution across foreign final goods and all the variables are expressed in per capita terms. Following the same steps as for domestic prices, we find the price of the imported final basket and the import demand functions:

\[\begin{array}{r c l} y _ {i t} ^ {M} & = & \left(\frac {p _ {i t} ^ {M}}{p _ {t} ^ {M}}\right) ^ {- \varepsilon_ {M}} y _ {t} ^ {M} \qquad \forall i, \\ p _ {t} ^ {M} & = & \left(\int_ {0} ^ {1} \left(p _ {i t} ^ {M}\right) ^ {1 - \varepsilon_ {M}} d i\right) ^ {\frac {1}{1 - \varepsilon_ {M}}} \end{array}\]

The total per capita amount of imported goods is thus given by:

\[M _ {t} = \int_ {0} ^ {1} y _ {i t} ^ {M} d i\]

Exporting Firms

The export sector consists of a continuum of firms that buy the final domestic good and diferentiate it by brand naming. Then, they sell the continuum of diferentiated goods to importers from the rest of the world. Each exporting firm faces the following demand for its products:

\[y _ {i t} ^ {x} = \left(\frac {p _ {i t} ^ {x}}{p _ {t} ^ {x}}\right) ^ {- \varepsilon_ {x}} y _ {t} ^ {x} \quad \forall i,\]

where both prices are expressed in the foreign currency of the export market. The export deflator is

\[p _ {t} ^ {x} = \left(\int_ {0} ^ {1} (p _ {i t} ^ {x}) ^ {1 - \varepsilon_ {x}} d i\right) ^ {\frac {1}{1 - \varepsilon_ {x}}}\]

Therefore, the total amount of exported good is given by:

\[x _ {t} = \int_ {0} ^ {1} y _ {i t} ^ {x} d i\]

Finally, appealing to symmetry, we assume that the world demand of our exports is:

\[y _ {t} ^ {x} = \left(\frac {p _ {t} ^ {x}}{p _ {t} ^ {W}}\right) ^ {- \varepsilon_ {W}} y _ {t} ^ {W}.\]

and we have that:

\[y _ {i t} ^ {x} = \left(\frac {p _ {i t} ^ {x}}{p _ {t} ^ {x}}\right) ^ {- \varepsilon_ {x}} \left(\frac {p _ {t} ^ {x}}{p _ {t} ^ {W}}\right) ^ {- \varepsilon_ {W}} y _ {t} ^ {W} \quad \forall i.\]

The evolution of world demand is exogenously given by:

\[y _ {t} ^ {W} = \left(y ^ {W}\right) ^ {\left(1 - \rho_ {y W}\right)} \left(y _ {t - 1} ^ {W}\right) ^ {\rho_ {y W}} e ^ {\left(\sigma_ {y W} \varepsilon_ {y W, t}\right)}\]

and world inflation by:

\[\Pi_ {t} ^ {W} = \left(\Pi^ {W}\right) ^ {\left(1 - \rho_ {\Pi^ {W}}\right)} \left(\Pi_ {t - 1} ^ {W}\right) ^ {\rho_ {\Pi^ {W}}} e ^ {\left(\sigma_ {\Pi^ {W}} \varepsilon_ {\Pi^ {W, t}}\right)}\]

Price-Setting in the Foreign Sector:

To allow for incomplete exchange rate pass-through to import and export prices, we assume that importing and exporting firms in the foreign sector face price stickiness à la Calvo. Since the problem faced by both types of firms is similar, we will describe them together. In particular, in each period, a fraction of importing (exporting) firms can change their prices. All other importing (exporting) firms can only index their prices to past inflation of the final imported (foreign) good . Indexation is controlled by the parameter , where is no indexation and is total indexation.

Since importing (exporting) firms buy the homogeneous foreign (domestic) good at price in the world (domestic) market, their real marginal cost, in domestic (foreign) currency terms, is equal to

The problem of importing (exporting) firm i is then:

\[\begin{array}{l} \max _ {p _ {i t} ^ {f m}} \mathbb {E} _ {t} \sum_ {\tau = 0} ^ {\infty} (\beta \theta_ {f m}) ^ {\tau} \widetilde {\gamma} _ {\tau} ^ {L} \frac {\lambda_ {t + \tau}}{\lambda_ {t}} \left\{\left(\prod_ {s = 1} ^ {\tau} \left(\Pi_ {t + s - 1} ^ {f m}\right) ^ {\chi_ {f m}} \frac {p _ {i t} ^ {f m}}{p _ {t + \tau} ^ {f m}} - m c _ {t + \tau} ^ {f m}\right) y _ {i t + \tau} ^ {f m} \right\} \\ \text {s.t.} y _ {i t + \tau} ^ {f m} = \left(\prod_ {s = 1} ^ {\tau} \left(\Pi_ {t + s - 1} ^ {f m}\right) ^ {\chi_ {f m}} \frac {p _ {i t} ^ {f m}}{p _ {t + \tau} ^ {f m}}\right) ^ {- \varepsilon_ {f m}} y _ {t + \tau} ^ {f m} \quad \text {for} f m = M, x \end{array}\]

Proceeding as in the case of domestic prices we get:

\[\begin{array}{r c l} g _ {t} ^ {M _ {1}} & = & \left[ \begin{array}{c} \lambda_ {t} \frac {e x _ {t} p _ {t} ^ {W}}{p _ {t} ^ {M}} y _ {t} ^ {M} + \\ \beta \theta_ {M} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {M}\right) ^ {\chi_ {M}}}{\Pi_ {t + 1} ^ {M}}\right) ^ {- \varepsilon_ {M}} g _ {t + 1} ^ {M _ {1}} \end{array} \right] \\ g _ {t} ^ {M _ {2}} & = & \left[ \lambda_ {t} \Pi_ {t} ^ {M ^ {*}} y _ {t} ^ {M} + \beta \theta_ {M} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {M}\right) ^ {\chi_ {M}}}{\Pi_ {t + 1} ^ {M}}\right) ^ {1 - \varepsilon_ {M}} \left(\frac {\Pi_ {t} ^ {M ^ {*}}}{\Pi_ {t + 1} ^ {M ^ {*}}}\right) g _ {t + 1} ^ {M _ {2}} \right] \\ g _ {t} ^ {x _ {1}} & = & \left[ \begin{array}{c} \lambda_ {t} \frac {p _ {t}}{e x _ {t} p _ {t} ^ {x}} y _ {t} ^ {x} + \\ \beta \theta_ {x} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {W}\right) ^ {\chi_ {x}}}{\Pi_ {t + 1} ^ {x}}\right) ^ {- \varepsilon_ {x}} g _ {t + 1} ^ {x _ {1}} \end{array} \right] \\ g _ {t} ^ {x _ {2}} & = & \lambda_ {t} \Pi_ {t} ^ {x ^ {*}} y _ {t} ^ {x} + \beta \theta_ {x} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {W}\right) ^ {\chi_ {x}}}{\Pi_ {t + 1} ^ {x}}\right) ^ {1 - \varepsilon_ {x}} \left(\frac {\Pi_ {t} ^ {x ^ {*}}}{\Pi_ {t + 1} ^ {x ^ {*}}}\right) g _ {t + 1} ^ {x _ {2}} \\ \varepsilon_ {M} g _ {t} ^ {M _ {1}} = (\varepsilon_ {M} - 1) g _ {t} ^ {M _ {2}}; \quad \varepsilon_ {x} g _ {t} ^ {X _ {1}} = (\varepsilon_ {x} - 1) g _ {t} ^ {X _ {2}} \end{array}\]

where and

Given Calvo’s pricing, the import and export price indices evolve as:

\[1 = \theta_ {M} \left(\frac {\left(\Pi_ {t - 1} ^ {M}\right) ^ {\chi_ {M}}}{\Pi_ {t} ^ {M}}\right) ^ {1 - \varepsilon_ {M}} + (1 - \theta_ {M}) \left(\Pi_ {t} ^ {M ^ {*}}\right) ^ {1 - \varepsilon_ {M}}\]

\[1 = \theta_ {x} \left(\frac {\left(\Pi_ {t - 1} ^ {W}\right) ^ {\chi_ {x}}}{\Pi_ {t} ^ {x}}\right) ^ {1 - \varepsilon_ {x}} + (1 - \theta_ {x}) \left(\Pi_ {t} ^ {x ^ {*}}\right) ^ {1 - \varepsilon_ {x}}\]

Evolution of Net Foreign Assets

To close the foreign sector, we have to determine the evolution of net foreign assets. The

balance of payments, including the premium on foreign holdings, evolves as follows:

\[\int_ {0} ^ {1} e x _ {t} b _ {j t} ^ {W} d j = R _ {t - 1} ^ {W} \Gamma \left(e x _ {t} \widetilde {b} _ {t - 1} ^ {W}, \xi_ {t - 1} ^ {b W}\right) e x _ {t} \frac {1}{\gamma_ {t} ^ {L}} \int_ {0} ^ {1} b _ {j t - 1} ^ {W} d j + e x _ {t} p _ {t} ^ {x} y _ {t} ^ {x} - e x _ {t} p _ {t} ^ {W} M _ {t}\]

where we have used the fact that:

\[\int_ {0} ^ {1} p _ {i t} ^ {x} y _ {i t} ^ {x} d i = \int_ {0} ^ {1} p _ {i t} ^ {x} \left(\frac {p _ {i t} ^ {x}}{p _ {t} ^ {x}}\right) ^ {- \varepsilon_ {x}} y _ {t} ^ {x} d i = (p _ {t} ^ {x}) ^ {\varepsilon_ {x}} y _ {t} ^ {x} \int_ {0} ^ {1} (p _ {i t} ^ {x}) ^ {1 - \varepsilon_ {x}} d i = p _ {t} ^ {x} y _ {t} ^ {x}\]

3.5. The Monetary Authority

Monetary policy is controlled by the ECB, which sets the nominal interest rates for the euro area according to the Taylor rule:

\[\frac {R _ {t}}{R} = \left(\frac {R _ {t - 1}}{R}\right) ^ {\gamma_ {R}} \left(\left(\frac {\Pi_ {t} ^ {E A}}{\Pi^ {E A}}\right) ^ {\gamma_ {\Pi}} \left(\frac {\gamma_ {t} ^ {L ^ {E A}} \frac {y _ {t} ^ {E A}}{y _ {t - 1} ^ {E A}}}{\exp (\Lambda_ {L ^ {E A}} + \Lambda_ {y ^ {E A}})}\right) ^ {\gamma_ {y}}\right) ^ {1 - \gamma_ {R}} \exp (\xi_ {t} ^ {m})\]

through open market operations, where represents the euro area target level of inflation, R euro area steady state nominal gross return of capital, and the euro area steady state gross growth rate of . The term is a random shock to monetary policy that follows where . The presence of the previous period interest rate, , is justified because we want to match the smooth profile of the interest rate over time observed in the data. Note that R is beyond the control of the monetary authority, since it is equal to the steady state real gross return of capital plus the target level of inflation.

The Spanish economy contributes to the euro area inflation and output according to its relative size. Ideally, we would like to account for how shocks to the Spanish economy afect euro area variables and through those, to . Unfortunately, in practice, it is dificult to solve a DSGE model taking Spain’s behavior as implied by the model and the rest of the euro data as given. This is because, given the small weight of Spain in the euro area aggregate (10 percent), the indeterminacy region of such a model is so large that the model becomes nearly useless. One way to solve this problem is to build a model of a two-country small open monetary area, like BEMOD (Andrés, Burriel, and Estrada, 2006). However, we avoid this route because we fear it would make us lose focus.

Instead, we adopt two alternative approaches depending on the objective of the exercise. In the first approach, we assume the domestic economy has an independent local monetary policy that sets the nominal interest rate. This is equivalent to setting a weight of 1 for Spain’s aggregates in the Taylor rule above. This would correspond to the time before the euro area was set up and we use it when estimating the model over the whole sample period (1986-2007). We also employ it when doing a historical decomposition of shocks and in some counterfactual exercises. In the second approach, we assume Spain is too small to have a significant influence on the ECB’s Taylor rule. Thus, changes in Spanish conditions do not afect , which is determined by the Taylor rule above, evaluated at the observed (or forecasted) values of euro area variables. This is the approach we use when estimating over the most recent period (1997-2007) or when we do policy analysis related to the current situation.

3.6. The Government Problem

The per capita government budget constraint is:

\[\begin{array}{r} \widetilde {b} _ {t} = \frac {g _ {t} z _ {t}}{y _ {t} ^ {d}} + \frac {T _ {t}}{y _ {t} ^ {d}} + \frac {\frac {m _ {t - 1}}{p _ {t - 1}}}{\gamma_ {t} ^ {L} y _ {t} ^ {d} \Pi_ {t}} + \frac {R _ {t - 1} \widetilde {b} _ {t - 1}}{\gamma_ {t} ^ {L} \Pi_ {t} y _ {t} ^ {d}} \\ - (r _ {t} u _ {j t} - \mu_ {t} ^ {- 1} \delta) \tau_ {k} \frac {k _ {t - 1}}{y _ {t} ^ {d}} - \tau_ {w} w _ {t} \frac {l _ {t} ^ {d}}{y _ {t} ^ {d}} - \tau_ {c} \frac {p _ {t} ^ {c}}{p _ {t}} \frac {c _ {t}}{y _ {t} ^ {d}} - \frac {\frac {m _ {t}}{p _ {t}}}{y _ {t} ^ {d}} \end{array}\]

where we have redefined the level of outstanding debt as a proportion of nominal output as The level of real government consumption appears multiplied by to keep it ea stationary share of output, which is exogenous and determined according to a stochastic process:

\[\log g _ {t} = \left(1 - \rho_ {g}\right) \log g + \rho_ {g} \log g _ {t - 1} + \sigma_ {g} \varepsilon_ {g, t} \mathrm{where} \varepsilon_ {g, t} \sim \mathcal {N} (0, 1),\]

Fiscal policy must be designed to prevent the level of debt from exploding. Since all tax rates are assumed to be constant, we assume that lump-sum taxes as a proportion of output in per capita terms respond suficiently to prevent deviations of the level of debt as a proportion of output from target ):

\[\frac {T _ {t}}{y _ {t} ^ {d}} = T _ {0} - T _ {1} \left(\widetilde {b} _ {t} - \overline {{\widetilde {b}}}\right)\]

3.7. Aggregation

To close the model, we need aggregation conditions for each of the markets considered: goods, labor, import, and export markets. In the case of the goods market, we start from the expression for per capita aggregate demand of the domestic final good:

\[y _ {t} ^ {d} = c _ {t} ^ {d} + i _ {t} ^ {d} + g _ {t} z _ {t} + \mu_ {t} ^ {- 1} \Phi [ u _ {t} ] k _ {t - 1} + x _ {t},\]

gt
6One can show that the government budget constraint is correct by inserting it into the households’ budget constraint (evaluated at the aggregate level), which implies that all of the tax terms except gt cancel out.

Then, we use the equation determining the demand for each intermediate producer’s good and the production function , and integrating over all firms, we get the aggregate condition of the goods market:

\[n ^ {c} \left(\frac {p _ {t}}{p _ {t} ^ {c}}\right) ^ {- \varepsilon_ {c}} c _ {t} + n ^ {i} \left(\frac {p _ {t}}{p _ {t} ^ {i}}\right) ^ {- \varepsilon_ {i}} i _ {t} + g _ {t} z _ {t} + \mu_ {t} ^ {- 1} \Phi [ u _ {t} ] k _ {t - 1} + x _ {t} = \frac {A _ {t} (u _ {t} k _ {t - 1}) ^ {\alpha} (l _ {t} ^ {d}) ^ {1 - \alpha} - \phi z _ {t}}{v _ {t} ^ {p}}\]

where measures the impact of the price distribution on output. To get this result, we have used the fact that all of the intermediate good producers have the same optimal capital-labor ratio and that by market clearing:

\[\begin{array}{r c l} {l _ {t} ^ {d}} & = & {\int_ {0} ^ {1} l _ {i t} ^ {d} d i} \\ {u _ {t} k _ {t - 1}} & = & {\int_ {0} ^ {1} k _ {i t - 1} d i} \end{array}\]

To close the labor market, we start with the demand for household’s labor services and integrate over all households to get the condition equating (per capita) aggregate labor demand and supply (lt)

\[l _ {t} ^ {d} = \frac {1}{v _ {t} ^ {w}} l _ {t}.\]

where measures the impact of the wage distribution on employment.

In the case of the imported goods market, using the definition of aggregate imports and the fact that its production is distributed to households as imported consumption and investment , we get:

\[M _ {t} = v _ {t} ^ {M} \left[ \mathbb {E} _ {t} \Omega_ {t + 1} ^ {c} (1 - n ^ {c}) \left(\frac {p _ {t} ^ {M}}{p _ {t} ^ {c}}\right) ^ {- \varepsilon_ {c}} c _ {t} + \mathbb {E} _ {t} \Omega_ {t + 1} ^ {i} (1 - n ^ {i}) \left(\frac {p _ {t} ^ {M}}{p _ {t} ^ {i}}\right) ^ {- \varepsilon_ {i}} i _ {t} \right]\]

where di measures the impact of price dispersion in the output of this sector and

\[\mathbb {E} _ {t} \Omega_ {t + 1} ^ {s} = \frac {\left[ 1 - \beta (1 - n ^ {s}) ^ {\frac {1}{\varepsilon_ {s}}} \mathbb {E} _ {t} \frac {\gamma_ {t + 1} ^ {L} \lambda_ {t + 1}}{\lambda_ {t}} \left(\frac {p _ {t} ^ {s}}{p _ {t} ^ {M}}\right) \Pi_ {t + 1} ^ {s} \left(\frac {s _ {t + 1}}{s _ {t + 1} ^ {M} (1 - \Gamma_ {t + 1} ^ {s})}\right) ^ {\frac {1}{\varepsilon_ {s}}} \Gamma_ {t + 1} ^ {s \prime} \frac {\left(\Delta s _ {t + 1} ^ {M}\right) ^ {2}}{\Delta s _ {t + 1}} \right] ^ {- \varepsilon_ {s}}}{(1 - \Gamma_ {t} ^ {s}) [ 1 - \Gamma_ {t} ^ {s} - \Gamma_ {t} ^ {s \prime} (\frac {\Delta s _ {t} ^ {M}}{\Delta s _ {t}}) ] ^ {- \varepsilon_ {s}}}\]

for

In the exported goods market, using the definition of exports and the demand functions for their output

\[y _ {i t} ^ {x} = \left(\frac {p _ {i t} ^ {x}}{p _ {t} ^ {x}}\right) ^ {- \varepsilon_ {x}} \left(\frac {p _ {t} ^ {x}}{p _ {t} ^ {W}}\right) ^ {- \varepsilon_ {W}} y _ {t} ^ {W}\]

we have that aggregate exports are equal to

\[x _ {t} = v _ {t} ^ {x} y _ {t} ^ {x} = v _ {t} ^ {x} \left(\frac {p _ {t} ^ {x}}{p _ {t} ^ {W}}\right) ^ {- \varepsilon_ {W}} y _ {t} ^ {W}\]

where

Finally, by the properties of price indices under Calvo’s pricing mechanism, price dispersions evolve according to:

\[\begin{array}{r c l} v _ {t} ^ {p} & = & \theta_ {p} \left(\frac {\Pi_ {t - 1} ^ {\chi}}{\Pi_ {t}}\right) ^ {- \varepsilon} v _ {t - 1} ^ {p} + (1 - \theta_ {p}) (\Pi_ {t} ^ {*}) ^ {- \varepsilon} \\ v _ {t} ^ {w} & = & \theta_ {w} \left(\frac {w _ {t - 1}}{w _ {t}} \frac {\Pi_ {t - 1} ^ {\chi_ {w}}}{\Pi_ {t}}\right) ^ {- \eta} v _ {t - 1} ^ {w} + (1 - \theta_ {w}) (\Pi_ {t} ^ {* w}) ^ {- \eta} \\ v _ {t} ^ {M} & = & \theta_ {M} \left(\frac {(\Pi_ {t - 1} ^ {M}) ^ {\chi_ {M}}}{\Pi_ {t} ^ {M}}\right) ^ {- \varepsilon_ {M}} v _ {t - 1} ^ {M} + (1 - \theta_ {M}) (\Pi_ {t} ^ {M ^ {*}}) ^ {- \varepsilon_ {M}} \\ v _ {t} ^ {x} & = & \theta_ {x} \left(\frac {(\Pi_ {t - 1} ^ {W}) ^ {\chi_ {x}}}{\Pi_ {t} ^ {x}}\right) ^ {- \varepsilon_ {x}} v _ {t - 1} ^ {x} + (1 - \theta_ {x}) (\Pi_ {t} ^ {x ^ {*}}) ^ {- \varepsilon_ {x}}. \end{array}\]

4. Equilibrium and Model Solution

The definition of equilibrium in this economy is standard and we omit it in the interest of space. Since there is growth in the model induced by technological change, most of the variables are growing on average along the equilibrium path.7 Before we can solve the model, we need to rescale all the relevant variables to obtain a system of stationary variables. Hence, we define e, and the growth rates e. In addition, we e eexpress all the relative prices in terms of the vector . To solve the model, we find the steady state and log-linearize the equilibrium conditions around it. For completeness, the full set of non-linear and log-linearized equilibrium conditions is included in the appendix.

7Population growth does not appear explicitly in the equilibrium since the variables are already expressed in per capita terms.

4.1. The Steady State

Now, we find the deterministic steady state of the model. We know several of its properties. First, the law of one price must hold, . Second, the exchange rate is assumed to be constant , which means that the domestic nominal interest rate is equal to the world nominal interest rate , and the net foreign asset position is assumed to be equal to zero (expressed in domestic currency), so that nominal exports equal nominal imports . Third, let 2 , and . Also, given the definition of e, and , we have ethat , and and

In addition, we need to choose functional forms for all of the adjustment cost functions in the model: and . For , we pick: Since in the steady state we normalize , and . The investment adjustment cost function is expressed in terms of quadratic deviations with respect to the average growth of investment:

\[S \left[ \gamma_ {t} ^ {L} \frac {\widetilde {i} _ {t}}{\widetilde {i} _ {t - 1}} \widetilde {z} _ {t} \right] = S \left[ \frac {i _ {t}}{i _ {t - 1}} \right] = \frac {\kappa}{2} (\gamma_ {t} ^ {L} \frac {\widetilde {i} _ {t}}{\widetilde {i} _ {t - 1}} \widetilde {z} _ {t} - \Lambda_ {i}) ^ {2}.\]

Then, along the balanced growth path, . Finally, the imports eadjustment cost function along the balanced growth path is

\[\Gamma^ {s} = \frac {\Gamma^ {s}}{2} \left(\frac {s ^ {M}}{s} \bigg / \frac {s ^ {M}}{s} - 1\right) ^ {2},\]

thus . With respect to the adjustment cost of the premium for holding foreign assets, we assume:

\[\Gamma \left(e x _ {t} \widetilde {b} _ {t} ^ {*}, \xi_ {t} ^ {b ^ {*}}\right) = e ^ {\left(- \Gamma^ {b ^ {*}} \left(e x _ {t} \widetilde {b} _ {t} ^ {*} - e x \widetilde {b} ^ {*}\right) + \xi_ {t} ^ {b ^ {*}}\right)}.\]

Since in the steady state the domestic and world interest rates are the same, we have and

e eTherefore, using these results and the equilibrium conditions we can simplify the steady state to the following set of equations determining , while all the rest of the variables are recursive to these:

\[\widetilde {k} = \left(\frac {\alpha}{1 - \alpha} \frac {\widetilde {w}}{\widetilde {r}} \widetilde {z} \widetilde {\mu}\right) l ^ {d} = \Omega l ^ {d}.\]

\[\widetilde {y} ^ {d} = \frac {\frac {\widetilde {A}}{\widetilde {z}} \widetilde {k} ^ {\alpha} (l ^ {d}) ^ {1 - \alpha} - \phi}{v ^ {p}}\]

\[\widetilde {i} = \left(\frac {\gamma^ {L} - (1 - \delta)}{\widetilde {\mu} \widetilde {z}}\right) \widetilde {k}\]

\[\widetilde {c} = \frac {1}{n ^ {c}} \left(\frac {p ^ {c}}{p}\right) ^ {- \varepsilon_ {c}} \left[ \widetilde {y} ^ {d} - n ^ {i} \left(\frac {p ^ {i}}{p}\right) ^ {\varepsilon_ {i}} \widetilde {i} - v ^ {x} \frac {\left(\frac {e x p ^ {W}}{p}\right)}{\left(\frac {e x p ^ {x}}{p}\right)} \widetilde {M} - g \right]\]

\[\widetilde {M} = v ^ {M} \left[ (1 - n ^ {c}) \left[ \frac {\left(\frac {p ^ {M}}{p}\right)}{\left(\frac {p ^ {c}}{p}\right)} \right] ^ {- \varepsilon_ {c}} \widetilde {c} + (1 - n ^ {i}) \left[ \frac {\left(\frac {p ^ {M}}{p}\right)}{\left(\frac {p ^ {i}}{p}\right)} \right] ^ {- \varepsilon_ {i}} \widetilde {i} \right]\]

\[\widetilde {\lambda} = \left(\frac {\widetilde {z} - h \beta \gamma^ {L}}{\widetilde {z} - h}\right) \frac {1}{\widetilde {c} (1 + \tau_ {c}) \frac {p ^ {c}}{p}}\]

\[\frac {1 - \beta \theta_ {w} \widetilde {z} ^ {\eta (1 + \vartheta)} \Pi^ {\eta (1 - \chi_ {w}) (1 + \vartheta)} \gamma^ {L}}{1 - \beta \theta_ {w} \widetilde {z} ^ {\eta - 1} \Pi^ {- (1 - \chi_ {w}) (1 - \eta)} \gamma^ {L}} = \frac {\psi (\frac {\widetilde {w} ^ {*}}{\widetilde {w}}) ^ {- \eta \vartheta} (l ^ {d}) ^ {\vartheta}}{\frac {\eta - 1}{\eta} (1 - \tau_ {w}) \widetilde {w} ^ {*} \widetilde {\lambda}}\]

Or alternatively, after some algebra, we have the following equation on

\[\begin{array}{r l} & {\frac {1 - \beta \theta_ {w} \widetilde {z} ^ {\eta (1 + \vartheta)} \Pi^ {\eta (1 - \chi_ {w}) (1 + \vartheta)} \gamma^ {L}}{1 - \beta \theta_ {w} \widetilde {z} ^ {\eta - 1} \Pi^ {- (1 - \chi_ {w}) (1 - \eta)} \gamma^ {L}} = \frac {\psi (\frac {\widetilde {w} ^ {*}}{\widetilde {w}}) ^ {- \eta \vartheta} (l ^ {d}) ^ {\vartheta}}{\frac {\eta - 1}{\eta} (1 - \tau_ {w}) \widetilde {w} ^ {*}} \left(\frac {\widetilde {z} - h}{\widetilde {z} - h \beta \gamma^ {L}}\right) *} \\ & {* \left\{\frac {(1 + \tau_ {c})}{\Lambda^ {c}} (\frac {p ^ {c}}{p}) ^ {1 - \varepsilon_ {c}} \left[ \begin{array}{c} [ \frac {\widetilde {A}}{\widetilde {z}} \Omega^ {\alpha} (v ^ {p}) ^ {- 1} - \Lambda^ {i} (\frac {p ^ {i}}{p}) ^ {\varepsilon_ {i}} (\frac {\gamma^ {L} - (1 - \delta)}{\widetilde {\mu} \widetilde {z}}) \Omega ] l ^ {d} \\ - \phi (v ^ {p}) ^ {- 1} - g \end{array} \right] \right\}} \end{array}\]

This is a non-linear equation that we solve for with a root finder. Note that and are functions of parameters of the model, Π and e eare parameters to be estimated, and and are exogenously given.

5. Estimating the Model

As motivated in the introduction, we will confront our model with the data using Bayesian methods. Formally, we stack all the parameters in the model in the vector and we elicit a prior distribution for them, . The model implies a likelihood given some observed data, . Then, we have the posterior distribution of :

\[p (\Psi | Y ^ {T}) \propto p (Y ^ {T} | \Psi) p (\Psi),\]

where indicates proportionality. The posterior summarizes the uncertainty regarding the parameter values and it can be used for point estimation once we have specified a loss function. For example, under a quadratic loss, our point estimates will be the mean of the posterior. Since the posterior is also dificult to characterize, we generate draws from it using a Metropolis-Hastings algorithm. We use the resulting empirical distribution to obtain point estimates, standard deviations, etc.

5.1. Data

We use time series for 9 variables to estimate MEDEA (see figure 1): real GDP growth , real private consumption growth , total employment in hours growth real compensation per hour growth (total compensation/total hours/GDP deflator) , consumption deflator inflation , total population over 16 years of age growth euro area nominal interest rate , inflation of Spanish competitors prices , and Spain’s foreign demand growth . All the time series are taken from national accounts published by INE, except for the foreign-sector variables and the nominal interest rate, which come from the database developed for the REMS model (BDREMS).8 We have excluded real investment (or the investment deflator) from the baseline estimation since it has grown in the last decade at an unprecedented pace, mainly due to the construction sector, which we believe would be dificult to explain using a model without housing and financial frictions (see Andrés and Arce, 2008, for a theoretical model tackling this issue). Nevertheless, we check the robustness of this baseline estimation by adding real investment, investment deflator inflation, or public consumption.

The choice of the sample period over which to estimate the parameters of the model is controversial. There have been significant changes in the Spanish economy since the midnineties, mainly related to the set-up of the euro area but also to the increase in labor force participation and the large immigration flows. Some papers in the literature have thus decided to use only the period since the euro area was conceived, that is, from 1997 onward. In this way, these papers avoid having to deal with structural breaks in the sample and with the change in the implementation of monetary policy. However, since it is likely that the impact of the creation of the monetary union lasted for several years after 1997, it is not certain that the structural break problem will disappear. Moreover, this will not avoid the other structural changes such as immigration. The main drawback of this approach is, however, that the sample becomes fairly short, probably requiring tighter priors in the estimation.

Instead, in this paper we have decided to proceed in three stages. First, we use data for the full sample 1986-2007, as if Spain had had an independent monetary policy during this period. This allows us to set fairly loose priors and let the data speak up as much as possible.

8The BDREMS database is described in Boscá et al. (2008) and is available for open download at: http://www.sgpg.pap.meh.es/SGPG/Cln_Principal/Presupuestos/Documentacion/BasedatosmodeloREMS.htm

We had to drop the data before 1986 because the changes in the structure of the Spanish economy in the early eighties were too substantial. Second, we check the stability of the point estimates by estimating the model separately for two subsamples but maintaining the assumption of an independent monetary authority: one for the period before the euro area was set up (1986-1996) and the other from 1997 onward. Third, the model is re-estimated over the most recent subsample assuming Spain has no independent monetary policy; that is, the interest rate is exogenous and the exchange rate is constant.

The model incorporates economic growth. Therefore, to take the model to the data, it is not necessary to transform our observables. Instead, we add transition equations to our state space representation relating model and empirical variables. These transition equations account for the following diferences. First, in the log-linearized version of the model, all variables are expressed as log deviations with respect to their steady state value. Second, all variables in the model are expressed in per capita terms dividing by the population Third, some real variables in the model are made stationary by dividing by . Therefore, in the case of real per capita variables, like real GDP per capita, the growth rate of the empirical variable is equal to the growth rate of the model variable (in per capita terms) plus population growth :

\[\triangle \log y _ {t} ^ {d, O} = \Delta \log y _ {t} + \gamma_ {t} ^ {L}\]

But the variable included in the stationary log-linearized version of the model is which has bebeen made stationary by dividing by technology and expressed as a deviation with respect to the steady state . The same point applies to the growth rate of technology . Considering all of this, the transition equation for real per e ecapita variables, such as output, is

\[\triangle \log y _ {t} ^ {d, O} = \Delta \log y _ {t} + \gamma_ {t} ^ {L} = \Delta \widehat {\widetilde {y}} _ {t} + \widehat {\widetilde {z}} _ {t} + \widehat {\gamma} _ {t} ^ {L} + \log \widetilde {z} + \gamma^ {L}\]

An exception is employment in hours, which is stationary in per capita terms in the model , so we only have to add population growth:

\[\triangle \log l _ {t} ^ {d, O} = \Delta \log l _ {t} ^ {d} + \gamma_ {t} ^ {L} = \Delta \widehat {l} _ {t} ^ {d} + \widehat {\gamma} _ {t} ^ {L} + \gamma^ {L}\]

In the case of nominal variables, such as inflation and interest rates, model and empirical

variables are the same, so we express them as deviation with respect to the steady state:

\[\begin{array}{r c l} \log \Pi_ {t} ^ {c, O} & = & \widehat {\Pi} _ {t} ^ {c} + \log \Pi^ {c} \\ \log R _ {t} ^ {O} & = & \widehat {R} _ {t} + \log R \end{array}\]

5.2. Calibration and Prior Distributions

The model has 59 parameters, 12 of which are calibrated and the remaining estimated. The calibration is shown in table 1. Several theoretical and empirical reasons explain why one may not want to estimate all the parameters of the model. First, some parameters are dificult to identify with the model structure, such as the discount factor . This parameter is set to be consistent with an annualized nominal interest rate of 2.5 percent and an inflation objective of 2 percent, so that the steady state annual nominal interest rate is 4.5 percent. Second, other parameters such as the depreciation rate δ or the labor share are better estimated using micro data, while others would require adding more data series to the estimation, such as the three tax rates . Third, there are parameters that are irrelevant for the model solution, such as the coeficient of money demand in the utility function, υ. Finally, the parameters of the Taylor rule are set equal to the standard estimation results for the euro area. The two fiscal parameters have not yet been included in the estimation and thus are set to their empirical values.

The first vertical panel of table 2 summarizes our assumptions regarding prior distributions for the estimated parameters. Our approach has been to set priors as loose as possible. Therefore, for most parameters, we have chosen as our priors uniform distributions with a range covering all the theoretically feasible values. In particular, we have set a range of (0, 1), for the labor supply coeficient, price and wage Calvo and indexation parameters, adjustment cost parameters, autoregressive coeficients (except the labor supply shock for which we have chosen (0, 0.9)), and the standard deviations of shocks. In the case of the elasticity of substitution parameters, we have set a range of (6, 10). In the case of the habits coeficient and the home bias coeficients, we have imposed stronger priors by assuming beta distributions, because the data moved them toward unrealistic parameter values. Finally, we also set beta distributions for the parameters determining growth in the model, to help identify them.9

9Unfortunately, for some parameters (in particular, those related to the open sector of the economy), uniform priors seem to bring insuficient information for some empirical exercises. We need a more thorough assessment of the robustness of the empirical estimates with respect to priors.

5.3. Estimation Results

The right-hand panel of table 2 presents the estimation results for the full sample (1986Q1- 2007Q4). Table 3 presents the results for the two subsamples considered (1986Q1-1996Q4 and 1997Q1-2007Q4) as well as the model without independent monetary policy. The columns of both tables report the mean, mode, median, standard deviation, and the 5th and 95th percentiles of the posterior distribution of the parameters. All of them are computed using a Metropolis-Hastings algorithm in Dynare, based on a Markov chain with 5 million draws, with the first 2.5 million draws being discarded as burn-in draws, and the appropriate acceptance ration (Roberts, Gelman, and Gilks, 1997).

We start by studying the goodness of the estimation. We have implemented standard convergence diagnostic tests, which show that the draws of the posterior sampling converged for all of the estimated parameters (see Mengersen, Robert, and Guihenneuc-Jouyaux, 1999). Details are available upon request. Moreover, the smoothed estimates of the innovation component of structural shocks (see figure 2) are clearly stationary. Note that the variance of the shocks seems to have fallen in the second part of the sample, with the exception of the population growth shock, which has increased, in line with the rise in population growth in Spain over the last decade.

Another way to check the quality of the estimation is by comparing the prior and posterior distributions of each parameter, as shown by figures 3-7. In general, the results show that the data are very informative about the posterior distribution of the parameters. An exception is the elasticity of substitution of investment goods (εi), with a twin-peaked posterior distribution, although both peaks imply fairly similar estimates. More relevant is the fact that the data contain little information on the posterior distribution of the steady state growth rate of technology and population (the posterior lies on top of the beta prior), the coeficient of the fiscal rule (T1), and the adjustment cost parameter of imported consumption (Γc). In the case of the growth rates, we have set fairly tight priors centered on the sample means of observed growth rates of population and output per capita. Given this result, one should be cautious when making inferences about the relative importance in the observed data of the drifts in technological growth (neutral and investment specific) included in the model.

Moving to the point estimates, a number of findings are worth noting. First, the estimates of the utility parameters are quite standard. The data strongly support a high estimate of habit persistence, which is not surprising given the persistence of observed consumption, while fixed costs of production are very close to zero. The Frisch elasticity posterior mean of 1.83 is in line with most estimations for other countries and rather plausible once we think about both the intensive and the extensive margin of labor supply.

Second, the estimated elasticities of substitution between diferent types of intermediate goods produced are relatively similar, implying a mark-up between 13.5 percent in the case of domestic goods and 12 percent in the case of export goods, while the wage mark-up is somewhat higher, at around 15 percent. This is not surprising given the rigidities of the Spanish labor market, where wages are mainly set by insiders with long-term contracts and thus high bargaining power. The estimates are also similar for the demand elasticity of substitution between imported and domestically produced goods. In contrast, the adjustment cost parameter associated with changing the import content varies substantially across both types of goods. We estimate that the adjustment cost is much higher for investment. Moreover, the data are very informative about this. This is evidence of the technological constraints that the Spanish economy still faces in areas such as advanced capital goods or IT, which require a large import content.

Third, on the nominal side, we find important diferences across sectors of the economy. The estimate of the Calvo parameter is very high for intermediate domestic goods, although not diferent from values generally obtained for the euro area (Smets and Wouters, 2003), but quite low for the import and export intermediate goods. The same is true for wages. In contrast, indexation is very close to one for wages,which seems the direct consequence of the (ex-ante) indexation mechanism inherent in Spanish wage agreements. However, indexation is non-existent in prices of domestically produced goods, while indexation is a bit higher in the import and export sectors. These diferences across sectors of production and the labor market are strongly supported in the data.

Fourth, the estimation confirms the evidence in input-output tables that in Spain there is a much stronger home bias in consumption than investment (remember our earlier comment about the technological constraints faced by our economy). However, the point estimates are too large given the micro evidence. Nevertheless, the data are very informative about this result, since imposing tighter priors does not change the results, even when data on real investment or on the investment deflator are used (see table 5).

Finally, the point estimates for the autoregressive parameters of shock processes show that domestic shocks are very persistent, especially those related to demand, public consumption, and preferences. This may suggest that the model has some dificulty endogenously generating the level of persistence present in the data and, thus, it opts for these exogenous shocks to be highly persistent. Alternatively, one could argue that this is the consequence of a structural break in the data, but this hypothesis is rejected when the estimation is performed recursively over the final sample (see table 4). In comparison, the foreign demand and inflation shocks have much lower persistence.

5.4. Subsample Analysis and Robustness

Comparing the results across the two subsamples (see table 3), we observe that the point estimates are rather similar for most parameters. This suggests that our fears about pervasive structural breaks over the most recent years may have been exaggerated. The recursive estimation in table 4 confirms this impression. The exception is the standard deviation of shocks, which have all fallen markedly, except for the population shock, which has increased. This was already noticeable in the graph of the innovations for the whole sample period. This seems to be another manifestation of the “great moderation” that the western economies experienced from 1984 to 2007 (McConnell and Pérez-Quirós, 2000, and Stock and Watson, 2003).

In addition, the estimate of the adjustment cost of the import content of consumption and investment goods is larger for the most recent sample. Finally, the estimated elasticities of substitution suggest a more competitive economy since 1997, with slightly lower steady-state mark-ups, especially for domestic goods (13 percent versus 15 percent), and more flexible prices, while wages have become stickier and more persistent.

When the model is estimated assuming an exogenous monetary policy (see third panel of table 3), the estimates of open economy and monetary policy parameters change markedly. In particular, the mark-up on imports, exports, and world goods rises and the premium on foreign interest rate falls, while domestic prices become more flexible and competitive. Moreover, since the interest rate does not react to Spanish economic conditions, the standard deviation of the Taylor rule shock rises greatly. This suggests that more informative priors for these parameters may help the model to deliver a more consistent performance.

Finally, several robustness checks have been performed. First, a recursive estimation (adding two years every time) over the most recent period (see table 4) confirms that there are very few signs of structural instability in our sample, since most parameters change little and gradually, with the exception of the fixed cost of production and the indexation of import prices. Second, adding real investment to the estimation has a significant impact on the point estimates (see the second panel of table 5), reducing most steady-state markups (except for domestic prices, which increase) and increasing price indexation parameters. This is not surprising given that investment has grown very quickly during the last economic cycle, especially due to housing investment. However, our model is not able (and it was not designed) to account for the boom in housing investment. Third, adding the investment deflator or public consumption afects the estimation results only marginally (see the last two panels of table 5).

6. Applications

In this section, we consider a number of properties and applications of our model to illustrate the contributions that MEDEA can make to policy analysis. First, we briefly describe the basic properties of the model. In the interest of space, we ofer only some concise information. Second, we show how the model can help in understanding the evolution of the Spanish economy over the last several decades by interpreting historical developments through the lens of equilibrium theory. Many of the answers that MEDEA will give us are not surprising and either have been suggested before by the literature or fit into our economic intuition (although it is comforting to have a quantitative corroboration), but others will be relatively new. Third, we evaluate the impact and dynamics after a change in some relevant steady state parameters. Finally, we illustrate how MEDEA can be used to conduct alternative scenarios for observed variables. This exercise is particularly important for the assessment of policy interventions by the government and the monetary authority.

6.1. Model Properties

Table 6 reports the steady state ratios implied by our point estimates. The ratios are comparable to the ones observed in the data, and in the case of ratios for which the data are less precise (such as the capital/output ratio), we have values that are comparable to the numbers usually employed in the literature. In addition, in the class of DSGE models to which MEDEA belongs, small changes in steady state ratios have only second-order efects on the dynamics of aggregate variables.

Figures 8 to 13 show the impulse response functions (IRFs) to some of the stochastic shocks of the model, as well as the 5 and 95 percent confidence bands implied by the posterior distribution of parameters. Since there is growth in the model due to technological progress and the increase in population, the real variables in our solution are expressed in per capita eficiency units. In some cases, mainly supply-side shocks, the behavior of variables defined in this way may seem confusing. Thus, we show instead in the simulations the growth rates of real variables expressed in the same units as in the data. That is, for example gyobs is equal to total real GDP growth. In all cases, we show a one-standard-deviation shock to the corresponding innovation. In all figures 8 to 13, the order of variables (from left to right and from top to bottom) is output growth, consumption growth, investment growth, hours growth, wage per hour growth, imports growth, exports growth, consumption deflator, imports deflator, nominal interest rate, and real interest rate.

Figure 8 reports the IRFs for a neutral technology shock. In a rather standard way, output, consumption, and investment respond positively to the shock. Hours fall at impact (with sticky prices and wages, the demand for total labor services is rigid in the short run and since, thanks to the technological shocks, we need less labor to produce the same output, firms hire fewer workers), but they recover in the second quarter and become positive. Prices and the nominal interest rate go down because of higher productivity (marginal cost falls and the monetary authority is less worried about inflation).

Figure 9 plots the IRFs for an investment-specific technological shock. Here, investment goes up rapidly, but since the economy is not more productive in the short run, it has to do so at the expense of lower consumption and longer hours. Note that the impact on hours is the opposite of that in the previous case: now it goes up and then falls. Our model, thus, reproduces the insights of Fisher (2006), who emphasizes that the response of hours to technological shocks depends on the specifics of the technological process assumed by the model. Imports rise because we want to invest more and exports increase at impact (to later fall) because the investment-specific technological shock makes the national investment product relatively cheap in the world market. Consumption prices increase because fewer resources are concentrated in its production.

The IRFs to a population growth shock are drawn in figure 10. Output, investment, and imports grow (we have more workers and we need more capital for them). Interestingly, the consumption deflator goes down because the arrival of new workers lowers wages at impact. Figure 11 displays the IRFs of a labor supply shock. Figure 11 is nearly the opposite view of figure 10: a labor supply shock reduces hours worked for all levels of wages, and therefore, it works in nearly the same way as an increase in population. Figures 10 and 11 suggest that part of the reason why Spain has had such high levels of investment and imports over the last decade is that there have been large immigration flows.

Figures 12 and 13 show the responses of the economy to two important policy shocks: a shock to monetary policy and a shock to government consumption. Two aspects are relevant. One, both shocks have an expansionary efect (as conventionally done, figure 12 is expressed in terms of a rise in the interest rate, so to think about a fall in the nominal rate, the reader only needs to flip the lines). Second, the expansionary efect is, however, rather small. For instance, the multiplier of a shock to government consumption is slightly less than 0.8 and it rapidly falls to zero. Moreover, shocks to government consumption are associated with falls in consumption and investment (given the low impact multiplier, this is nearly an accounting truism) and increases in prices. Thus, MEDEA does not support the view that increases in government consumption are efective tools for stabilizing output. On the positive side, figure 12 tells us that monetary shocks seem efective in controlling inflation in a relatively fast way.

6.2. Historical Decompositions

MEDEA can be used to investigate what the driving forces have been behind Spanish economic growth during the last three decades by decomposing the observed GDP growth into the contributions of the structural shocks. The summary results are reported in figure 14 and in table 7a. To facilitate the presentation, we group the shocks into five categories: technology shocks, labor shocks, demand shocks, fiscal and monetary policy shocks, and foreign shocks. Then, figures 15 and 16 and table 7b decompose the contribution of labor supply shocks into labor participation (preference between work and leisure) and population growth (creation of new households in the economy), and the contribution of technology into neutral and investment-specific components.

Looking at the period as a whole, the main contributors to growth have been the labor supply, mainly population, and demand shocks. Each of them accounts for around 40 percent (1.3 percentage points, p.p. hereafter) of real GDP growth. Productivity is the third factor in importance explaining over 15 percent (0.5 p.p.). The remaining shocks explain little over the long run, something that we could have expected from a neoclassical growth model (such as the one at the core of our paper). This main picture presents a scenario of a Spanish economy that has enjoyed many years of good shocks (immigration, incorporation of women and younger workers into the labor market, low real interest rates, positive world demand, and moderate energy prices), but that has not broken free from the historical constraints of low productivity and poor innovation.

Nevertheless, the contributions have been diferent over time. We will divide the analysis into three relevant periods: boom in the late 1980s, the crisis of 1993-95, and the expansion since then until 2007. The boom of the late eighties was characterized by large productivity growth but also by a rise in labor supply, mainly population as the large cohorts of the 1960s joined the labor market and women started to search for jobs in the market, but also by higher participation, and positive demand shocks (probably related to the reduction in uncertainty after the large crisis of the transition to democracy and the fall in oil prices). Each of these elements explains about one-third of the increase in real GDP, while fiscal policy accounts for only around 5 percent. Monetary policy and foreign shocks contributed negatively, limiting GDP growth by around 0.15 and 0.2 p.p. on average, respectively. Those two are likely explained by the tough stand that the Bank of Spain took against inflation with a policy of competitive disinflation that brought high real interest rates and high value of the peseta.

The crisis of the early nineties was characterized by a very strong negative labor supply shock, mainly due to the large increase in unemployment, which the model interprets as a reduction in labor participation. This mechanism limited growth by almost 1.9 p.p. over this period. Labor shocks did not become positive again until 1998. At the same time, the Spanish economy sufered a fairly large negative demand shock, lasting from the end of 1991 until mid 1993, that reduced GDP growth by around 1 p.p.

In contrast, the long period of continuous real GDP growth experienced since the midnineties was mainly explained by favorable labor supply and demand shocks, probably a manifestation of immigration, changes in the age composition of the population, and the adoption of the euro and the associated historically low real interest rates. Technology shocks limited growth until 2001, a moment after which its contribution became positive, although rather small.10 In addition, monetary policy shocks and foreign shocks have had a positive but much smaller contribution. Figure 15 suggests that both types of labor supply shocks have been very important, contributing on average 1.9 p.p., which represents over 50 percent of GDP growth since 1995, reaching 3.5 p.p. in the early 2000s, with population growth accounting for over 40 percent of growth and labor participation around 10 percent.

6.3. Permanent Shocks

Another application of DSGE models is to trace the consequences of permanent changes in some variables or parameters.11 For instance, we can evaluate the efects of a reduction in distortionary taxation and the impact of an increase in competition in the labor or goods market. These are but two out of many other exercises of the kind we can select. However, these two are particularly illustrative given our current downturn.

There are three types of distortionary taxes in MEDEA: a tax on capital income, on labor income, and on consumption. The first panel of table 8a reports the long-run impact of unexpectedly reducing each of these taxes by 0.5 p.p. To save on space, and since changes in the VAT have been proposed by many economists (and implemented in the U.K.) as a fiscal policy tool, we will concentrate on describing the efects of cutting the consumption tax. An unexpected reduction in the VAT by 1 p.p. has a long-run positive efect on the Spanish economy, by increasing output per capita in eficiency units and hours worked. Higher labor input pushes up the marginal productivity of capital and increases investment. On the demand side, the increase in the payments to capital and the rise in real compensation per worker (the rise in hours compensates for the fall in real wages) increase households’ income and consumption. In order to equilibrate demand and supply, the terms of trade fall to improve the external position. Figure 17 draws the transitional dynamics after the shock (to make the comparison easier, in the charts, all variables are expressed as diferences with respect to the initial steady state). Most variables move smoothly to the new steady state. The exception is the real wage, which falls initially below its long-run level and then rises back toward the new equilibrium.

10There is the caveat, however. Since the new workers joining the labor in the last decade were likely to have lower human capital than the existing workers, MEDEA might be picking up a composition efect that biases downward the contribution of technological shocks.
11The parameters of MEDEA are behavioral, in the sense that they have a clear interpretation rooted in economic theory but they are not necessarily structural in the sense of being invariant to the class of interventions we might be interested in. See Fernandez-Villaverde and Rubio-Ramirez (2008) for a more detail discussion.

The degree of competition in the goods and labor markets is determined by the mark-up over prices or wages in each case. The second panel of table 8a reports the long-run impact of unexpectedly reducing each of these mark-ups by 1 p.p. Increasing competition in the labor market reduces the wage per hour and increases the number of hours worked, expanding output per capita in eficiency units. Higher labor input pushes up the marginal productivity of capital and increases investment. The demand side is very similar to the case of a reduction of consumption taxes. During the transition to the new steady state (see figure 18), the real wage initially undershoots its long-run level and then recovers.

We complete this subsection with table 8b, which reports the long-run efects of changes in several parameters of the model.

6.4. Alternative Scenarios

The historical decomposition of GDP growth showed that population growth created by immigration has been one of the important determinants of economic growth during the recent expansion, explaining around 1.4 p.p. of GDP growth (see table 9). However, this contribution has not been constant over time. Instead, Figure 19 shows that there has been an important change in the long-run population growth rate during the sample, increasing from 0.28 percent on average over the period 1986-96 to 0.35 percent since then. Therefore, an interesting question is what would GDP growth have been had this rise in population growth not taken place (for example, if the conservative and socialist governments had followed a more restrictive immigration policy).

This important question can be easily answered with MEDEA.12 In particular, we would like to see what would have happened if population growth followed the alternative scenario depicted in figure 19 (discontinuous line). In that figure, we assume that population growth followed a path similar to the historical one, but shifted downward, so that the long-run mean is equal to the one in the first part of the sample. Figure 20 and table 9 show the impact of this alternative scenario. We find that had population grown at this alternative slower pace, GDP growth would have been 0.5 p.p. lower. That is, the population growth shock experienced in Spain in the current decade added half a percentage point to annual output growth.

12We want to be careful, though, since this exercise assumes that our parameters and the shocks recovered by the estimation are structural in the sense of being invariant to the change in population growth. This assumption may be problematic, although, unfortunately, dificult to test. We thank Fabio Canova for emphasizing this caveat to us.

7. Conclusions

In this paper, we have introduced MEDEA, a DSGE model of the Spanish economy, and estimated it with data from the last several decades. To illustrate the potentialities of MEDEA, we have applied the model to policy analysis and counterfactual evaluations. We think that our enterprise has been a success. We now have an operational model of the Spanish economy, rich enough for detailed study and yet suficiently concise to be solved and estimated with of-the-shelf software and a regular workstation. The estimates are reasonable and they tell us important lessons about how our economy works. Some we suspected, such as the diferences in behavior of investment good imports versus consumption imports, some we did not, such as the small punch of fiscal policy. The model’s performance as a forecasting tool (not a primary design consideration, but a relevant aspect nevertheless) still needs more time before we can establish it.

There are, however, many dimensions along which we would like to improve our work and make DSGE models an important element in the toolbox of policy makers. In particular, we will like to:

1. Incorporate a richer specification of fiscal policy, including tax and transfer shocks, a distinction between public consumption and public investment, and public capital in the production function. The recent active use of fiscal policy as an instrument to stabilize the economy suggests that we need a more detailed understanding of the propagation efects of fiscal policy in Spain.

2. Specify a social security system through the device of stochastic aging of households. As the Spanish population ages over the next decades and the social security system is strained to its limits, we need to know how the steady state and aggregate fluctuations will be afected by this aging and by possible re-adjustments in the system.

3. Model energy consumption more explicitly. Given the large exposure of the Spanish economy to oil shocks, this seems to be an important mechanism for understanding aggregate fluctuations.

4. Pay more attention to the behavior of the labor market. The Spanish economy’s biggest open problem has been, for over three decades, its schizophrenic labor market, a heritage of darker eras of our economic policy that no government has dared to tackle. Beyond bitterly complaining about it, our task as macroeconomists is to add to our models a more realistic description of our outmoded set of labor market institutions.

5. Incorporate a financial sector. The recent financial crisis highlights how we want to trace the efects of diferent financial shocks on the economy and how to design macroeconomic policies that help to correct the problems caused by these financial shocks.

6. Estimate the model non-linearly and allow for stochastic volatility of the shocks and possible parameter drifting.

Hopefully, the support of research institutions and of the profession in general will allow us to see MEDEA or one of her descendants grow over the next years.

References

  1. [1] Adolfson, M., S. Laséen, J. Lindé, and M. Villani (2005). “Bayesian Estimation of an Open Economy DSGE Model with Incomplete Pass-Through.” Sveriges Riksbank Working Paper Series 179.
  2. [2] An, S. and F. Schorfheide (2006). “Bayesian Analysis of DSGE Models.” Econometric Reviews 26, 113-172.
  3. [3] Andrés, J., P. Burriel, and A. Estrada (2006). “BEMOD: A DSGE Model for the Spanish Economy and the Rest of the Euro Area.” Documento de Trabajo del Banco de España 0631.
  4. [4] Andrés, J. and O. Arce (2008). “Banking Competition, Housing Prices and Macroeconomic Stability.” Documento de Trabajo del Banco de España 0830.
  5. [5] Boscá, J.E., A. Bustos, A. Díaz, R. Doménech, J. Ferri, E. Pérez, and L. Puch (2007). “A Rational Expectations Model for Simulation and Policy Evaluation of the Spanish Economy.” Documento de Trabajo de la Dirección General de Presupuestos D-2007-04.
  6. [6] Boscá, J.E., A. Díaz, R. Doménech, E. Pérez, and L. Puch (2008). “The REMSDB Macroeconomic Database of the Spanish Economy.” Documento de Trabajo de la Dirección General de Presupuestos D-2007-04.
  7. [7] Canova, F. and L. Sala (2006). “Back to Square One: Identification Issues in DSGE Models.” ECB Working Paper No. 583.
  8. [8] Chari, V.V., P. Kehoe, and E.R. McGrattan. (2007). “Business Cycle Accounting.” Econometrica, 75, 781-836.
  9. [9] Christiano, L., M. Eichenbaum, and C.L. Evans (2005). “Nominal Rigidities and the Dynamic Efects of a Shock to Monetary Policy.” Journal of Political Economy 113, 1-45.
  10. [10] Christofel, K., G. Coenen, and A. Warne, (2008) “The New Area-Wide Model of the Euro Area: A Micro-Founded Open-Economy Model for Forecasting and Policy Analysis.” ECB Working Paper No. 944.
  11. [11] Christofel, K., G. Coenen, and A. Warne (2007). “Conditional and Unconditional Forecasting with the New Area-Wide Model of the Euro Area.” Mimeo, European Central Bank.
  12. [12] Edge, R., M. T. Kiley, and J.P. Laforte (2009). “A Comparison of Forecast Performance Between Federal Reserve Staf Forecasts, Simple Reduced-Form Models, and a DSGE Model.” Finance and Economics Discussion Series 2009-10, Board of Governors of the Federal Reserve System.
  13. [13] Erceg, C., D. Henderson, and A. Levin (2000). “Optimal Monetary Policy with Staggered Wage and Price Contracts.” Journal of Monetary Economics 46, 281—313.
  14. [14] Erceg, C.J., L. Guerrieri, and C. Gust (2006). “SIGMA: A New Open Economy Model for Policy Analysis.” International Journal of Central Banking 2, 1-50.
  15. [15] Fernández-Villaverde, J. (2009). “The Econometrics of DSGE Models.” Mimeo, University of Pennsylvania.
  16. [16] Fernández-Villaverde, J. and J. Rubio-Ramírez (2004). “Comparing Dynamic Equilibrium Models to Data: A Bayesian Approach.” Journal of Econometrics, 123, 153-187.
  17. [17] Fernández-Villaverde, J. and J. Rubio-Ramírez (2005). “Estimating Dynamic Equilibrium Economies: Linear versus Nonlinear Likelihood.” Journal of Applied Econometrics, 20, 891-910.
  18. [18] Fernández-Villaverde, J. and J. Rubio-Ramírez (2007). “Estimating Macroeconomic Models: A Likelihood Approach.” Review of Economic Studies 74, 1059-1087.
  19. [19] Fernandez-Villaverde, J. and J. Rubio-Ramirez (2008). “How Structural Are Structural Parameters?” NBER Macroeconomics Annual 2007, 83-137.
  20. [20] Fernández-Villaverde, J., J. Rubio-Ramírez, and M.S. Santos (2006). “Convergence Properties of the Likelihood of Computed Dynamic Models.” Econometrica 74, 93-119.
  21. [21] Fisher, J. (2006). “The Dynamic Efects of Neutral and Investment-Specific Technology Shocks.” Journal of Political Economy 114, 413-451.
  22. [22] Galí, J (2008) Monetary Policy, Inflation and the Business Cycle: An Introduction to the New Keynesian Framework. Princeton University Press.
  23. [23] Greenwood, J, Z. Herkowitz, and P. Krusell (1997). “Long-Run Implications of Investment-Specific Technological Change.” American Economic Review 87, 342-362.
  24. [24] Greenwood, J, Z. Herkowitz, and P. Krusell (2000). “The Role of Investment-Specific Technological Change in the Business Cycle.” European Economic Review 44, 91-115.
  25. [25] Hall, R. (1997). “Macroeconomic Fluctuations and the Allocation of Time.” Journal of Labor Economics, 15 (1), 223-250.
  26. [26] Harrison, R., K. Nikolov, M. Quinn, G. Ramsey, A. Scott, and R. Thomas (2005). The Bank of England Quarterly Model. The Bank of England.
  27. [27] Iskrev, N. (2008). “How Much Do We Learn from the Estimation of DSGE Models? A Case Study of Identification Issues in a New Keynesian Business Cycle Model.” Mimeo, University of Michigan.
  28. [28] Kilponen, J. and A. Ripatti (2006). “Introduction to AINO.” Mimeo, Bank of Finland.
  29. [29] King, R., C. Plosser, and S. Rebelo (1988). “Production, Growth and Business Cycles I: The Basic Neo-Classical Model.” Journal of Monetary Economics 2, 195-232.
  30. [30] Kortelainen, M. (2002). “EDGE: A Model of the Euro Area with Applications to Monetary Policy.” Bank of Finland Studies E:23.
  31. [31] Mengersen, K.L., C.P. Robert, and C. Guihenneuc-Jouyaux, (1999). “MCMC Convergence Diagnostics: A ‘Reviewww”’, in J. Berger et al. (eds.), Bayesian Statistics 6, Oxford Sciences Publications
  32. [32] McConnell, M.M. and G. Pérez-Quirós (2000). “Output Fluctuations in the United States: What Has Changed Since the Early 1980’s?” American Economic Review 90, 1464-1476.
  33. [33] Murchison, S. and A. Rennison (2006). “ToTEM: The Bank of Canada’s New Quarterly Projection Model.” Bank of Canada Technical Report 97.
  34. [34] Primiceri, G.E., E. Schaumburg, and A. Tambalotti (2006). “Intertemporal Disturbances.” NBER Working Paper No. 12243.
  35. [35] Roberts, G., A. Gelman, and W. Gilks (1997). “Weak Convergence and Optimal Scaling of Random Walk Metropolis Algorthims.” Annals of Applied Probability 7, 110-120.
  36. [36] Schmitt-Grohé, S. and M. Uribe (2003). “Closing Small Open Economy Models.” Journal of International Economics 61, 163-185.
  37. [37] Sims, C.A. (2007). “The Harold Hotelling Lecture: Bayesian Methods in Applied Econometrics.” North America Summer Meetings of the Econometric Society 2007.
  38. [38] Smets, F. and R. Wouters (2003). “An Estimated Stochastic Dynamic General Equilibrium Model of the Euro Area.” Journal of the European Economic Association 1, 1123-1175.
  39. [39] Stock, J.H. and M.W. Watson (2003). “Has the Business Cycle Changed, and Why?” NBER Macroeconomics Annual 2002, 159-218.
  40. [40] Woodford, M. (2003). Interest and Prices: Foundations of a Theory of Monetary Policy, Princeton University Press.

8. Appendix: Equilibrium Conditions

We present now the full set of equilibrium conditions.

The first-order conditions of the household:

\[d _ {t} \left(\widetilde {c} _ {t} - h \frac {\widetilde {c} _ {t - 1}}{\widetilde {z} _ {t}}\right) ^ {- 1} - h \mathbb {E} _ {t} \beta \gamma_ {t + 1} ^ {L} d _ {t + 1} \left(\widetilde {c} _ {t + 1} \widetilde {z} _ {t + 1} - h \widetilde {c} _ {t}\right) ^ {- 1} = \widetilde {\lambda} _ {t} \left(1 + \tau_ {c}\right) \left(\frac {p _ {t} ^ {c}}{p _ {t}}\right)\tag{1}\]

\[\widetilde {\lambda} _ {t} = \mathbb {E} _ {t} \{\beta \frac {\widetilde {\lambda} _ {t + 1}}{\widetilde {z} _ {t + 1}} \frac {R _ {t}}{\Pi_ {t + 1}} \}\tag{2}\]

\[\widetilde {\lambda} _ {t} = \mathbb {E} _ {t} \left\{\beta \frac {\widetilde {\lambda} _ {t + 1}}{\widetilde {z} _ {t + 1}} \frac {R _ {t} ^ {W} \Gamma (e x _ {t} \widetilde {b} _ {t} ^ {W} , \xi_ {t} ^ {b W})}{\Pi_ {t + 1}} \frac {e x _ {t + 1}}{e x _ {t}} \right\}\tag{3}\]

\[\widetilde {r _ {t}} = \frac {\Phi^ {\prime} [ u _ {t} ]}{(1 - \tau_ {k})}\tag{4}\]

\[\widetilde {q} _ {t} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} = \beta \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left\{\frac {\widetilde {\lambda} _ {t + 1}}{\widetilde {\lambda} _ {t} \widetilde {z} _ {t + 1} \widetilde {\mu} _ {t + 1}} \binom{(1 - \delta) \widetilde {q} _ {t + 1} + \widetilde {r} _ {t + 1} u _ {t + 1} (1 - \tau_ {k})}{+ \delta \tau_ {k} - \Phi [ u _ {t + 1} ]} \right\}\tag{5}\]

\[\left(\frac {p _ {t} ^ {i}}{p _ {t}}\right) = \widetilde {q} _ {t} \left(1 - S \left[ \gamma_ {t} ^ {L} \frac {\widetilde {i} _ {t}}{\widetilde {i} _ {t - 1}} \widetilde {z} _ {t} \right] - S ^ {\prime} \left[ \gamma_ {t} ^ {L} \frac {\widetilde {i} _ {t}}{\widetilde {i} _ {t - 1}} \widetilde {z} _ {t} \right] \gamma_ {t} ^ {L} \frac {\widetilde {i} _ {t}}{\widetilde {i} _ {t - 1}} \widetilde {z} _ {t}\right)\]

\[+ \mathbb {E} _ {t} \beta \widetilde {q} _ {t + 1} \frac {\widetilde {\lambda} _ {t + 1}}{\widetilde {\lambda} _ {t} \widetilde {z} _ {t + 1}} S ^ {\prime} \left[ \gamma_ {t + 1} ^ {L} \frac {\widetilde {i} _ {t + 1}}{\widetilde {i} _ {t}} \widetilde {z} _ {t + 1} \right] \left(\gamma_ {t + 1} ^ {L} \frac {\widetilde {i} _ {t + 1}}{\widetilde {i} _ {t}} \widetilde {z} _ {t + 1}\right) ^ {2}\tag{6}\]

\[\left(\frac {\widetilde {m} _ {t}}{p _ {t}}\right) = d _ {t} v \left[ \beta \mathbb {E} _ {t} \frac {\widetilde {\lambda} _ {t + 1}}{\widetilde {z} _ {t + 1}} \frac {R _ {t} - 1}{\Pi_ {t + 1}} \right] ^ {- 1}\tag{7}\]

\[f _ {t} = \frac {\eta - 1}{\eta} \left(1 - \tau_ {w}\right) \left(\widetilde {w} _ {t} ^ {*}\right) ^ {1 - \eta} \widetilde {\lambda} _ {t} \left(\widetilde {w} _ {t}\right) ^ {\eta} l _ {t} ^ {d} + \beta \theta_ {w} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi_ {w}}}{\Pi_ {t + 1}}\right) ^ {1 - \eta} \left(\frac {\widetilde {w} _ {t + 1} ^ {*}}{\widetilde {w} _ {t} ^ {*}} \widetilde {z} _ {t + 1}\right) ^ {\eta - 1} f _ {t + 1}\tag{8}\]

\[f _ {t} = d _ {t} \varphi_ {t} \psi \left(\frac {\widetilde {w} _ {t} ^ {*}}{\widetilde {w} _ {t}}\right) ^ {- \eta (1 + \vartheta)} \left(l _ {t} ^ {d}\right) ^ {1 + \vartheta} + \beta \theta_ {w} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi_ {w}}}{\Pi_ {t + 1}}\right) ^ {- \eta (1 + \vartheta)} \left(\frac {\widetilde {w} _ {t + 1} ^ {*}}{\widetilde {w} _ {t} ^ {*}} \widetilde {z} _ {t + 1}\right) ^ {\eta (1 + \vartheta)} f _ {t + 1}\tag{9}\]

The intermediate domestic firms that can change prices set them to satisfy:

\[g _ {t} ^ {1} = \widetilde {\lambda} _ {t} m c _ {t} \widetilde {y} _ {t} ^ {d} + \beta \theta_ {p} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi}}{\Pi_ {t + 1}}\right) ^ {- \varepsilon} g _ {t + 1} ^ {1}\tag{10}\]

\[g _ {t} ^ {2} = \widetilde {\lambda} _ {t} \Pi_ {t} ^ {*} \widetilde {y} _ {t} ^ {d} + \beta \theta_ {p} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\Pi_ {t} ^ {\chi}}{\Pi_ {t + 1}}\right) ^ {1 - \varepsilon} \left(\frac {\Pi_ {t} ^ {*}}{\Pi_ {t + 1} ^ {*}}\right) g _ {t + 1} ^ {2}\tag{11}\]

\[\varepsilon g _ {t} ^ {1} = (\varepsilon - 1) g _ {t} ^ {2}\tag{12}\]

where they rent inputs to satisfy their static minimization problem:

\[\frac {u _ {t}}{l _ {t} ^ {d}} \widetilde {k} _ {t - 1} = \frac {\alpha}{1 - \alpha} \frac {\widetilde {w} _ {t}}{\widetilde {r} _ {t}} \widetilde {z} _ {t} \widetilde {\mu} _ {t}\tag{13}\]

\[m c _ {t} = \left(\frac {1}{1 - \alpha}\right) ^ {1 - \alpha} \left(\frac {1}{\alpha}\right) ^ {\alpha} \widetilde {w} _ {t} ^ {1 - \alpha} \widetilde {r} _ {t} ^ {\alpha}\tag{14}\]

The importing and exporting domestic firms that can change prices set them to satisfy:

\[g _ {t} ^ {M _ {1}} = \widetilde {\lambda} _ {t} \left[ \frac {\left(\frac {e x _ {t} p _ {t} ^ {W}}{p _ {t}}\right)}{\left(\frac {p _ {t} ^ {M}}{p _ {t}}\right)} \right] \widetilde {y} _ {t} ^ {M} + \beta \theta_ {M} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {M}\right) ^ {\chi_ {M}}}{\Pi_ {t + 1} ^ {M}}\right) ^ {- \varepsilon_ {M}} g _ {t + 1} ^ {M _ {1}}\tag{15}\]

\[g _ {t} ^ {x _ {1}} = \widetilde {\lambda} _ {t} \frac {\widetilde {y} _ {t} ^ {x}}{\left(\frac {e x _ {t} p _ {t} ^ {x}}{p _ {t}}\right)} + \beta \theta_ {x} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {W}\right) ^ {\chi_ {x}}}{\Pi_ {t + 1} ^ {x}}\right) ^ {- \varepsilon_ {x}} g _ {t + 1} ^ {x _ {1}}\tag{16}\]

\[g _ {t} ^ {M _ {2}} = \widetilde {\lambda} _ {t} \Pi_ {t} ^ {M ^ {*}} \widetilde {y} _ {t} ^ {M} + \beta \theta_ {M} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {M}\right) ^ {\chi_ {M}}}{\Pi_ {t + 1} ^ {M}}\right) ^ {1 - \varepsilon_ {M}} \left(\frac {\Pi_ {t} ^ {M ^ {*}}}{\Pi_ {t + 1} ^ {M ^ {*}}}\right) g _ {t + 1} ^ {M _ {2}}\tag{17}\]

\[g _ {t} ^ {x _ {2}} = \widetilde {\lambda} _ {t} \Pi_ {t} ^ {x ^ {*}} \widetilde {y} _ {t} ^ {x} + \beta \theta_ {x} \mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \left(\frac {\left(\Pi_ {t} ^ {W}\right) ^ {\chi_ {x}}}{\Pi_ {t + 1} ^ {x}}\right) ^ {1 - \varepsilon_ {x}} \left(\frac {\Pi_ {t} ^ {x ^ {*}}}{\Pi_ {t + 1} ^ {x ^ {*}}}\right) g _ {t + 1} ^ {x _ {2}}\tag{18}\]

\[\varepsilon_ {M} g _ {t} ^ {M _ {1}} = (\varepsilon_ {M} - 1) g _ {t} ^ {M _ {2}}; \varepsilon_ {x} g _ {t} ^ {x _ {1}} = (\varepsilon_ {x} - 1) g _ {t} ^ {x _ {2}}\tag{19}\]

Wages and prices evolve as:

\[1 = \theta_ {w} \left(\frac {\Pi_ {t - 1} ^ {\chi_ {w}}}{\Pi_ {t}}\right) ^ {1 - \eta} \left(\frac {\widetilde {w} _ {t - 1}}{\widetilde {w} _ {t} \widetilde {z} _ {t}}\right) ^ {1 - \eta} + (1 - \theta_ {w}) \left(\frac {\widetilde {w} _ {t} ^ {*}}{\widetilde {w} _ {t}}\right) ^ {1 - \eta},\tag{20}\]

\[1 = \theta_ {p} \left(\frac {\Pi_ {t - 1} ^ {\chi}}{\Pi_ {t}}\right) ^ {1 - \varepsilon} + (1 - \theta_ {p}) \Pi_ {t} ^ {* 1 - \varepsilon}\tag{21}\]

\[1 = \theta_ {M} \left(\frac {\left(\Pi_ {t - 1} ^ {M}\right) ^ {\chi_ {M}}}{\Pi_ {t} ^ {M}}\right) ^ {1 - \varepsilon_ {M}} + (1 - \theta_ {M}) \left(\Pi_ {t} ^ {M ^ {*}}\right) ^ {1 - \varepsilon_ {M}}\tag{22}\]

\[1 = \theta_ {x} \left(\frac {\left(\Pi_ {t - 1} ^ {W}\right) ^ {\chi_ {x}}}{\Pi_ {t} ^ {x}}\right) ^ {1 - \varepsilon_ {x}} + (1 - \theta_ {x}) \left(\Pi_ {t} ^ {x ^ {*}}\right) ^ {1 - \varepsilon_ {x}}\tag{23}\]

Monetary authority follows its Taylor rule:

\[\frac {R _ {t}}{R} = \left(\frac {R _ {t - 1}}{R}\right) ^ {\gamma_ {R}} \left(\left(\frac {\Pi_ {t}}{\Pi}\right) ^ {\gamma_ {\Pi}} \left(\frac {\gamma_ {t} ^ {L} \frac {\widetilde {y} _ {t} ^ {d}}{\widetilde {y} _ {t - 1} ^ {d}} \widetilde {z} _ {t}}{\exp (\Lambda_ {L} + \Lambda_ {y ^ {d}})}\right) ^ {\gamma_ {y}}\right) ^ {1 - \gamma_ {R}} \exp (\xi_ {t} ^ {m})\tag{24}\]

While the government’s policy comprises transfers to households and the level of debt, which are determined by the government’s budget constraint:

\[\begin{array}{r c l} \widetilde {b} _ {t} & = & \frac {g _ {t}}{\widetilde {y} _ {t} ^ {d}} + \frac {\widetilde {T} _ {t}}{\widetilde {y} _ {t} ^ {d}} + \frac {\widetilde {m} _ {t - 1}}{p _ {t - 1}} \frac {1}{\gamma_ {t} ^ {L} \widetilde {y} _ {t} ^ {d} \widetilde {z} _ {t} \Pi_ {t}} + R _ {t - 1} \widetilde {b} _ {t - 1} \frac {\widetilde {y} _ {t - 1} ^ {d}}{\gamma_ {t} ^ {L} \Pi_ {t} \widetilde {y} _ {t} ^ {d} \widetilde {z} _ {t}} \\ & & - (\widetilde {r} _ {t} u _ {t} - \delta) \tau_ {k} \frac {\widetilde {k} _ {t - 1}}{\widetilde {y} _ {t} ^ {d} \widetilde {z} _ {t} \widetilde {\mu} _ {t}} - \tau_ {w} \frac {\widetilde {w} _ {t} l _ {t} ^ {d}}{\widetilde {y} _ {t} ^ {d}} - \tau_ {c} \left(\frac {p _ {t} ^ {c}}{p _ {t}}\right) \frac {\widetilde {c} _ {t}}{\widetilde {y} _ {t} ^ {d}} - \frac {\widetilde {m} _ {t}}{p _ {t}} \frac {1}{\widetilde {y} _ {t} ^ {d}} \end{array}\tag{25}\]

and the fiscal policy rule:

\[\frac {\widetilde {T} _ {t}}{\widetilde {y} _ {t} ^ {d}} = T _ {0} - T _ {1} \left(\widetilde {b} _ {t} - \overline {{\widetilde {b}}}\right)\tag{26}\]

Net foreign assets evolve as:

\[\begin{array}{r c l} e x _ {t} \widetilde {b} _ {t} ^ {W} & = & R _ {t - 1} ^ {W} \Gamma \left(\Delta e x _ {t} e x _ {t - 1} \widetilde {b} _ {t - 1} ^ {W}, \xi_ {t - 1} ^ {b ^ {W}}\right) \Delta e x _ {t} \frac {\widetilde {y} _ {t - 1} ^ {d}}{\gamma_ {t} ^ {L} \widetilde {z} _ {t} \Pi_ {t} \widetilde {y} _ {t} ^ {d}} e x _ {t - 1} \widetilde {b} _ {t - 1} ^ {W} \\ & & + \left(\frac {e x _ {t} p _ {t} ^ {W}}{p _ {t}}\right) ^ {\varepsilon_ {W}} \left(\frac {e x _ {t} p _ {t} ^ {x}}{p _ {t}}\right) ^ {1 - \varepsilon_ {W}} \left(\frac {\widetilde {y} _ {t} ^ {W}}{\widetilde {y} _ {t} ^ {d}}\right) - \left(\frac {e x _ {t} p _ {t} ^ {W}}{p _ {t}}\right) \left(\frac {\widetilde {M} _ {t}}{\widetilde {y} _ {t} ^ {d}}\right) \end{array}\tag{27}\]

Aggregate imports and exports evolve as:

\[\widetilde {M} _ {t} = v _ {t} ^ {M} \left[ \mathbb {E} _ {t} \Omega_ {t + 1} ^ {c} \left(1 - n ^ {c}\right) \left[ \frac {\left(\frac {p _ {t} ^ {M}}{p _ {t}}\right)}{\left(\frac {p _ {t} ^ {c}}{p _ {t}}\right)} \right] ^ {- \varepsilon_ {c}} \widetilde {c} _ {t} + \mathbb {E} _ {t} \Omega_ {t + 1} ^ {i} \left(1 - n ^ {i}\right) \left[ \frac {\left(\frac {p _ {t} ^ {M}}{p _ {t}}\right)}{\left(\frac {p _ {t} ^ {i}}{p _ {t}}\right)} \right] ^ {- \varepsilon_ {i}} \widetilde {i} _ {t} \right]\tag{28}\]

\[\widetilde {x} _ {t} = v _ {t} ^ {x} \left[ \frac {\left(\frac {e x _ {t} p _ {t} ^ {x}}{p _ {t}}\right)}{\left(\frac {e x _ {t} p _ {t} ^ {W}}{p _ {t}}\right)} \right] ^ {- \varepsilon_ {W}} \widetilde {y} _ {t} ^ {W}\tag{29}\]

where:

\[\mathbb {E} _ {t} \Omega_ {t + 1} ^ {s} = \frac {\left[ 1 - \beta \left(1 - n ^ {s}\right) ^ {\frac {1}{\varepsilon_ {s}}} \mathbb {E} _ {t} \frac {\gamma_ {t + 1} ^ {L} \widetilde {\lambda} _ {t + 1}}{\widetilde {\lambda} _ {t} \widetilde {z} _ {t + 1}} \left[ \frac {\left(\frac {p _ {t} ^ {s}}{p _ {t}}\right)}{\left(\frac {p _ {t} ^ {M}}{p _ {t}}\right)} \right] \Pi_ {t + 1} ^ {s} \left(\frac {\widetilde {s} _ {t + 1}}{\widetilde {s} _ {t + 1} ^ {M} \left(1 - \Gamma_ {t + 1} ^ {s}\right)}\right) ^ {\frac {1}{\varepsilon_ {s}}} \Gamma_ {t + 1} ^ {s \prime} \frac {\left(\Delta \widetilde {s} _ {t + 1} ^ {M}\right) ^ {2}}{\Delta \widetilde {s} _ {t + 1}} \right] ^ {- \varepsilon_ {s}}}{\left(1 - \Gamma_ {t} ^ {s}\right) \left[ 1 - \Gamma_ {t} ^ {s} - \Gamma_ {t} ^ {s \prime} \left(\frac {\Delta \widetilde {s} _ {t} ^ {M}}{\Delta \widetilde {s} _ {t}}\right) \right] ^ {- \varepsilon_ {s}}}\]

for , i and the distribution of relative prices of imports and exports:

\[v _ {t} ^ {M} = \theta_ {M} \left(\frac {\left(\Pi_ {t - 1} ^ {M}\right) ^ {\chi_ {M}}}{\Pi_ {t} ^ {M}}\right) ^ {- \varepsilon_ {M}} v _ {t - 1} ^ {M} + (1 - \theta_ {M}) \left(\Pi_ {t} ^ {M ^ {*}}\right) ^ {- \varepsilon_ {M}}\tag{30}\]

\[v _ {t} ^ {x} = \theta_ {x} \left(\frac {\left(\Pi_ {t - 1} ^ {W}\right) ^ {\chi_ {x}}}{\Pi_ {t} ^ {x}}\right) ^ {- \varepsilon_ {x}} v _ {t - 1} ^ {x} + (1 - \theta_ {x}) \left(\Pi_ {t} ^ {x ^ {*}}\right) ^ {- \varepsilon_ {x}}.\tag{31}\]

The production of importing and exporting firms is:

\[\widetilde {y} _ {t} ^ {M} = \widetilde {c} _ {t} ^ {M} + \widetilde {i} _ {t} ^ {M}\tag{32}\]

\[\widetilde {y} _ {t} ^ {x} = \left[ \frac {\left(\frac {e x _ {t} p _ {t} ^ {x}}{p _ {t}}\right)}{\left(\frac {e x _ {t} p _ {t} ^ {W}}{p _ {t}}\right)} \right] ^ {- \varepsilon_ {W}} \widetilde {y} _ {t} ^ {W}\tag{33}\]

while the demands for consumption and investment imports relative to the corresponding domestic components are:

\[\frac {\widetilde {c} _ {t} ^ {M}}{\widetilde {c} _ {t} ^ {d}} = \frac {\mathbb {E} _ {t} \Omega_ {t + 1} ^ {c} (1 - n ^ {c})}{n ^ {c}} \left(\frac {p _ {t} ^ {M}}{p _ {t}}\right) ^ {- \varepsilon_ {c}}\tag{34}\]

\[\frac {\widetilde {i} _ {t} ^ {M}}{\widetilde {i} _ {t} ^ {d}} = \frac {\mathbb {E} _ {t} \Omega_ {t + 1} ^ {i} (1 - n ^ {i})}{n ^ {i}} \left(\frac {p _ {t} ^ {M}}{p _ {t}}\right) ^ {- \varepsilon_ {i}}\tag{35}\]

Markets clear:

\[n ^ {c} \left(\frac {p _ {t} ^ {c}}{p _ {t}}\right) ^ {\varepsilon_ {c}} \widetilde {c} _ {t} + n ^ {i} \left(\frac {p _ {t} ^ {i}}{p _ {t}}\right) ^ {\varepsilon_ {i}} \widetilde {i} _ {t} + g _ {t} + \Phi [ u _ {t} ] \frac {\widetilde {k} _ {t - 1}}{\widetilde {\mu} _ {t} \widetilde {z} _ {t}} + \widetilde {x} _ {t} = \frac {\frac {\widetilde {A} _ {t}}{\widetilde {z} _ {t}} (u _ {t} \widetilde {k} _ {t - 1}) ^ {\alpha} (l _ {t} ^ {d}) ^ {1 - \alpha} - \phi}{v _ {t} ^ {p}}\tag{36}\]

where

\[l _ {t} = v _ {t} ^ {w} l _ {t} ^ {d}\tag{37}\]

\[v _ {t} ^ {p} = \theta_ {p} \left(\frac {\Pi_ {t - 1} ^ {\chi}}{\Pi_ {t}}\right) ^ {- \varepsilon} v _ {t - 1} ^ {p} + (1 - \theta_ {p}) \Pi_ {t} ^ {* - \varepsilon}\tag{38}\]

\[v _ {t} ^ {w} = \theta_ {w} \left(\frac {\widetilde {w} _ {t - 1}}{\widetilde {w} _ {t} \widetilde {z} _ {t}} \frac {\Pi_ {t - 1} ^ {\chi_ {w}}}{\Pi_ {t}}\right) ^ {- \eta} v _ {t - 1} ^ {w} + (1 - \theta_ {w}) \left(\frac {\widetilde {w} _ {t} ^ {*}}{\widetilde {w} _ {t}}\right) ^ {- \eta}\tag{39}\]

and

\[\mathbb {E} _ {t} \gamma_ {t + 1} ^ {L} \widetilde {k} _ {t} - (1 - \delta) \frac {\widetilde {k} _ {t - 1}}{\widetilde {z} _ {t} \widetilde {\mu} _ {t}} - \left(1 - S \left[ \gamma_ {t} ^ {L} \frac {\widetilde {i} _ {t}}{\widetilde {i} _ {t - 1}} \widetilde {z} _ {t} \right]\right) \widetilde {i} _ {t} = 0\tag{40}\]

Finally, aggregate consumption and investment evolve as:

\[\widetilde {c} _ {t} = \left[ (n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} (\widetilde {c} _ {t} ^ {d}) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} + (1 - n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} (\widetilde {c} _ {t} ^ {M} (1 - \Gamma_ {t} ^ {c})) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} \right] ^ {\frac {\varepsilon_ {c}}{\varepsilon_ {c} - 1}}\tag{41}\]

\[\widetilde {i} _ {t} = \left[ (n ^ {i}) ^ {\frac {1}{\varepsilon_ {i}}} (\widetilde {i} _ {t} ^ {d}) ^ {\frac {\varepsilon_ {i} - 1}{\varepsilon_ {i}}} + (1 - n ^ {i}) ^ {\frac {1}{\varepsilon_ {i}}} (\widetilde {i} _ {t} ^ {M} (1 - \Gamma_ {t} ^ {i})) ^ {\frac {\varepsilon_ {i} - 1}{\varepsilon_ {i}}} \right] ^ {\frac {\varepsilon_ {i}}{\varepsilon_ {i} - 1}}\tag{42}\]

Relative consumption and investment prices evolve as:

\[{\frac {p _ {t} ^ {c}}{p _ {t}}} = {\left[ n ^ {c} + \Omega_ {t} ^ {c ^ {M}} \left(1 - n ^ {c}\right) \left(\frac {p _ {t} ^ {M}}{p _ {t}}\right) ^ {1 - \varepsilon_ {c}} \right] ^ {\frac {1}{1 - \varepsilon_ {c}}}}\tag{43}\]

\[\frac {p _ {t} ^ {i}}{p _ {t}} = \left[ n ^ {i} + \Omega_ {t} ^ {i ^ {M}} \left(1 - n ^ {i}\right) \left(\frac {p _ {t} ^ {M}}{p _ {t}}\right) ^ {1 - \varepsilon_ {i}} \right] ^ {\frac {1}{1 - \varepsilon_ {i}}}\tag{44}\]

The definitions of inflation rates are the following:

\[\begin{array}{c c} \Pi_ {t} ^ {c} = \frac {\left(\frac {p _ {t} ^ {c}}{p _ {t}}\right)}{\left(\frac {p _ {t - 1} ^ {c}}{p _ {t - 1}}\right)} \Pi_ {t}; & \Pi_ {t} ^ {i} = \frac {\left(\frac {p _ {t} ^ {i}}{p _ {t}}\right)}{\left(\frac {p _ {t - 1} ^ {i}}{p _ {t - 1}}\right)} \Pi_ {t} \\ \Pi_ {t} ^ {M} = \frac {\left(\frac {p _ {t} ^ {M}}{p _ {t}}\right)}{\left(\frac {p _ {t - 1} ^ {M}}{p _ {t - 1}}\right)} \Pi_ {t} & \Pi_ {t} ^ {x} = \frac {\left(\frac {e x _ {t} p _ {t} ^ {x}}{p _ {t}}\right)}{\left(\frac {e x _ {t - 1} p _ {t - 1} ^ {x}}{p _ {t - 1}}\right)} \frac {\Pi_ {t}}{\Delta e x _ {t}} \\ \Pi_ {t} ^ {W} = \frac {\left(\frac {e x _ {t} p _ {t} ^ {W}}{p _ {t}}\right)}{\left(\frac {e x _ {t - 1} p _ {t - 1} ^ {W}}{p _ {t - 1}}\right)} \frac {\Pi_ {t}}{\Delta e x _ {t}} \end{array}\tag{45}\]

The growth rate of technology:

\[\widetilde {z} _ {t} = \widetilde {A} _ {t} ^ {\frac {1}{1 - \alpha}} \widetilde {\mu} _ {t} ^ {\frac {\alpha}{1 - \alpha}}\tag{46}\]

9. Appendix: log-linearized equilibrum conditions

The full set of log-linearized equilibrum conditions is:

\[\begin{array}{r c l} (1 - \frac {h \beta \gamma^ {L}}{\widetilde {z}}) \left(\widehat {\widetilde {\lambda}} _ {t} + (\widehat {p} _ {t} ^ {c} - \widehat {p} _ {t})\right) & = & \widehat {d} _ {t} - \frac {h \beta \gamma^ {L}}{\widetilde {z}} \mathbb {E} _ {t} \widehat {d} _ {t + 1} - \frac {1 + \frac {h ^ {2} \beta \gamma^ {L}}{\widetilde {z} ^ {2}}}{(1 - \frac {h}{\widetilde {z}})} \widehat {\widetilde {c}} _ {t} + \frac {h}{\widetilde {z} (1 - \frac {h}{\widetilde {z}})} \widehat {\widetilde {c}} _ {t - 1} \\ & & + \frac {\beta h \gamma^ {L}}{\widetilde {z} (1 - \frac {h}{\widetilde {z}})} \mathbb {E} _ {t} \widehat {\widetilde {c}} _ {t + 1} - \frac {h}{\widetilde {z} (1 - \frac {h}{\widetilde {z}})} \widehat {\widetilde {z}} _ {t} \end{array}\tag{1}\]

\[\widehat {\widetilde {\lambda}} _ {t} = \mathbb {E} _ {t} \{\widehat {\widetilde {\lambda}} _ {t + 1} + \widehat {R} _ {t} - \widehat {\Pi} _ {t + 1} \}.\tag{2}\]

\[\mathbb {E} _ {t} \widehat {\widetilde {\lambda}} _ {t + 1} + \widehat {R} _ {t} ^ {*} - \mathbb {E} _ {t} \widehat {\Pi} _ {t + 1} - \Gamma^ {b ^ {*}} \left(e x _ {t} + \widetilde {b} _ {t} ^ {*}\right) - \Gamma^ {b ^ {*}} \xi^ {b ^ {*}} \xi_ {t} ^ {b ^ {*}} + \mathbb {E} _ {t} \Delta \widehat {e x} _ {t + 1} - \widehat {\widetilde {\lambda}} _ {t} = 0\tag{3}\]

\[\widehat {\widetilde {r}} _ {t} = \frac {\Phi_ {2}}{\Phi_ {1}} \hat {u} _ {t}.\tag{4}\]

\[\widehat {\widetilde {q}} _ {t} = \mathbb {E} _ {t} \triangle \widehat {\widetilde {\lambda}} _ {t + 1} + \frac {\beta (1 - \delta)}{\widetilde {z} \widetilde {\mu}} \mathbb {E} _ {t} \widehat {\widetilde {q}} _ {t + 1} + \frac {\beta \Phi_ {1}}{\widetilde {z} \widetilde {\mu} \left(\frac {p ^ {i}}{p}\right)} \mathbb {E} _ {t} \widehat {\widetilde {r}} _ {t + 1}.\tag{5}\]

\[\left(\widehat {p} _ {t} ^ {i} - \widehat {p} _ {t}\right) + \kappa \left(\gamma^ {L} \widetilde {z}\right) ^ {2} \left(\widehat {\Delta i} _ {t} + \widehat {\widetilde {z}} _ {t} + \widehat {\gamma} _ {t} ^ {L}\right) = \widehat {\widetilde {q}} _ {t} + \beta \kappa \left(\gamma^ {L}\right) ^ {3} \widetilde {z} ^ {2} \mathbb {E} _ {t} \Delta \widehat {\widetilde {i}} _ {t + 1}\tag{6}\]

\[\left(\widehat {\widetilde {m}} _ {t} - \widehat {p} _ {t}\right) = \widehat {d} _ {t} - \left(\frac {R}{R - 1}\right) \widehat {R} _ {t} - \mathbb {E} _ {t} \left(\widehat {\widetilde {\lambda}} _ {t + 1} - \widehat {\Pi} _ {t + 1}\right)\tag{7}\]

\[\begin{array}{r c l} \widehat {f} _ {t} & = & \left(1 - \beta \theta_ {w} \gamma^ {L} \widetilde {z} ^ {\eta - 1} \Pi^ {- (1 - \eta) (1 - \chi_ {w})}\right) \left((1 - \eta) \widehat {\widetilde {w}} _ {t} ^ {*} + \widehat {\widetilde {\lambda}} _ {t} + \eta \widehat {\widetilde {w}} _ {t} + \widehat {l} _ {t} ^ {d}\right) \\ & & + \beta \theta_ {w} \gamma^ {L} \Pi^ {- (1 - \eta) (1 - \chi_ {w})} \widetilde {z} ^ {\eta - 1} \mathbb {E} _ {t} \left(\widehat {f} _ {t + 1} - (1 - \eta) \left(\widehat {\Pi} _ {t + 1} - \chi_ {w} \widehat {\Pi} _ {t} + \Delta \widehat {\widetilde {w}} _ {t + 1} ^ {*}\right)\right) \end{array}\tag{8}\]

\[\widehat {f} _ {t} = \left(1 - \beta \theta_ {w} \gamma^ {L} \widetilde {z} ^ {\eta (1 + \vartheta)} \Pi^ {\eta (1 + \vartheta) (1 - \chi_ {w})}\right) \left(\widehat {d} _ {t} + \widehat {\varphi} _ {t} + \eta (1 + \vartheta) \left(\widehat {\widetilde {w}} _ {t} - \widehat {\widetilde {w}} _ {t} ^ {*}\right) + (1 + \vartheta) \widehat {l} _ {t} ^ {d}\right)\]

\[+ \beta \theta_ {w} \gamma^ {L} \widetilde {z} ^ {\eta (1 + \vartheta)} \Pi^ {\eta (1 + \vartheta) (1 - \chi_ {w})} \mathbb {E} _ {t} \left(\widehat {f} _ {t + 1} + \eta (1 + \vartheta) (\widehat {\Pi} _ {t + 1} - \chi_ {w} \widehat {\Pi} _ {t} + \Delta \widehat {\widetilde {w}} _ {t + 1} ^ {*})\right)\tag{9}\]

\[\widehat {g} _ {t} ^ {1} = \left(1 - \beta \theta_ {p} \gamma^ {L} \Pi^ {\varepsilon (1 - \chi)}\right) \left(\widehat {\widetilde {\lambda}} _ {t} + \widehat {m c} _ {t} + \widehat {\widetilde {y}} _ {t} ^ {d}\right) + \beta \theta_ {p} \gamma^ {L} \Pi_ {t} ^ {\varepsilon (1 - \chi)} \mathbb {E} _ {t} \left(\widehat {g} _ {t + 1} ^ {1} + \varepsilon (\widehat {\Pi} _ {t + 1} - \chi \widehat {\Pi} _ {t})\right).\tag{10}\]

\[\widehat {g} _ {t} ^ {2} = \left(1 - \beta \theta_ {p} \gamma^ {L} \Pi^ {- (1 - \varepsilon) (1 - \chi)}\right) \left(\widehat {\widetilde {\lambda}} _ {t} + \widehat {\Pi} _ {t} ^ {*} + \widehat {\widetilde {y}} _ {t} ^ {d}\right)\]

\[+ \beta \theta_ {p} \gamma^ {L} \Pi^ {- (1 - \varepsilon) (1 - \chi)} \mathbb {E} _ {t} \left(\widehat {g} _ {t + 1} ^ {2} - (1 - \varepsilon) (\widehat {\Pi} _ {t + 1} - \chi \widehat {\Pi} _ {t}) - (\widehat {\Pi} _ {t + 1} ^ {*} - \widehat {\Pi} _ {t} ^ {*})\right).\tag{11}\]

\[\widehat {g} _ {t} ^ {1} = \widehat {g} _ {t} ^ {2}.\tag{12}\]

\[\widehat {u} _ {t} + \widehat {\widetilde {k}} _ {t - 1} - \widehat {l} _ {t} ^ {d} = \widehat {\widetilde {w}} _ {t} - \widehat {\widetilde {r}} _ {t} + \widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\mu}} _ {t}.\tag{13}\]

\[\widehat {m c} _ {t} = (1 - \alpha) \widehat {\widetilde {w}} _ {t} + \alpha \widehat {\widetilde {r}} _ {t}.\tag{14}\]

\[\widehat {g} _ {t} ^ {M _ {1}} = \left(1 - \beta \theta_ {M} \gamma^ {L} (\Pi^ {M}) ^ {\varepsilon_ {M} (1 - \chi_ {M})}\right) \left(\widehat {\widetilde {\lambda}} _ {t} + \left(\widehat {e x} _ {t} + \widehat {p} _ {t} ^ {W} - \widehat {p} _ {t}\right) - \left(\widehat {p} _ {t} ^ {M} - \widehat {p} _ {t}\right) + \widehat {\widetilde {y}} _ {t} ^ {M}\right)\]

\[+ \beta \theta_ {M} \gamma^ {L} \left(\Pi^ {M}\right) _ {t} ^ {\varepsilon_ {M} (1 - \chi_ {M})} \mathbb {E} _ {t} \left(\widehat {g} _ {t + 1} ^ {M _ {1}} + \varepsilon_ {M} (\widehat {\Pi} _ {t + 1} ^ {M} - \chi_ {M} \widehat {\Pi} _ {t} ^ {M})\right).\tag{15}\]

\[\begin{array}{r c l} \widehat {g} _ {t} ^ {M _ {2}} & = & \left(1 - \beta \theta_ {M} \gamma^ {L} (\Pi^ {M}) ^ {- (1 - \varepsilon_ {M}) (1 - \chi_ {M})}\right) \left(\widehat {\widetilde {\lambda}} _ {t} + \widehat {\Pi} _ {t} ^ {M *} + \widehat {\widetilde {y}} _ {t} ^ {M}\right) \\ & & + \beta \theta_ {M} \gamma^ {L} (\Pi^ {M}) ^ {- (1 - \varepsilon_ {M}) (1 - \chi_ {M})} \mathbb {E} _ {t} \left( \begin{array}{c} \widehat {g} _ {t + 1} ^ {M _ {2}} - (1 - \varepsilon_ {M}) (\widehat {\Pi} _ {t + 1} ^ {M} - \chi_ {M} \widehat {\Pi} _ {t} ^ {M}) \\ - (\widehat {\Pi} _ {t + 1} ^ {M *} - \widehat {\Pi} _ {t} ^ {M *}) \end{array} \right) \end{array}\tag{16}\]

\[\widehat {g} _ {t} ^ {M _ {1}} = \widehat {g} _ {t} ^ {M _ {2}}.\tag{17}\]

\[\begin{array}{r c l} \widehat {g} _ {t} ^ {x _ {1}} & = & \left(1 - \beta \theta_ {x} \gamma^ {L} \left(\Pi^ {W}\right) ^ {- \varepsilon_ {x} \chi_ {x}} (\Pi^ {x}) ^ {\varepsilon_ {x}}\right) \left(\widehat {\widetilde {\lambda}} _ {t} + \widehat {\widetilde {y}} _ {t} ^ {x} - (\widehat {e x} _ {t} + \widehat {p} _ {t} ^ {x} - \widehat {p} _ {t})\right) \\ & & + \beta \theta_ {x} \gamma^ {L} \left(\Pi^ {W}\right) ^ {- \varepsilon_ {x} \chi_ {x}} (\Pi^ {x}) ^ {\varepsilon_ {x}} \mathbb {E} _ {t} \left(\widehat {g} _ {t + 1} ^ {x _ {1}} + \varepsilon_ {x} (\widehat {\Pi} _ {t + 1} ^ {x} - \chi_ {x} \widehat {\Pi} _ {t} ^ {W})\right). \end{array}\tag{18}\]

\[\begin{array}{r c l} \widehat {g} _ {t} ^ {x _ {2}} & = & \left(1 - \beta \theta_ {x} \gamma^ {L} (\Pi^ {W}) ^ {(1 - \varepsilon_ {x}) \chi_ {x}} (\Pi^ {x}) ^ {- (1 - \varepsilon_ {x})}\right) \left(\widehat {\widetilde {\lambda}} _ {t} + \widehat {\Pi} _ {t} ^ {x *} + \widehat {\widetilde {y}} _ {t} ^ {x}\right) \\ & & + \beta \theta_ {x} \gamma^ {L} (\Pi^ {W}) ^ {(1 - \varepsilon_ {x}) \chi_ {x}} (\Pi^ {x}) ^ {- (1 - \varepsilon_ {x})} \mathbb {E} _ {t} \left( \begin{array}{c} \widehat {g} _ {t + 1} ^ {x _ {2}} - (1 - \varepsilon_ {x}) (\widehat {\Pi} _ {t + 1} ^ {x} - \chi_ {x} \widehat {\Pi} _ {t} ^ {W}) \\ - (\widehat {\Pi} _ {t + 1} ^ {x *} - \widehat {\Pi} _ {t} ^ {x *}) \end{array} \right) \end{array}\tag{19}\]

\[\widehat {g} _ {t} ^ {x _ {1}} = \widehat {g} _ {t} ^ {x _ {2}}.\tag{20}\]

\[\frac {\theta_ {w} \Pi^ {- (1 - \chi_ {w}) (1 - \eta)} \widetilde {z} ^ {- (1 - \eta)}}{(1 - \theta_ {w}) (\Pi^ {w ^ {*}}) ^ {1 - \eta}} (\widehat {\Pi} _ {t} - \chi_ {w} \widehat {\Pi} _ {t - 1} + \widehat {\Pi} _ {t} ^ {w} + \widetilde {z} _ {t}) = \widehat {\widetilde {w}} _ {t} ^ {*} - \widehat {\widetilde {w}} _ {t}.\tag{21}\]

\[\frac {\theta_ {p} \Pi^ {- (1 - \varepsilon) (1 - \chi)}}{(1 - \theta_ {p}) (\Pi^ {*}) ^ {(1 - \varepsilon)}} (\widehat {\Pi} _ {t} - \chi \widehat {\Pi} _ {t - 1}) = \widehat {\Pi} _ {t} ^ {*}.\tag{22}\]

\[\frac {\theta_ {M} (\Pi^ {M}) ^ {- (1 - \varepsilon_ {M}) (1 - \chi_ {M})}}{(1 - \theta_ {M}) (\Pi^ {M *}) ^ {(1 - \varepsilon_ {M})}} (\widehat {\Pi} _ {t} ^ {M} - \chi_ {M} \widehat {\Pi} _ {t - 1} ^ {M}) = \widehat {\Pi} _ {t} ^ {M *}.\tag{23}\]

\[\frac {\theta_ {x} \left(\Pi^ {W}\right) ^ {(1 - \varepsilon_ {x}) \chi_ {x}} \left(\Pi^ {x}\right) ^ {- (1 - \varepsilon_ {x})}}{(1 - \theta_ {x}) (\Pi^ {x *}) ^ {(1 - \varepsilon_ {x})}} (\widehat {\Pi} _ {t} ^ {x} - \chi_ {x} \widehat {\Pi} _ {t - 1} ^ {W}) = \widehat {\Pi} _ {t} ^ {x *}.\tag{24}\]

\[\widehat {R} _ {t} = \gamma_ {R} \widehat {R} _ {t - 1} + (1 - \gamma_ {R}) \left(\gamma_ {\Pi} \widehat {\Pi} _ {t} + \gamma_ {y} (\triangle \widehat {\widetilde {y}} _ {t} ^ {d} + \widehat {\widetilde {z}} _ {t} + \widehat {\gamma} _ {t} ^ {L})\right) + \widehat {\xi} _ {t} ^ {m}.\tag{25}\]

\[\begin{array}{r c l} \widehat {\widetilde {b}} _ {t} + \widehat {\widetilde {y}} _ {t} ^ {d} & = & \left(\frac {\widetilde {m}}{p}\right) \frac {1}{\widetilde {b} \widetilde {y} ^ {d} \Pi \gamma^ {L} \widetilde {z}} \left((\widehat {\widetilde {m}} _ {t - 1} - \widehat {p} _ {t - 1}) - \widehat {\Pi} _ {t} - \widehat {\widetilde {z}} _ {t} - \widehat {\widetilde {\gamma}} _ {t} ^ {L}\right) - \left(\frac {\widetilde {m}}{p}\right) \frac {1}{\widetilde {b} \widetilde {y} ^ {d}} \left(\widehat {\widetilde {m}} _ {t} - \widehat {p} _ {t}\right) \\ & & + \frac {1}{\beta \gamma^ {L}} \left(\widehat {R} _ {t - 1} + \widehat {\widetilde {b}} _ {t - 1} + \widehat {\widetilde {y}} _ {t - 1} ^ {d} - \widehat {\Pi} _ {t} - \widehat {\widetilde {z}} _ {t} - \widehat {\widetilde {\gamma}} _ {t} ^ {L}\right) - \tau_ {w} \frac {\widetilde {w} l ^ {d}}{\widetilde {b} \widetilde {y} ^ {d}} \left(\widehat {\widetilde {w}} _ {t} + \widehat {l} _ {t} ^ {d}\right) \\ & & - \frac {\tau_ {k} (\widetilde {r} - \delta)}{\widetilde {z} \widetilde {\mu}} \left(\frac {\widetilde {k}}{\widetilde {b} \widetilde {y} ^ {d}}\right) \left(\widehat {\widetilde {k}} _ {t - 1} - \widehat {\widetilde {z}} _ {t} - \widehat {\widetilde {\mu}} _ {t}\right) - \frac {\tau_ {k} \widetilde {r}}{\widetilde {z} \widetilde {\mu}} \left(\frac {\widetilde {k}}{\widetilde {b} \widetilde {y} ^ {d}}\right) \left(\widehat {\widetilde {r}} _ {t} + \widehat {u} _ {t}\right) \\ & & - \tau_ {c} \left(\frac {p ^ {c}}{p}\right) \left(\frac {\widetilde {c}}{\widetilde {b} \widetilde {y} ^ {d}}\right) \left((\widehat {p} _ {t} ^ {c} - \widehat {p} _ {t}) + \widehat {\widetilde {c}} _ {t}\right) + \frac {g}{\widetilde {b} \widetilde {y} ^ {d}} \widehat {g} _ {t} + \frac {\widetilde {T} _ {0}}{\widetilde {b}} \widehat {\widetilde {T}} _ {t} \end{array}\tag{26}\]

\[\frac {\widetilde {T}}{\widetilde {y} ^ {d}} \left(\widehat {\widetilde {T}} _ {t} - \widehat {\widetilde {y}} _ {t} ^ {d}\right) = - \left(\frac {T _ {1} \widetilde {b}}{T _ {0}}\right) \widehat {\widetilde {b}} _ {t}\tag{27}\]

\[\begin{array}{r c l} \left(e x _ {t} + \widetilde {b} _ {t} ^ {*}\right) & = & \frac {1}{\gamma^ {L} \beta} \left(e x _ {t - 1} + \widetilde {b} _ {t - 1} ^ {*}\right) \\ & & + \left(\frac {e x p ^ {W}}{p}\right) \left(\widetilde {\frac {M}{\widetilde {y} ^ {d}}}\right) \left((1 - \varepsilon_ {W}) \left[ \begin{array}{c} (\widehat {e x _ {t}} + \widehat {p _ {t} ^ {x}} - \widehat {p _ {t}}) \\ - (\widehat {e x _ {t}} + \widehat {p _ {t} ^ {W}} - \widehat {p _ {t}}) \end{array} \right] - \widehat {\widetilde {M} _ {t}} + \widehat {y _ {t} ^ {W}}\right) \end{array}\tag{28}\]

\[\widehat {\widetilde {M}} _ {t} = \widehat {v} _ {t} ^ {M} + \widehat {\widetilde {y}} _ {t} ^ {M}\tag{29}\]

\[\widehat {\widetilde {x}} _ {t} = \widehat {v} _ {t} ^ {x} - \varepsilon_ {W} \left[ \left(\widehat {e x} _ {t} + \widehat {p} _ {t} ^ {x} - \widehat {p} _ {t}\right) - \left(\widehat {e x} _ {t} + \widehat {p} _ {t} ^ {W} - \widehat {p} _ {t}\right) \right] + \widehat {\widetilde {y}} _ {t} ^ {W}\tag{30}\]

\[\begin{array}{r c l} \widehat {v} _ {t} ^ {M} & = & \theta_ {M} (\Pi^ {M}) ^ {\varepsilon_ {M} (1 - \chi_ {M})} \left(\varepsilon_ {M} (\widehat {\Pi} _ {t} ^ {M} - \chi_ {M} \widehat {\Pi} _ {t - 1} ^ {M}) + \widehat {v} _ {t - 1} ^ {M}\right) \\ & & - \left(1 - \theta_ {M} (\Pi^ {M}) ^ {\varepsilon_ {M} (1 - \chi_ {M})}\right) \varepsilon_ {M} \widehat {\Pi} _ {t} ^ {M *} \end{array}\tag{31}\]

\[\begin{array}{r c l} \widehat {v} _ {t} ^ {x} & = & \theta_ {x} \left(\Pi^ {W}\right) ^ {- \varepsilon_ {x} \chi_ {x}} \left(\Pi^ {x}\right) ^ {\varepsilon_ {x}} \left(\varepsilon_ {x} (\widehat {\Pi} _ {t} ^ {x} - \chi_ {x} \widehat {\Pi} _ {t - 1} ^ {W}) + \widehat {v} _ {t - 1} ^ {x}\right) \\ & & - \left(1 - \theta_ {x} \left(\Pi^ {W}\right) ^ {- \varepsilon_ {x} \chi_ {x}} \left(\Pi^ {x}\right) ^ {\varepsilon_ {x}}\right) \varepsilon_ {x} \widehat {\Pi} _ {t} ^ {x *} \end{array}\tag{32}\]

\[\widehat {\widetilde {y}} _ {t} ^ {M} = \left(\frac {\widetilde {c} ^ {M}}{\widetilde {c} ^ {M} + \widetilde {i} ^ {M}}\right) \widehat {\widetilde {c}} _ {t} ^ {M} + \left(\frac {\widetilde {i} ^ {M}}{\widetilde {c} ^ {M} + \widetilde {i} ^ {M}}\right) \widehat {\widetilde {i}} _ {t} ^ {M}\tag{33}\]

\[\widehat {\widetilde {y}} _ {t} ^ {x} = - \varepsilon_ {W} \left[ (\widehat {e x} _ {t} + \widehat {p} _ {t} ^ {x} - \widehat {p} _ {t}) - (\widehat {e x} _ {t} + \widehat {p} _ {t} ^ {W} - \widehat {p} _ {t}) \right] + \widehat {\widetilde {y}} _ {t} ^ {W}\tag{34}\]

\[\widehat {\widetilde {c}} _ {t} ^ {M} - \widehat {\widetilde {c}} _ {t} ^ {d} = - a _ {1} ^ {c} \mathbb {E} _ {t} \left(\triangle \widetilde {c} _ {t} ^ {M} - \triangle \widetilde {c} _ {t}\right) + a _ {2} ^ {c} \mathbb {E} _ {t} \left(\triangle \widetilde {c} _ {t + 1} ^ {M} - \triangle \widetilde {c} _ {t + 1}\right) - \varepsilon_ {c} \left(\widehat {p} _ {t} ^ {M} - \widehat {p} _ {t}\right)\tag{35}\]

\[\widehat {\widetilde {i}} _ {t} ^ {M} - \widehat {\widetilde {i}} _ {t} ^ {d} = - a _ {1} ^ {i} \mathbb {E} _ {t} \left(\triangle \widetilde {i} _ {t} ^ {M} - \triangle \widetilde {i} _ {t}\right) + a _ {2} ^ {i} \mathbb {E} _ {t} \left(\triangle \widetilde {i} _ {t + 1} ^ {M} - \triangle \widetilde {i} _ {t + 1}\right) - \varepsilon_ {i} \left(\widehat {p} _ {t} ^ {M} - \widehat {p} _ {t}\right)\tag{36}\]

\[\left(\widetilde {y} ^ {d} v ^ {p}\right) \left(\widehat {v} _ {t} ^ {p} + \widehat {\widetilde {y}} _ {t} ^ {d}\right) = \frac {\widetilde {A}}{\widetilde {z}} \widetilde {k} ^ {\alpha} \left(\widetilde {l} ^ {d}\right) ^ {1 - \alpha} \left(\widehat {\widetilde {A}} _ {t} - \widehat {\widetilde {z}} _ {t} + \alpha \left(\widehat {u} _ {t} + \widehat {\widetilde {k}} _ {t - 1}\right) + (1 - \alpha) \widehat {\widetilde {l}} _ {t} ^ {d}\right).\tag{37}\]

\[\begin{array}{r c l} \widetilde {y} ^ {d} \widehat {\widetilde {y}} _ {t} ^ {d} & = & n ^ {c} \left(\frac {p ^ {c}}{p}\right) ^ {\varepsilon_ {c}} \widetilde {c} \left(\widehat {\widetilde {c}} _ {t} + \varepsilon_ {c} \left(\widehat {p} _ {t} ^ {c} - \widehat {p} _ {t}\right)\right) + n ^ {i} \left(\frac {p ^ {i}}{p}\right) ^ {\varepsilon_ {i}} \widetilde {i} \left(\widehat {\widetilde {i}} _ {t} + \varepsilon_ {i} \left(\widehat {p} _ {t} ^ {i} - \widehat {p} _ {t}\right)\right) \\ & & + g \widehat {g} _ {t} + \frac {\Phi_ {1} \widetilde {k}}{\widetilde {\mu} \widetilde {z}} \widehat {u} _ {t} + \widetilde {x} \widehat {\widetilde {x}} _ {t}, \end{array}\tag{38}\]

\[\widehat {l} _ {t} = \widehat {v} _ {t} ^ {w} + \widehat {l} _ {t} ^ {d},\tag{39}\]

\[\begin{array}{r c l} \widehat {v} _ {t} ^ {p} & = & \theta_ {p} \Pi^ {\varepsilon (1 - \chi)} \left(\varepsilon (\widehat {\Pi} _ {t} - \chi \widehat {\Pi} _ {t - 1}) + \widehat {v} _ {t - 1} ^ {p}\right) \\ & & - \left(1 - \theta_ {p} \Pi^ {\varepsilon (1 - \chi)}\right) \varepsilon \widehat {\Pi} _ {t} ^ {*}. \end{array}\tag{40}\]

\[\begin{array}{r c l} \widehat {v} _ {t} ^ {w} & = & \theta_ {w} \Pi^ {\eta (1 - \chi_ {w})} \widetilde {z} ^ {\eta} \left(\eta \left(\widehat {\Pi} _ {t} - \chi_ {w} \widehat {\Pi} _ {t - 1} + \widehat {\widetilde {w}} _ {t} - \widehat {\widetilde {w}} _ {t - 1} + \widehat {\widetilde {z}} _ {t}\right) + \widehat {v} _ {t - 1} ^ {w}\right) \\ & & - \left(1 - \theta_ {w} \Pi^ {\eta (1 - \chi_ {w})} \widetilde {z} ^ {\eta}\right) \eta (\widehat {\widetilde {w}} _ {t} ^ {*} - \widehat {\widetilde {w}} _ {t}). \end{array}\tag{41}\]

\[\widehat {\widetilde {k}} _ {t} = \frac {(1 - \delta)}{\widetilde {z} \widetilde {\mu} \gamma^ {L}} \widehat {\widetilde {k}} _ {t - 1} + \left(1 - \frac {1 - \delta}{\widetilde {z} \widetilde {\mu} \gamma^ {L}}\right) \widehat {\widetilde {i}} _ {t} - \frac {(1 - \delta)}{\widetilde {z} \widetilde {\mu} \gamma^ {L}} \left(\widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\mu}} _ {t}\right).\tag{42}\]

\[\widehat {\widetilde {c}} _ {t} = (n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} \left(\frac {\widetilde {c} ^ {d}}{\widetilde {c}}\right) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} \widehat {\widetilde {c}} _ {t} ^ {d} + \left[ 1 - (n ^ {c}) ^ {\frac {1}{\varepsilon_ {c}}} \left(\frac {\widetilde {c} ^ {d}}{\widetilde {c}}\right) ^ {\frac {\varepsilon_ {c} - 1}{\varepsilon_ {c}}} \right] ^ {\frac {1}{\varepsilon_ {c}}} \widehat {\widetilde {c}} _ {t} ^ {M}\tag{43}\]

\[\widehat {\widetilde {i}} _ {t} = \left(n ^ {i}\right) ^ {\frac {1}{\varepsilon_ {i}}} \binom{\widetilde {i} ^ {d}}{\overline {{\widetilde {i}}}} ^ {\frac {\varepsilon_ {i} - 1}{\varepsilon_ {i}}} \widehat {\widetilde {i}} _ {t} ^ {d} + \left[ 1 - \left(n ^ {i}\right) ^ {\frac {1}{\varepsilon_ {i}}} \binom{\widetilde {i} ^ {d}}{\overline {{\widetilde {i}}}} ^ {\frac {\varepsilon_ {i} - 1}{\varepsilon_ {i}}} \right] ^ {\frac {1}{\varepsilon_ {i}}} \widehat {\widetilde {i}} _ {t} ^ {M}\tag{44}\]

\[(\widehat {p} _ {t} ^ {c} - \widehat {p} _ {t}) = \left(\frac {1 - n ^ {c}}{1 - \varepsilon_ {c}}\right) \left(\frac {\left(\frac {p ^ {M}}{p}\right)}{\left(\frac {p ^ {c}}{p}\right)}\right) ^ {1 - \varepsilon_ {c}} \left[ \begin{array}{c} (1 - \varepsilon_ {c}) (\widehat {p} _ {t} ^ {M} - \widehat {p} _ {t}) \\ - a _ {1} ^ {c} \mathbb {E} _ {t} (\Delta \widetilde {c} _ {t} ^ {M} - \Delta \widetilde {c} _ {t}) + a _ {2} ^ {c} \mathbb {E} _ {t} (\Delta \widetilde {c} _ {t + 1} ^ {M} - \Delta \widetilde {c} _ {t + 1}) \end{array} \right]\tag{45}\]

\[\left(\widehat {p} _ {t} ^ {i} - \widehat {p} _ {t}\right) = \left(\frac {1 - n ^ {i}}{1 - \varepsilon_ {i}}\right) \left(\frac {\left(\frac {p ^ {M}}{p}\right)}{\left(\frac {p ^ {i}}{p}\right)}\right) ^ {1 - \varepsilon_ {i}} \left[ \begin{array}{c} (1 - \varepsilon_ {i}) (\widehat {p} _ {t} ^ {M} - \widehat {p} _ {t}) \\ - a _ {1} ^ {i} \mathbb {E} _ {t} (\Delta \widetilde {i} _ {t} ^ {M} - \Delta \widetilde {i} _ {t}) + a _ {2} ^ {i} \mathbb {E} _ {t} (\Delta \widetilde {i} _ {t + 1} ^ {M} - \Delta \widetilde {i} _ {t + 1}) \end{array} \right]\tag{46}\]

\[\widehat {\Pi} _ {t} ^ {c} = \left(\widehat {p} _ {t} ^ {c} - \widehat {p} _ {t}\right) - \left(\widehat {p} _ {t - 1} ^ {c} - \widehat {p} _ {t - 1}\right) + \Pi_ {t}\tag{47}\]

\[\widehat {\Pi} _ {t} ^ {i} = \left(\widehat {p} _ {t} ^ {i} - \widehat {p} _ {t}\right) - \left(\widehat {p} _ {t - 1} ^ {i} - \widehat {p} _ {t - 1}\right) + \Pi_ {t}\tag{48}\]

\[\widehat {\Pi} _ {t} ^ {M} = \left(\widehat {p} _ {t} ^ {M} - \widehat {p} _ {t}\right) - \left(\widehat {p} _ {t - 1} ^ {M} - \widehat {p} _ {t - 1}\right) + \Pi_ {t}\tag{49}\]

\[\widehat {\Pi} _ {t} ^ {x} = \left(e x _ {t} + \widehat {p} _ {t} ^ {x} - \widehat {p} _ {t}\right) - \left(e x _ {t - 1} + \widehat {p} _ {t - 1} ^ {x} - \widehat {p} _ {t - 1}\right) + \Pi_ {t} - \Delta \widehat {e x} _ {t}\tag{50}\]

\[\widehat {\Pi} _ {t} ^ {W} = \left(\widehat {p} _ {t} ^ {W} + e x _ {t} - \widehat {p} _ {t}\right) - \left(\widehat {p} _ {t - 1} ^ {W} + e x _ {t - 1} - \widehat {p} _ {t - 1}\right) + \Pi_ {t} - \Delta \widehat {e x} _ {t}\]

\[\widehat {\widetilde {z}} _ {t} = \frac {\widehat {\widetilde {A}} _ {t} + \alpha \widehat {\widetilde {\mu}} _ {t}}{1 - \alpha}\tag{51}\]

(52)

\[\widehat {\Pi} _ {t} ^ {W} = \widehat {\xi} _ {t} ^ {\Pi^ {W}}\tag{53}\]

\[\widehat {R} _ {t} ^ {*} = \widehat {\xi} _ {t} ^ {R ^ {*}}\tag{54}\]

\[\widehat {\widetilde {y}} _ {t} ^ {W} - \widehat {\xi} _ {t} ^ {y ^ {W}} = 0\tag{55}\]

\[\widehat {d} _ {t} = \rho_ {d} \widehat {d} _ {t - 1} + \sigma_ {d} \varepsilon_ {d, t}\tag{56}\]

\[\widehat {\varphi} _ {t} = \rho_ {\varphi} \widehat {\varphi} _ {t - 1} + \sigma_ {\varphi} \varepsilon_ {\varphi , t}\tag{57}\]

\[\widehat {g} _ {t} = \rho_ {g} \widehat {g} _ {t - 1} + \sigma_ {g} \varepsilon_ {g, t}\tag{58}\]

\[\widehat {\xi} _ {t} ^ {m} = \sigma_ {m} \varepsilon_ {m, t}\tag{59}\]

\[\widehat {\gamma} _ {t} ^ {L} = \sigma_ {L} \varepsilon_ {L, t}\tag{60}\]

\[\widehat {\widetilde {A}} _ {t} = \sigma_ {A} \varepsilon_ {A, t}\tag{61}\]

\[\widehat {\widetilde {\mu}} _ {t} = \sigma_ {\mu} \varepsilon_ {\mu , t}\tag{62}\]

\[\widehat {\xi} _ {t} ^ {\Pi^ {W}} = \rho_ {\Pi^ {W}} \widehat {\xi} _ {t - 1} ^ {\Pi^ {W}} + \sigma_ {\Pi^ {W}} \varepsilon_ {\Pi^ {W}, t}\tag{63}\]

\[\widehat {\xi} _ {t} ^ {y ^ {W}} = \rho_ {y ^ {W}} \widehat {\xi} _ {t - 1} ^ {y ^ {W}} + \sigma_ {y ^ {W}} \varepsilon_ {y ^ {W}, t}\tag{64}\]

\[\widehat {\xi} _ {t} ^ {R ^ {*}} = \rho_ {R ^ {*}} \widehat {\xi} _ {t - 1} ^ {R ^ {*}} + \sigma_ {R ^ {*} \varepsilon_ {R ^ {*}, t}}\tag{65}\]

\[\widehat {\xi} _ {t} ^ {b ^ {*}} = \rho_ {b ^ {*}} \widehat {\xi} _ {t - 1} ^ {b ^ {*}} + \sigma_ {b ^ {*} \varepsilon_ {b ^ {*}, t}}\tag{66}\]

\[\Pi_ {t} ^ {O} - \log \Pi = \widehat {\Pi} _ {t}\tag{67}\]

\[w _ {t} ^ {O} - w _ {t - 1} ^ {O} - \log \widetilde {z} = \left(\widehat {\widetilde {w}} _ {t} - \widehat {\widetilde {w}} _ {t - 1}\right) + \widehat {\widetilde {z}} _ {t}\tag{68}\]

\[R _ {t} ^ {O} - \log R = \widehat {R} _ {t}\tag{69}\]

\[y _ {t} ^ {d, O} - y _ {t - 1} ^ {d, O} - \log \widetilde {z} - \log \widetilde {\gamma} ^ {L} = \left(\widehat {\widetilde {y}} _ {t} ^ {d} - \widehat {\widetilde {y}} _ {t - 1} ^ {d}\right) + \widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\gamma}} _ {t} ^ {L}\tag{70}\]

\[c _ {t} ^ {O} - c _ {t - 1} ^ {O} - \log \widetilde {z} - \log \widetilde {\gamma} ^ {L} = \left(\widehat {\widetilde {c}} _ {t} - \widehat {\widetilde {c}} _ {t - 1}\right) + \widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\gamma}} _ {t} ^ {L}\tag{71}\]

\[i _ {t} ^ {O} - i _ {t - 1} ^ {O} - \log \widetilde {z} - \log \widetilde {\gamma} ^ {L} = \left(\widehat {\widetilde {i}} _ {t} - \widehat {\widetilde {i}} _ {t - 1}\right) + \widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\gamma}} _ {t} ^ {L}\tag{72}\]

\[\Pi_ {t} ^ {c, O} - \log \Pi^ {c} = \widehat {\Pi} _ {t} ^ {c}\tag{73}\]

\[\Pi_ {t} ^ {i, O} - \log \Pi^ {i} = \widehat {\Pi} _ {t} ^ {i}\tag{74}\]

\[l _ {t} ^ {d, O} - l _ {t - 1} ^ {d, O} - \log \widetilde {\gamma} ^ {L} = \left(\widehat {l} _ {t} ^ {d} - \widehat {l} _ {t - 1} ^ {d}\right) = \widehat {\widetilde {\gamma}} _ {t} ^ {L}\tag{75}\]

\[M _ {t} ^ {O} - M _ {t - 1} ^ {O} - \log \widetilde {z} - \log \widetilde {\gamma} ^ {L} = \left(\widehat {\widetilde {M}} _ {t} - \widehat {\widetilde {M}} _ {t - 1}\right) + \widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\gamma}} _ {t} ^ {L}\tag{76}\]

\[x _ {t} ^ {O} - x _ {t - 1} ^ {O} - \log \widetilde {z} - \log \widetilde {\gamma} ^ {L} = \left(\widehat {\widetilde {x}} _ {t} - \widehat {\widetilde {x}} _ {t - 1}\right) + \widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\gamma}} _ {t} ^ {L}\tag{77}\]

\[\Pi_ {t} ^ {M, O} - \log \Pi^ {M} = \widehat {\Pi} _ {t} ^ {M}\tag{78}\]

\[\Pi_ {t} ^ {x, O} - \log \Pi^ {x} = \widehat {\Pi} _ {t} ^ {x}\tag{79}\]

\[\Pi_ {t} ^ {W, O} - \log \Pi^ {W} = \widehat {\Pi} _ {t} ^ {W}\tag{80}\]

\[R _ {t} ^ {*, O} - \log R ^ {*} = \widehat {R} _ {t} ^ {*}\tag{81}\]

\[y _ {t} ^ {W, O} - y _ {t - 1} ^ {W, O} - \log \widetilde {z} - \log \widetilde {\gamma} ^ {L} = \left(\widehat {\widetilde {y}} _ {t} ^ {W} - \widehat {\widetilde {y}} _ {t - 1} ^ {W}\right) + \widehat {\widetilde {z}} _ {t} + \widehat {\widetilde {\gamma}} _ {t} ^ {L}\tag{82}\]

Table 1: Calibrated parameters

valuereasonvaluereason
$\beta$ 0.99Difficult to identify $\gamma_y$ 0.125Taylor Rule U.E.
$v$ 0.1Irrelevant $\tau_c$ 0.113Data on taxes
$\delta$ 0.0175Micro data $\tau_w$ 0.341Data on taxes
$\alpha$ 0.3621Micro data $\tau_k$ 0.219Data on taxes
$\gamma_R$ 0.8Taylor Rule U.E.g0.17-
$\gamma_\Pi$ 1.7Taylor Rule U.E.b0.40-

Table 2: Prior and posterior distribution of structural parameters. Full sample (86q1-07q4)

ParameterPrior distributionPosterior distribution
typemeanstdmeanmodestdmedian5%95%
Preferences
habitshbeta0.700.100.8470.7950.1000.8470.8310.864
labour supply coef.ψuniform0.500.256.7726.7442.8876.7926.6736.847
frisch elasticityvarthetauniform1.551.181.8351.9700.8371.8401.6482.003
Adjustment costs
Investmentκuniform25.021728.95428.99514.43428.96028.88729.016
fixed cost of productionΦuniform0.500.250.1270.0510.2890.1270.0340.223
Capital utilizationΦ2uniform1.000.670.2480.4610.5770.2460.2190.273
risk premiumΓbWuniform0.500.250.8320.8590.2890.8270.7420.959
import consumptionΓcuniform0.500.250.4490.2590.2890.4400.2110.692
import investmentΓiuniform0.500.250.6180.6470.2890.6290.5380.691
Elasticities of substitution
domestic goodsεuniform8.002.008.5778.4801.1558.5758.3968.800
import goodsεMuniform8.002.008.7878.7274.0428.7788.6908.892
export goodsεXuniform8.002.009.4919.4371.1559.4989.3219.622
world goodsεWuniform8.002.006.7917.3001.1556.7856.6896.900
consumption goodsεcuniform8.002.007.5127.6711.1557.5177.4417.585
investment goodsεiuniform8.002.007.8518.0561.1557.8677.5958.108
labour typesηuniform8.002.007.7587.7061.1557.7547.6707.865
Price and wage and price setting
Calvo dom. pricesθpuniform0.500.250.8980.9040.2890.8980.8970.900
Calvo exp. PricesθXuniform0.500.250.3300.3270.2890.3350.2720.378
Calvo imp. PricesθMuniform0.500.250.0640.0500.2890.0460.0000.147
Calvo wagesθwuniform0.500.250.4570.2350.2890.4570.4170.501
Indexation dom. pricesχpuniform0.500.250.0040.0030.2890.0030.0000.008
Indexation imp. PricesχMuniform0.500.250.0640.2870.2890.0550.0000.148
Indexation exp. PricesχXuniform0.500.250.0270.0130.2890.0200.0000.062
Indexation wagesχwuniform0.500.250.9610.9670.2890.9690.9191.000
Fiscal policy
Fiscal rule coeff.T1uniform0.050.020.0510.0510.0290.0470.0150.100
Home bias
in consumptionncbeta0.700.100.9620.8130.1000.9620.9430.982
in investmentnibeta0.500.200.0720.1000.1500.0710.0530.094
Growth rates
inv. specific tech.Λμbeta0.0040.0010.0040.0030.0010.0040.0020.006
general technologyΛAbeta0.0040.0010.0040.0020.0010.0040.0020.006
populationγLbeta0.0040.0010.0030.0030.0010.0030.0020.004
Autorregressive coefficients of shocks
intertemp. preferencesρduniform0.500.250.9780.9000.2860.9780.9690.989
hours preferencesρψuniform0.450.220.8950.8000.2600.8970.8890.900
public consumptionρguniform0.500.250.9790.9780.2860.9820.9670.990
foreign pricesρπwuniform0.500.250.3610.3660.2860.3630.2850.422
foreign demandρyWuniform0.500.250.0330.4590.2860.0250.0000.070
World interest rateρRWuniform0.500.250.8760.9630.2860.8690.8020.957
Standard deviations of shocks
inv. specific tech.σμuniform0.500.250.4030.3000.2890.4000.3470.463
general technologyσAuniform0.500.250.0090.0120.2890.0090.0080.010
populationσLuniform0.500.250.0010.0010.2890.0010.0010.001
intertemp. preferencesσduniform0.500.250.1740.9330.2890.1610.1090.250
hours preferencesσψuniform0.500.250.2660.1370.2890.2620.2230.313
public consumptionσguniform0.500.250.0620.0760.2890.0620.0470.076
interest rateσRuniform0.500.250.0030.0030.2890.0030.0030.004
foreign pricesσπwuniform0.500.250.0440.0440.2890.0440.0380.049
foreign demandσyWuniform0.500.250.1450.1500.2890.1440.1240.165
World interest rateσRWuniform0.500.250.0050.0010.2890.0050.0000.009

Table 3: Prior and posterior distribution of structural parameters. Subsamples.

Parameter1986Q1 - 1996Q41997Q1 - 2007Q41997Q1 - 2007Q4 (ex MP)
mean5%95%mean5%95%mean5%95%
Preferences
habitsh0.8610.8360.8860.8270.7960.8630.8860.8510.911
labour supply coef.ψ7.0056.6537.3366.9826.8157.1686.6426.5416.736
frisch elasticityvartheta1.9091.6752.0931.7751.5641.9402.2742.0722.437
Adjustment costs
Investmentκ29.72229.47729.99729.05228.94629.13828.96428.87329.067
fixed cost of productionΦ0.7600.6260.8940.2090.0970.3380.0240.0000.058
Capital utilizationΦ20.2440.2080.2780.3940.3350.4540.6870.6370.749
risk premiumΓbW0.8270.6890.9870.8650.6921.0000.0000.0000.001
import consumptionΓc0.0360.0000.0810.5010.1720.8600.4360.2490.533
import investmentΓi0.5030.2930.6350.7580.6440.8740.8890.8280.972
Elasticities of substitution
domestic goodsε7.4946.9047.9018.6188.3538.8098.9478.7719.088
import goodsεM8.6908.4468.9468.7418.6188.8578.3568.2918.426
export goodsεX9.5539.3749.7279.5919.4409.7749.1779.1269.216
world goodsεW6.6766.3546.9507.0676.8867.1836.6496.5976.691
consumption goodsεc8.7368.4258.9457.8747.7658.0467.9587.8718.038
investment goodsεi7.2667.1307.4358.3718.1998.4998.2828.2108.327
labour typesη7.7847.5658.1017.8607.7687.9608.0327.9828.097
Price and wage and price setting
Calvo dom. pricesθp0.9010.8980.9050.8950.8930.8970.5290.4900.573
Calvo exp. PricesθX0.2410.1300.3650.1480.0530.2590.5920.4860.673
Calvo imp. PricesθM0.0770.0000.1500.2970.1250.4550.2850.2540.339
Calvo wagesθw0.4180.3280.5380.5270.4860.5730.0300.0000.075
Indexation dom. pricesχp0.0060.0000.0140.0070.0000.0160.0310.0000.081
Indexation imp. PricesχM0.3440.2320.4330.2010.0890.3360.0280.0000.052
Indexation exp. PricesχX0.0960.0000.1960.0580.0000.1260.1800.0950.250
Indexation wagesχw0.7670.5920.9530.8910.7411.0000.9540.9211.000
Fiscal policy
Fiscal rule coeff.T10.0430.0000.0840.0520.0090.1000.0510.0170.091
Home bias
in consumptionnc0.9400.9050.9720.8840.8420.9190.8600.8090.903
in investmentni0.1090.0730.1450.1480.1120.1970.0880.0320.140
Growth rates
inv. specific tech.Λμ0.0040.0020.0060.0040.0020.0060.0040.0020.006
general technologyΛA0.0040.0020.0060.0040.0020.0060.0040.0020.006
populationγL0.0030.0020.0040.0030.0020.0040.0030.0020.004
Autorregressive coefficients of shocks
intertemp. preferencesρd0.9540.9340.9730.9730.9580.9900.8830.8160.990
hours preferencesρψ0.8750.8470.9000.8880.8730.9000.8610.8310.891
public consumptionpg0.6230.5230.7070.8990.8170.9900.9740.9610.990
foreign pricesρπw0.2780.1750.3980.1700.0640.3060.0300.0000.051
foreign demandρyW0.1290.0150.2390.0590.0000.1250.0250.0000.059
World interest rateρRW0.9000.8230.9900.7390.5480.9900.9540.9250.990
Standard deviations of shocks
inv. specific tech.σμ0.6620.5750.7640.1850.1470.2220.1790.1000.268
general technologyσA0.0110.0090.0130.0030.0030.0040.0120.0090.014
populationσL0.0010.0010.0010.0010.0010.0020.0010.0010.002
intertemp. preferencesσd0.1090.0790.1380.0930.0520.1370.1010.0540.222
hours preferencesσψ0.3260.2080.5050.1310.0970.1660.0720.0540.088
public consumptionσg0.0570.0060.0920.0370.0290.0440.5980.5580.636
interest rateσR0.0040.0030.0050.0020.0020.0020.1430.0740.240
foreign pricesσπw0.0490.0400.0570.0370.0310.0440.0370.0310.044
foreign demandσyW0.2210.1760.2590.0810.0650.0970.1600.1160.196
World interest rateσRW0.0100.0000.0160.0010.0000.0020.0010.0010.001

Table 4: Prior and posterior distribution of structural parameters. Recursive estimation.

ParameterPrior distribution typemeanstdmean of Posterior distribution
86-9686-9886-0086-0286-0486-0686-07
Preferences
habitshbeta0.700.100.8610.8480.8500.8540.8450.8470.847
labour supply coef.ψuniform0.500.257.0056.6846.6716.6036.8276.8596.772
frisch elasticityvarthetauniform1.551.181.9092.0401.9272.0171.8261.8571.835
Adjustment costs
Investmentκuniform25.021729.72228.94928.98428.95028.85728.91128.954
fixed cost of productionΦuniform0.500.250.7600.0390.0390.0480.1200.0960.127
Capital utilizationΦ2uniform1.000.670.2440.2380.2430.2430.2440.2900.248
risk premiumΓbWuniform0.500.250.8270.8710.9620.8940.9740.8250.832
import consumptionΓcuniform0.500.250.0360.4150.3300.5170.1330.2590.449
import investmentΓiuniform0.500.250.5030.6180.7940.8670.6540.6210.618
Elasticities of substitution
domestic goodsεuniform8.002.007.4948.3028.5278.6278.4358.5058.577
import goodsεMuniform8.002.008.6908.6968.6748.7518.5188.5928.787
export goodsεXuniform8.002.009.5539.3399.2579.2939.3869.3949.491
world goodsεWuniform8.002.006.6767.1077.3907.3187.0267.0946.791
consumption goodsεcuniform8.002.008.7367.6687.8187.6607.7227.7827.512
investment goodsεiuniform8.002.007.2667.7998.0017.8478.2158.2547.851
labour typesηuniform8.002.007.7847.8007.8207.7677.6887.5637.758
Price and wage and price setting
Calvo dom. pricesθpuniform0.500.250.9010.9000.9000.8990.9000.9000.898
Calvo exp. PricesθXuniform0.500.250.2410.3050.3300.2890.3670.3200.330
Calvo imp. PricesθMuniform0.500.250.0770.0400.1860.1350.1560.1290.064
Calvo wagesθwuniform0.500.250.4180.4040.3650.4150.4310.4100.457
Indexation dom. pricesχpuniform0.500.250.0060.0040.0050.0050.0030.0030.004
Indexation imp. PricesχMuniform0.500.250.3440.2780.0630.1670.3480.1870.064
Indexation exp. PricesχXuniform0.500.250.0960.0360.0390.0200.0350.0410.027
Indexation wagesχwuniform0.500.250.7670.9270.9050.9720.9320.9650.961
Fiscal policy
Fiscal rule coeff.T1uniform0.050.020.0430.0480.0600.0500.0460.0560.051
Home bias
in consumptionncbeta0.700.100.9400.9750.9750.9650.9710.9700.962
in investmentnibeta0.500.200.1090.0650.0540.0690.0660.0530.072
Growth rates
inv. specific tech.Λμbeta0.0040.0010.0040.0040.0040.0040.0040.0040.004
general technologyΛAbeta0.0040.0010.0040.0040.0040.0040.0040.0040.004
populationγLbeta0.0040.0010.0030.0030.0030.0030.0030.0030.003
Autorregressive coefficients of shocks
intertemp. preferencesρduniform0.500.250.9540.9890.9890.9870.9890.9860.978
hours preferencesρψuniform0.450.220.8750.8960.8950.8930.8960.8970.895
public consumptionρguniform0.500.250.6230.9200.9730.9640.9380.9760.979
foreign pricesρπwuniform0.500.250.2780.3410.3800.3240.4220.3660.361
foreign demandρyWuniform0.500.250.1290.1110.0350.0380.0940.0430.033
World interest rateρRWuniform0.500.250.9000.8690.9630.9540.8640.9250.876
Standard deviations of shocks
inv. specific tech.σμuniform0.500.250.6620.4150.4280.4460.3980.3760.403
general technologyσAuniform0.500.250.0110.0090.0090.0100.0090.0090.009
populationσLuniform0.500.250.0010.0010.0010.0010.0010.0010.001
intertemp. preferencesσduniform0.500.250.1090.4330.5030.3760.3550.3430.174
hours preferencesσψuniform0.500.250.3260.2460.2000.2850.2390.2060.266
public consumptionσguniform0.500.250.0570.0640.0670.0690.0610.0630.062
interest rateσRuniform0.500.250.0040.0030.0030.0030.0030.0030.003
foreign pricesσπwuniform0.500.250.0490.0460.0470.0460.0480.0440.044
foreign demandσyWuniform0.500.250.2210.1640.1600.1640.1680.1440.145
World interest rateσRWuniform0.500.250.0100.0060.0060.0070.0060.0050.005

Table 5: Prior and posterior distribution of structural parameters. Adding observables.

Parameterbaselineadd real investmentadd investment deflatoradd public consumption
mean5%95%mean5%95%mean5%95%mean5%95%
Preferences
habitsh0.8470.8310.8640.9260.9120.9400.8570.8260.8910.8200.8060.831
labour supply coef.ψ6.7726.6736.8476.7476.5616.8766.7536.5776.8566.7246.6956.751
frisch elasticityvartheta1.8351.6482.0032.5712.2942.7551.7991.6631.9581.9281.9051.950
Adjustment costs
Investmentκ28.95428.88729.01628.78028.56528.98928.81728.76228.89328.99228.97729.006
fixed cost of productionΦ0.1270.0340.2230.2200.0260.3460.0880.0090.1610.0160.0000.036
Capital utilizationΦ20.2480.2190.2730.3440.2850.4060.2330.2070.2600.4710.4600.485
risk premiumΓbW0.8320.7420.9590.7630.5721.0000.2490.0100.4890.8750.8670.884
import consumptionΓc0.4490.2110.6920.4820.3210.6380.0120.0000.0260.2570.2450.264
import investmentΓi0.6180.5380.6910.5180.3420.7260.7820.6251.0000.6950.6760.715
Elasticities of substitution
domestic goodsε8.5778.3968.8007.7717.6687.8888.6868.5388.8028.4888.4798.497
import goodsεM8.7878.6908.8929.2079.1349.3158.5478.4638.6398.7748.7638.784
export goodsεX9.4919.3219.6229.7169.40410.0009.4669.2919.6339.4139.3959.437
world goodsεW6.7916.6896.9007.5727.4697.6696.1746.0006.4227.2647.2537.278
consumption goodsεc7.5127.4417.5857.7767.6587.8917.7607.7097.8187.6797.6687.691
investment goodsεi7.8517.5958.1088.7408.5049.0657.7957.5267.9758.0578.0478.065
labour typesη7.7587.6707.8657.5177.4157.6157.6737.4197.8837.6927.6817.703
Price and wage and price setting
Calvo dom. pricesθp0.8980.8970.9000.8780.8690.8870.8990.8970.9000.9020.9010.903
Calvo exp. PricesθX0.3300.2720.3780.0810.0000.1470.5520.4770.6380.3420.3280.355
Calvo imp. PricesθM0.0640.0000.1470.5430.2030.8060.0420.0000.0830.0830.0480.102
Calvo wagesθw0.4570.4170.5010.3550.2710.4450.4410.3750.5160.3040.2960.313
Indexation dom. pricesχp0.0040.0000.0080.0050.0000.0110.0040.0000.0100.0020.0000.004
Indexation imp. PricesχM0.0640.0000.1480.5840.4450.6830.1350.0000.2130.3250.3140.336
Indexation exp. PricesχX0.0270.0000.0620.2950.1890.3730.0610.0000.1570.0060.0000.012
Indexation wagesχw0.9610.9191.0000.9730.9411.0000.9440.8841.0000.9880.9800.998
Fiscal policy
Fiscal rule coeff.T10.0510.0150.1000.0530.0070.0950.0570.0140.1000.0090.0000.019
Home bias
in consumptionnc0.9620.9430.9820.9280.8770.9750.8750.8270.9150.8470.8320.859
in investmentni0.0720.0530.0940.0360.0110.0570.0170.0060.0290.0100.0040.020
Growth rates
inv. specific tech.Λμ0.0040.0020.0060.0040.0020.0060.0040.0020.0060.0030.0010.004
general technologyΛA0.0040.0020.0060.0040.0020.0060.0040.0020.0060.0020.0010.004
populationγL0.0030.0020.0040.0030.0020.0040.0030.0020.0040.0030.0020.004
Autorregressive coefficients of shocks
intertemp. preferencespd0.9780.9690.9890.9840.9770.9900.9720.9530.9890.9900.9890.990
hours preferencesρψ0.8950.8890.9000.8100.7220.9000.8940.8850.9000.8990.8980.900
public consumptionpg0.9790.9670.9900.9790.9700.9870.7360.6920.7830.8490.8130.873
foreign pricesρτω0.3610.2850.4220.0720.0000.1410.2900.1460.4530.3490.3390.361
foreign demandργW0.0330.0000.0700.2880.1690.3880.0470.0000.0800.4400.4280.450
World interest rateρRW0.8760.8020.9570.9180.8690.9670.9880.9860.9900.9870.9840.990
Standard deviations of shocks
inv. specific tech.σμ0.4030.3470.4630.3220.2780.3610.3020.2660.3490.3040.2970.312
general technologyσA0.0090.0080.0100.0080.0070.0100.0080.0070.0090.0110.0090.012
populationσL0.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.001
intertemp. preferencesσd0.1740.1090.2500.2300.1510.3040.1610.0840.2460.8990.8620.922
hours preferencesσψ0.2660.2230.3130.2510.1640.3610.2480.1740.3400.1590.1520.169
public consumptionσg0.0620.0470.0760.8170.7370.8920.4540.3820.5140.1800.1650.192
interest rateσR0.0030.0030.0040.0030.0030.0040.0030.0030.0030.0030.0030.004
foreign pricesστω0.0440.0380.0490.0420.0360.0470.0430.0380.0490.0430.0370.049
foreign demandσγW0.1450.1240.1650.1480.1290.1680.1250.1070.1430.1590.1460.170
World interest rateσRW0.0050.0000.0090.1000.0750.1300.0530.0070.1010.0160.0140.018

Table 6: Steady state ratios

modeldatamodeldata
k/y10.1-T/y0.24-
c/y0.620.59R1.01-
i/y0.290.25r0.03-
m/y0.330.30q1.12-
x/y0.290.24

Table 7a: Sources of GDP growth in Spain.

periodGDP growthaverage contribution to GDP growth
productivitylabourpreferencespoliciesforeign
1986-913.82%1.11%1.41%1.49%0.03%-0.22%
1992-940.75%1.53%-0.59%0.10%-0.28%-0.01%
1995-073.57%-0.03%1.83%1.50%0.08%0.20%
1986-073.26%0.49%1.38%1.30%0.02%0.06%

Table 7b: Sources of GDP growth in Spain. Labour & productivity.

average contribution to GDP growth
periodlabourpopulationlabour supplyproductivitygeneral technologyinvestment technology
1986-911.41%1.00%0.41%1.11%1.06%0.06%
1992-94-0.59%1.27%-1.86%1.53%2.33%-0.80%
1995-071.83%1.41%0.42%-0.03%0.69%-0.72%
1986-071.38%1.28%0.10%0.49%1.01%-0.52%

Table 8a: Long run efects of a permanent reduction in tax rates, prices and wage mark-ups.

baseline steady state% change of steady state values
capital taxlabour income taxVATwage mark-upprice mark·up domestic goodsprice mark·up imported goodsprice mark up exported goods
level0.220.340.1115%13%13%12%
variablechange-1.00%-1.00%-1.00%-0.50-0.50-0.50-0.50
output1.4070.36%0.46%0.28%0.13%0.01%0.18%0.18%
consumption0.8610.16%0.55%0.33%0.15%-0.34%0.11%0.11%
investment0.4080.82%0.40%0.24%0.11%0.73%0.43%0.44%
exports0.3480.57%0.35%0.21%0.10%0.43%1.27%1.28%
imports0.3900.49%0.30%0.18%0.08%0.38%1.09%1.10%
employment0.4100.06%0.47%0.28%0.13%0.38%0.03%0.03%
wage1.9960.29%-0.02%-0.01%-0.01%0.41%0.14%0.14%
wage*hours0.8180.35%0.45%0.27%0.13%0.79%0.17%0.17%
rental price of capital0.032-0.51%0.04%0.03%0.01%0.05%-0.25%-0.25%
marginal cost0.8630.00%0.00%0.00%0.00%0.28%0.00%0.00%
tobin's q1.1090.06%0.04%0.02%0.01%0.05%-0.21%-0.22%
transfers0.373-0.22%-1.44%-2.16%0.20%0.49%0.16%0.16%
terms of trade0.990-0.08%-0.05%-0.03%-0.01%-0.06%0.27%-0.17%

Table 8b: Long run efects of a permanent change in several parameters.

baseline steady state% change of steady state values
habitslabour supply coefficientelasticity of labour subst.elasticity of subst. consumption goodselasticity of subst. investment goodsconsumption home biasinvestment home biasneutral tech. growth rateinvestment specific tech. growth ratepopulation growth rate
level0.806.741.977.678.060.810.100.00230.00260.0032
variablechange-0.1010.00%-1.00%-3.00%-3.20%-10.00%-10.00%-1.00%-1.00%-1.00%
output1.4070.11%-1.49%0.54%0.04%0.06%-0.67%-0.43%-0.51%-0.55%-0.69%
consumption0.8610.12%-1.76%0.64%0.02%0.02%-0.91%-0.77%-0.74%-0.77%-0.87%
investment0.4080.09%-1.29%0.47%0.08%0.13%-1.45%-0.86%-1.27%-1.30%-1.57%
exports0.3480.08%-1.12%0.40%-0.33%-0.36%6.41%5.21%6.56%6.54%6.35%
imports0.3900.07%-0.97%0.35%-0.28%-0.31%5.51%4.48%5.64%5.62%5.45%
employment0.4100.11%-1.51%0.55%0.01%0.01%-0.21%-0.17%-0.21%-0.22%-0.22%
wage1.996-0.01%0.08%-0.03%0.02%0.04%-0.44%-0.24%-0.27%-0.31%-0.44%
wage*hours0.8180.10%-1.44%0.52%0.03%0.05%-0.65%-0.41%-0.49%-0.52%-0.66%
rental price of capital0.0320.01%-0.14%0.05%-0.04%-0.08%0.77%0.42%0.63%0.61%0.77%
marginal cost0.8630.00%0.00%0.00%0.00%0.00%0.00%0.00%0.05%0.02%0.00%
tobin's q1.1090.01%-0.12%0.04%-0.04%-0.07%0.67%0.37%0.69%0.69%0.67%
transfers0.3730.06%-2.29%0.83%0.02%0.05%-0.46%-0.24%-0.21%-0.29%-0.54%
terms of trade0.990-0.01%0.16%-0.06%0.04%0.05%-0.85%-0.69%-0.87%-0.86%-0.84%

Table 9: Alternative scenario for population growth

periodBaselineChange in alternative scenario
GDP growthpopulation growthpopulation contributionGDP growthpopulation growthpopulation contribution
1986-962.75%0.284%1.11%-0.24%0.000%-0.26%
1997-073.76%0.353%1.42%-0.79%-0.067%-0.67%
1986-073.26%0.318%1.28%-0.48%-0.033%-0.47%

Figure 1: Data series used in the estimation.

Figure 1: Data series used in the estimation.

Figure 2: Smoothed estimates of innovations.

Figure 2: Smoothed estimates of innovations.

Figure 3: Prior and posterior distributions of the structural parameters.

Figure 3: Prior and posterior distributions of the structural parameters.
Figura
Figura
Figura
Figura
Figura
Figura
Figura
Figura

Figure 4: Prior and posterior distributions of the structural parameters (continued).

Figure 4: Prior and posterior distributions of the structural parameters (continued).
Figura
Figura
Figura
Figura
Figura
Figura
Figura
Figura

Figure 5: Prior and posterior distributions of the structural parameters (continued).

Figure 5: Prior and posterior distributions of the structural parameters (continued).
Figura
Figura
Figura
Figura
Figura
Figura
Figura
Figura

Figure 6: Prior and posterior distributions of the structural parameters (continued).

Figure 6: Prior and posterior distributions of the structural parameters (continued).
Figura
Figura
Figura
Figura
Figura
Figura
Figura
Figura

Figure 7: Prior and posterior distributions of the structural parameters (continued).

Figure 7: Prior and posterior distributions of the structural parameters (continued).

Figure 8: Impulse response function to a neutral technology shock

Figure 8: Impulse response function to a neutral technology shock

Figure 9: Impulse response function to an investment-specific technology shock

Figure 9: Impulse response function to an investment-specific technology shock

Figure 10: Impulse response function to a population growth shock

Figure 10: Impulse response function to a population growth shock

Figure 11: Impulse response function to a labour supply shock

Figure 11: Impulse response function to a labour supply shock

Figure 12: Impulse response function to a monetary policy shock

Figure 12: Impulse response function to a monetary policy shock

Figure 13: Impulse response function to a government consumption shock

Figure 13: Impulse response function to a government consumption shock

Figure 14: Sources of GDP growth in Spain

Figure 14: Sources of GDP growth in Spain

Figure 15: Sources of GDP growth in Spain. Labour factor. Figure 16: Sources of GDP growth in Spain. Technology.

Figure 15: Sources of GDP growth in Spain. Labour factor. Figure 16: Sources of GDP growth in Spain. Technology.
Figura

Figure 17: Transitional dynamics after a permanent reduction of 1% in the consumption tax rate.

Figure 17: Transitional dynamics after a permanent reduction of 1% in the consumption tax rate.

1% VAT reduction

Figura
Figura
Figura
Figura
Figura

Figure 18: Transitional dynamics after a permanent reduction of 1pp. in the wage mark-up. 1pp wage mark-up reduction

Figure 18: Transitional dynamics after a permanent reduction of 1pp. in the wage mark-up. 1pp wage mark-up reduction
Figura
Figura
Figura
Figura
Figura

Figure 19: Alternative scenario for population growth.

Figure 19: Alternative scenario for population growth.

Figure 20: Alternative scenario for population growth. Sources of growth.

Figure 20: Alternative scenario for population growth. Sources of growth.

References

  1. 2009-17: “MEDEA: A DSGE Model for the Spanish Economy”, Pablo Burriel, Jesús Fernández-Villaverde y Juan F. Rubio-Ramírez.

References

  1. 2009-16: “Greenhouse gases emissions, growth and the energy mix in Europe: A dynamic panel data approach”, Gustavo A. Marrero.

References

  1. 2009-15: “Impact of the Rise in immigrant unemployment on public finances”, Pablo Vazquez, Mario Alloza, Raquel Vegas y Stefano Bertozzi.

References

  1. 2009-14: “Responding to Financial Pressures. The Effect of Managed Care on Hospitals´ Provision of Charity Care”, Núria Mas.

References

  1. 2009-13: “Domestic Transport Cost Reductions and Firms’ Export Behaviour”, Pedro Albarran, Raquel Carrasco y Adelheid Holl.

References

  1. 2009-12: “Compatibility with Firm Dominance”, María Fernanda Viecens.

References

  1. 2009-11: “Pricing Strategies in Two-Sided Platforms: The Role of Sellers’ Competition”, María Fernanda Viecens.

References

  1. 2009-10: “Scheduled Service Versus Personal Transportation: the Role of Distance”, Volodymyr Bilotkach, Xavier Fageda y Ricardo Flores-Fillol.

References

  1. 2009-09: “Social Preferences and Strategic Uncertainty: An Experiment on Markets and Contracts”, Antonio Cabrales, Rafaele Miniaci, Marco Piovesan y Giovanni Ponti.

References

  1. 2009-08: “Hidden Information, Bargaining Power and Efficiency: An Experiment”, Antonio Cabrales, Gary Charness y Marie Claire Villeval.

References

  1. 2009-07: “Democracy and the curse of natural resources”, Antonio Cabrales y Esther Hauk.

References

  1. 2009-06: “Social Interactions and Spillovers: Incentives,Segregation and Topology”, Antonio Cabrales, Antoni Calvó-Armengol e Yves Zenou.

References

  1. 2009-05: “Chance Constrained Programming with one Discrete Random Variable in Each Constraint”,Emilio Cerdá Tena y Julio Moreno Lorente.

References

  1. 2009-04: “Economic Value of Weather Forecasting Systems Information: A Risk Aversion Approach”, Emilio Cerdá Tena y Sonia Quiroga Gómez.

References

  1. 2009-03: “Population Ageing, Inequality and the Political Economy of Public Education”, Francisco Martínez-Mora.

References

  1. 2009-02: “Real Wages over the Business Cycle: OECD Evidence from the Time and Frequency Domains”, Julian Messina, Chiara Strozzi y Jarkko Turunen.

References

  1. 2009-01: “The Determinants Of Misreporting Weight And Height: The Role Of Social Norms”, Joan Gil y Toni Mora.

References

  1. 2008-42: “Social Security Incentives, Exit from the Workforce and Entry of the Young”, Michele Boldrin, Pilar García-Gómez y Sergi Jiménez-Martín.

References

  1. 2008-41: “The Evolution and Main Determinants of Productivity in Brazilian Electricity Distribution 1998- 2005: an Empirical Analysis”, Francisco Javier Ramos-Real, Beatriz Tovar, Mariana Iootty, Edmar Fagundes de Almeida y Helder Queiroz Pinto Jr..

References

  1. 2008-40: “Immigration and Housing Prices in Spain”, Simón Sosvilla.

References

  1. 2008-39: “Modeling the Immigration Shock”, Ana Montes y Michele Boldrin.

References

  1. 2008-38: “Immigration and the Demand for Health in Spain”, Sergi Jiménez, Natalia Jorgensen y José María Labeaga.

References

  1. 2008-37: “Immigration and Students' Achievement in Spain”, Natalia Zinovyeva, Florentino Felgueroso y Pablo Vázquez.

References

  1. 2008-36: “Immigration and Social Security in Spain”, Clara Isabel González, J. Ignacio Conde-Ruiz y Michele Boldrin.

References

  1. 2008-35: “Complements or Substitutes? Immigrant and Native Task Specialization in Spain”, Catalina Amuedo-Dorantes y Sara de la Rica.

References

  1. 2008-34: “Immigration and Crime in Spain, 1999-2006”, Cesar Alonso, Nuno Garoupa, Marcelo Perera y Pablo Vázquez.

References

  1. 2008-33: “A Social Network Approach to Spanish Immigration: An Analysis of Immigration into Spain 1998- 2006”, Rickard Sandell.

References

  1. 2008-32: “The Consequences on Job Satisfaction of Job-Worker Educational and Skill Mismatches in the Spanish Labour Market: a Panel Analysis”, Lourdes Badillo Amador, Ángel López Nicolás y Luis E. Vila.

References

  1. 2008-31: “Students’assessment of higher education in Spain”, César Alonso-Borrego, Antonio Romero-Medina.

References

  1. 2008-30: “Body image and food disorders: Evidence from a sample of European women”, Joan Costa-Font y Mireia Jofre-Bonet.