First order approximation of stochastic models

Size: px
Start display at page:

Download "First order approximation of stochastic models"

Transcription

1 First order approximation of stochastic models Shanghai Dynare Workshop Sébastien Villemot CEPREMAP October 27, 2013 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

2 Outline 1 Presentation of the problem 2 The solution function 3 The steady state 4 First order approximation 5 Example 6 Dating variables in Dynare 7 The Dynare preprocessor Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

3 General problem E t {f (y t+1, y t, y t 1, u t )} = 0 E(u t ) = 0 E(u t u t) = Σ u E(u t u τ ) = 0 t τ y : vector of endogenous variables u : vector of exogenous stochastic shocks Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

4 Computation of first order approximation Perturbation approach: recovering a Taylor expansion of the solution function from a Taylor expansion of the original model. A first order approximation is nothing else than a standard solution thru linearization. A first order approximation in terms of the logarithm of the variables provides standard log-linearization. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

5 Timing assumptions E t {f (y t+1, y t, y t 1, u t )} = 0 shocks u t are observed at the beginning of period t, decisions affecting the current value of the variables y t, are function of the previous state of the system, yt 1, the shocks ut. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

6 The stochastic scale variable E t {f (y t+1, y t, y t 1, u t )} = 0 At period t, the only unknown stochastic variable is y t+1, and, implicitly, u t+1. We introduce the stochastic scale variable, σ and the auxiliary random variable, ɛ t, such that u t+1 = σɛ t+1 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

7 The stochastic scale variable (continued) E(ɛ t ) = 0 (1) E(ɛ t ɛ t) = Σ ɛ (2) E(ɛ t ɛ τ ) = 0 t τ (3) and Σ u = σ 2 Σ ɛ Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

8 Remarks E t {f (y t+1, y t, y t 1, u t )} = 0 The exogenous shocks may appear only at the current period There is no deterministic exogenous variables Not all variables are necessarily present with a lead and a lag Generalization to leads and lags on more than one period: similar to deterministic case, but more complicated for lead variables (because of expectancy operator) Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

9 Outline 1 Presentation of the problem 2 The solution function 3 The steady state 4 First order approximation 5 Example 6 Dating variables in Dynare 7 The Dynare preprocessor Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

10 Solution function y t = g(y t 1, u t, σ) where σ is the stochastic scale of the model. If σ = 0, the model is deterministic. For σ > 0, the model is stochastic. Under some conditions, the existence of g() function is proven via an implicit function theorem. See H. Jin and K. Judd Solving Dynamic Stochastic Models ( Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

11 Solution function (continued) Then, y t+1 = g(y t, u t+1, σ) = g(g(y t 1, u t, σ), u t+1, σ) Let s: F (y t 1, u t, ɛ t+1, σ) = f (g(g(y t 1, u t, σ), σɛ t+1, σ), g(y t 1, u t, σ), y t 1, u t ) So that the problem is redefined as: E t {F (y t 1, u t, ɛ t+1, σ)} = 0 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

12 The perturbation approach Obtain a Taylor expansion of the unkown solution function in the neighborhood of a problem that we know how to solve. The problem that we know how to solve is the deterministic steady state. One obtains the Taylor expansion of the solution for the Taylor expansion of the original problem. One consider two different perturbations: 1 points in the neighborhood from the steady sate, 2 from a deterministic model towards a stochastic one (by increasing σ from a zero value). Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

13 The perturbation approach (continued) The Taylor approximation is taken with respect to y t 1, u t and σ, the arguments of the solution function y t = g(y t 1, u t, σ). At the deterministic steady state, all derivatives are deterministic as well. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

14 Outline 1 Presentation of the problem 2 The solution function 3 The steady state 4 First order approximation 5 Example 6 Dating variables in Dynare 7 The Dynare preprocessor Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

15 Steady state A deterministic steady state, ȳ, for the model satisfies f (ȳ, ȳ, ȳ, 0) = 0 A model can have several steady states, but only one of them will be used for approximation. Furthermore, ȳ = g(ȳ, 0, 0) Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

16 Outline 1 Presentation of the problem 2 The solution function 3 The steady state 4 First order approximation 5 Example 6 Dating variables in Dynare 7 The Dynare preprocessor Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

17 First order approximation Around ȳ: } E t {F (1) (y t 1, u t, ɛ t+1, σ) = = 0 { ( E t f (ȳ, ȳ, ȳ, 0) + f y+ gy (g y ŷ + g u u + g σ σ) + g u σɛ + g σ σ ) } +f y0 (g y ŷ + g u u + g σ σ) + f y ŷ + f u u with ŷ = y t 1 ȳ, u = u t, ɛ = ɛ t+1, f y+ = f u = f u t, g y = g y t 1, g u = g u t, g σ = g σ. f y t+1, f y0 = f y t, f y = f y t 1, Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

18 Taking the expectation } E t {F (1) (y t 1, u t, ɛ t+1, σ) = f (ȳ, ȳ, ȳ, 0) + f y+ (g y (g y ŷ + g u u + g σ σ) + g σ σ) } +f y0 (g y ŷ + g u u + g σ σ) + f y ŷ + f u u = ( f y+ g y g y + f y0 g y + f y ) ŷ + (fy+ g y g u + f y0 g u + f u ) u = 0 + (f y+ g y g σ + f y0 g σ ) σ Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

19 Recovering g y ( fy+ g y g y + f y0 g y + f y ) ŷ = 0 Structural state space representation: [ ] [ ] 0 fy+ I g I 0 y ŷ = or [ 0 fy+ I 0 g y ] [ yt ȳ y t+1 ȳ ] = [ fy f y0 0 I [ fy f y0 0 I ] [ I g y ] ŷ ] [ yt 1 ȳ y t ȳ ] Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

20 Structural state space representation Dx t+1 = Ex t with x t+1 = [ yt ȳ y t+1 ȳ ] x t = [ yt 1 ȳ y t ȳ ] There are multiple solutions but we want a unique stable one. Problem when D is singular. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

21 Real generalized Schur decomposition Taking the real generalized Schur decomposition of the pencil < E, D >: D = QTZ E = QSZ with T, upper triangular, S quasi-upper triangular, Q Q = I and Z Z = I. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

22 Generalized eigenvalues λ i solves λ i Dx i = Ex i For diagonal blocks on S of dimension 1 x 1: T ii 0: λ i = S ii T ii T ii = 0, S ii > 0: λ i = + T ii = 0, S ii < 0: λ i = T ii = 0, S ii = 0: λ i C Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

23 A pair of complex eigenvalues [ When a diagonal block ] of matrix S is a 2x2 matrix of the form S ii S i,i+1 : S i+1,i S i+1,i+1 the corresponding block of matrix T is a diagonal matrix, (S i,i T i+1,i+1 + S i+1,i+1 T i,i ) 2 < 4S i+1,i S i+1,i T i,i T i+1,i+1, there is a pair of conjugate complex eigenvalues λ i, λ i+1 = S ii T i+1,i+1 + S i+1,i+1 T i,i ± (S i,i T i+1,i+1 S i+1,i+1 T i,i ) 2 + 4S i+1,i S i+1,i T i,i T i+1,i+1 2T i,i T i+1,i+1 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

24 Applying the decomposition [ I D g y [ ] [ ] [ T11 T 12 Z11 Z 12 I 0 T 22 ] [ I g y ŷ = E Z 21 Z 22 = g y g y ] g y ŷ ] ŷ [ S11 S 12 0 S 22 ] [ Z11 Z 12 Z 21 Z 22 ] [ I g y ] ŷ where rows and columns are re-ordered such that: (T 11, S 11 ) contain stable generalized eigenvalues (modulus 1) (T 22, S 22 ) contain explosive generalized eigenvalues (modulus > 1) Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

25 Selecting the stable trajectory To exclude explosive trajectories, one imposes Z 21 + Z 22 g y = 0 g y = Z 1 22 Z 21 A unique stable trajectory exists if Z 22 is square and non-singular: there are as many roots larger than one in modulus as there are forward-looking variables in the model (Blanchard and Kahn condition) and the rank condition is satisfied. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

26 An alternative algorithm: Cyclic reduction Solving Iterate A 0 + A 1 X + A 2 X 2 = 0 A (k+1) 0 = A (k) 0 (A(k) 1 ) 1 A (k) 0, A (k+1) 1 = A (k) 1 A (k) 0 (A(k) 1 ) 1 A (k) 2 A (k) 2 (A(k) 1 ) 1 A (k) 0, A (k+1) 2 = A (k) 2 (A(k) 1 ) 1 A (k) 2, Â (k+1) 1 = Â(k) 1 A (k) 2 (A(k) 1 ) 1 A (k) 0. for k = 1,... with A (1) 0 = A 0, A (1) 1 = A 1, A (1) 2 = A 2, Â(1) 1 = A 1 and until A (k) 0 < ɛ and A (k) 2 < ɛ. Then X (Â(k+1) 1 ) 1 A 0 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

27 Recovering g u f y+ g y g u + f y0 g u + f u = 0 g u = (f y+ g y + f y0 ) 1 f u Hong Lan & Alexander Meyer-Gohde, Existence and Uniqueness of Perturbation Solutions to DSGE Models, SFB 649 Discussion Papers, Humboldt University, show that f y+ g y + f y0 is an invertible matrix under standard regularity and saddle stability assumptions. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

28 Recovering g σ f y+ g y g σ + f y0 g σ = 0 g σ = 0 Yet another manifestation of the certainty equivalence property of first order approximation. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

29 First order approximated decision function y t = ȳ + g y ŷ + g u u E {y t } = ȳ Σ y = g y Σ y g y + σ 2 g u Σ ɛ g u The variance is solved for with an algorithm for Lyapunov equations. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

30 Outline 1 Presentation of the problem 2 The solution function 3 The steady state 4 First order approximation 5 Example 6 Dating variables in Dynare 7 The Dynare preprocessor Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

31 A simple RBC model Consider the following model of an economy. Representative agent preferences ( ) ] 1 t 1 U = E t [log (C t ) L1+γ t. 1 + ρ 1 + γ t=1 The household supplies labor and rents capital to the corporate sector. L t is labor services ρ (0, ) is the rate of time preference γ (0, ) is a labor supply parameter. Ct is consumption, wt is the real wage, r t is the real rental rate Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

32 RBC Model (continued) The household faces the sequence of budget constraints where K t = K t 1 (1 δ) + w t L t + r t K t 1 C t, Kt is capital at the end of period δ (0, 1) is the rate of depreciation The production function is given by the expression Y t = A t Kt 1 α ( (1 + g) t ) 1 α L t where g (0, ) is the growth rate and α and β are parameters. A t is a technology shock that follows the process A t = A λ t 1 exp (e t ), where e t is an i.i.d. zero mean normally distributed error with standard deviation σ 1 and λ (0, 1) is a parameter. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

33 The household problem Lagrangian L = max C t,l t,k t ( ) 1 t 1 [ E t 1 + ρ log (C t ) L1+γ t 1 + γ ] µ t (K t K t 1 (1 δ) w t L t r t K t 1 + C t ) t=1 First order conditions ( ) L 1 t 1 ( ) 1 = µ t = 0 C t 1 + ρ C t ( ) L 1 t 1 = (L γ t µ t w t ) = 0 L t 1 + ρ ( ) L 1 t 1 ( ) 1 t = µ t + E t (µ t+1(1 δ + r t )) = 0 K t 1 + ρ 1 + ρ Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

34 First order conditions Eliminating the Lagrange multiplier, one obtains L γ t = w t C t 1 = 1 C t 1 + ρ E t ( ) 1 (r t δ) C t+1 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

35 The firm problem max A t K α ( t 1 (1 + g) t ) 1 α L t rt K t 1 w t L t L t,k t 1 First order conditions: r t = αa t Kt 1 α 1 ( (1 + g) t ) 1 α L t w t = (1 α)a t Kt 1 α ( (1 + g) t ) 1 α L α t Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

36 Goods market equilibrium K t + C t = K t 1 (1 δ) + A t Kt 1 α ( (1 + g) t ) 1 α L t Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

37 Dynamic Equilibrium 1 = 1 ( ) 1 C t 1 + ρ E t (r t δ) C t+1 L γ t = w t C t r t = αa t Kt 1 α 1 ( (1 + g) t ) 1 α L t w t = (1 α)a t Kt 1 α ( (1 + g) t ) 1 α L α t K t + C t = K t 1 (1 δ) + A t Kt 1 α ( (1 + g) t ) 1 α L t Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

38 Existence of a balanced growth path There must exist a growth rates g c and g k so that (1 + g k ) t K 1 + (1 + g c ) t C 1 = (1 + g k ) t ( (1 + gk ) t ) α ( K 1 (1 δ) + A K 1 (1 + g) t ) 1 α L t 1 + g K 1 + g k So, g c = g k = g Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

39 Stationarized model Let s define Ĉ t = C t /(1 + g) t K t = K t /(1 + g) t ŵ t = w t /(1 + g) t Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

40 Stationarized model (continued) ( ) 1 Ĉ t (1 + g) = 1 t 1 + ρ E 1 t Ĉ t+1 (1 + g)(1 + g) (r t t δ) L γ t = ŵt(1 + g) t Ĉ t (1 + g) t ( (1 + g) r t = αa t K t t g ( ŵ t (1 + g) t = (1 α)a t ) α 1 ( (1 + g) t L t ) 1 α ) α ( (1 + g) t ) 1 α L α t (1 + g) K t t g ( Ĉt) Kt + (1 + g) t = K (1 + g) t t 1 (1 δ) 1 + g ( (1 + g) + A t K t ) α ( t 1 (1 + g) t ) 1 α L t 1 + g Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

41 Stationarized model (continued) ( ) 1 = 1 Ĉ t 1 + ρ E 1 t Ĉ t+1 (1 + g) (r t δ) L γ t = ŵt Ĉ t ) α 1 L 1 α t ( Kt 1 r t = αa t 1 + g ( ) α Kt 1 ŵ t = (1 α)a t L α t 1 + g K t + Ĉt = K t g (1 δ) + A t ( ) α Kt 1 L 1 α t 1 + g Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

42 Dynare implementation var C K L w r A; varexo e; parameters rho delta gamma alpha lambda g; alpha = 0.33; delta = 0.1; rho = 0.03; lambda = 0.97; gamma = 0; g = 0.015; Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

43 Dynare implementation (continued) model; 1/C=1/(1+rho)*(1/(C(+1)*(1+g)))*(r(+1)+1-delta); L^gamma = w/c; r = alpha*a*(k(-1)/(1+g))^(alpha-1)*l^(1-alpha); w = (1-alpha)*A*(K(-1)/(1+g))^alpha*L^(-alpha); K+C = (K(-1)/(1+g))*(1-delta) +A*(K(-1)/(1+g))^alpha*L^(1-alpha); log(a) = lambda*log(a(-1))+e; end; Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

44 Dynare implementation (continued) steady_state_model; A = 1; r = (1+g)*(1+rho)+delta-1; L = ((1-alpha)/(r/alpha-delta-g))*r/alpha; K = (1+g)*(r/alpha)^(1/(alpha-1))*L; C = (1-delta)*K/(1+g) +(K/(1+g))^alpha*L^(1-alpha)-K; w = C; end; steady; Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

45 Dynare implementation (continued) shocks; var e; stderr 0.01; end; check; stoch_simul(order=1); Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

46 Alternative implementation Let Dynare detrend equations for you parameters g; trend_var(growth_factor=1+g) Z; // Productivity trend var(deflator = Z) C K w; var L r A; varexo e; parameters rho delta gamma alpha lambda; model; // Declare non-detrended model equations end; Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

47 Decision and transition functions Dynare output: POLICY AND TRANSITION FUNCTIONS C K L w r A Constant K(-1) A(-1) e C t = ( K t 1 K ) ( A t 1 Ā) e t Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

48 Outline 1 Presentation of the problem 2 The solution function 3 The steady state 4 First order approximation 5 Example 6 Dating variables in Dynare 7 The Dynare preprocessor Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

49 Dating variables in Dynare Dynare will automatically recognize predetermined and non-predetermined variables, but you must observe a few rules: period t variables are set during period t on the basis of the state of the system at period t 1 and shocks observed at the beginning of period t. therefore, stock variables must be on an end-of-period basis: investment of period t determines the capital stock at the end of period t. Note: with the predetermined variables command, one can use a beginning-of-period convention for stocks when writing the model. However, the IRFs and other output will still be at end-of-stock convention. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

50 Log-linearization Taking a log-linear approximation of a model is equivalent to take a linear approximation of a model with respect to the logarithm of the variables. In practice, it is sufficient to replace all occurences of variable X with exp(lx ) where LX = log X. It is possible to make the substitution for some variables and not anothers. You wouldn t want to take a log approximation of a variable whose steady state value is negative... There is no evidence that log-linearization is more accurate than simple linearization. In a growth model, it is often more natural to do a log-linearization. Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

51 Outline 1 Presentation of the problem 2 The solution function 3 The steady state 4 First order approximation 5 Example 6 Dating variables in Dynare 7 The Dynare preprocessor Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

52 The role of the Dynare preprocessor Dynare solves generic problems the preprocessor reads your *.mod file and translates it in specific MATLAB/Octave files filename.m: main MATLAB/Octave script for the model filename static.m: static model filename dynamic.m: dynamic model filename steadystate2.m: steady state function filename set auxiliary variables.m: auxiliary variables function Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

53 Overall design of Dynare Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October 27, / 53

DYNARE SUMMER SCHOOL

DYNARE SUMMER SCHOOL DYNARE SUMMER SCHOOL Introduction to Dynare and local approximation. Michel Juillard June 12, 2017 Summer School website http://www.dynare.org/summerschool/2017 DYNARE 1. computes the solution of deterministic

More information

Computing first and second order approximations of DSGE models with DYNARE

Computing first and second order approximations of DSGE models with DYNARE Computing first and second order approximations of DSGE models with DYNARE Michel Juillard CEPREMAP Computing first and second order approximations of DSGE models with DYNARE p. 1/33 DSGE models E t {f(y

More information

DSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics

DSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics DSGE-Models Calibration and Introduction to Dynare Dr. Andrea Beccarini Willi Mutschler, M.Sc. Institute of Econometrics and Economic Statistics willi.mutschler@uni-muenster.de Summer 2012 Willi Mutschler

More information

Stochastic simulations with DYNARE. A practical guide.

Stochastic simulations with DYNARE. A practical guide. Stochastic simulations with DYNARE. A practical guide. Fabrice Collard (GREMAQ, University of Toulouse) Adapted for Dynare 4.1 by Michel Juillard and Sébastien Villemot (CEPREMAP) First draft: February

More information

Solving Deterministic Models

Solving Deterministic Models Solving Deterministic Models Shanghai Dynare Workshop Sébastien Villemot CEPREMAP October 27, 2013 Sébastien Villemot (CEPREMAP) Solving Deterministic Models October 27, 2013 1 / 42 Introduction Deterministic

More information

Approximation around the risky steady state

Approximation around the risky steady state Approximation around the risky steady state Centre for International Macroeconomic Studies Conference University of Surrey Michel Juillard, Bank of France September 14, 2012 The views expressed herein

More information

Deterministic Models

Deterministic Models Deterministic Models Perfect foreight, nonlinearities and occasionally binding constraints Sébastien Villemot CEPREMAP June 10, 2014 Sébastien Villemot (CEPREMAP) Deterministic Models June 10, 2014 1 /

More information

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Dongpeng Liu Nanjing University Sept 2016 D. Liu (NJU) Solving D(S)GE 09/16 1 / 63 Introduction Targets of the

More information

Lecture 15. Dynamic Stochastic General Equilibrium Model. Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017

Lecture 15. Dynamic Stochastic General Equilibrium Model. Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017 Lecture 15 Dynamic Stochastic General Equilibrium Model Randall Romero Aguilar, PhD I Semestre 2017 Last updated: July 3, 2017 Universidad de Costa Rica EC3201 - Teoría Macroeconómica 2 Table of contents

More information

Session 2 Working with Dynare

Session 2 Working with Dynare Session 2 Working with Dynare Seminar: Macroeconomics and International Economics Philipp Wegmüller UniBern Spring 2015 Philipp Wegmüller (UniBern) Session 2 Working with Dynare Spring 2015 1 / 20 Dynare

More information

Small Open Economy RBC Model Uribe, Chapter 4

Small Open Economy RBC Model Uribe, Chapter 4 Small Open Economy RBC Model Uribe, Chapter 4 1 Basic Model 1.1 Uzawa Utility E 0 t=0 θ t U (c t, h t ) θ 0 = 1 θ t+1 = β (c t, h t ) θ t ; β c < 0; β h > 0. Time-varying discount factor With a constant

More information

Graduate Macro Theory II: Notes on Solving Linearized Rational Expectations Models

Graduate Macro Theory II: Notes on Solving Linearized Rational Expectations Models Graduate Macro Theory II: Notes on Solving Linearized Rational Expectations Models Eric Sims University of Notre Dame Spring 2017 1 Introduction The solution of many discrete time dynamic economic models

More information

Lecture VI. Linearization Methods

Lecture VI. Linearization Methods Lecture VI Linearization Methods Gianluca Violante New York University Quantitative Macroeconomics G. Violante, Perturbation Methods p. 1 /40 Local Approximations DSGE models are characterized by a set

More information

Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models

Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models Eric Sims University of Notre Dame Spring 2011 This note describes very briefly how to conduct quantitative analysis on a linearized

More information

MONFISPOL FP7 project SSH Report on computing optimal policy

MONFISPOL FP7 project SSH Report on computing optimal policy MONFISPOL FP7 project SSH-225149 Deliverable 1.1.1 Report on computing optimal policy November 2010 Michel Juillard 1 1 CEPREMAP Introduction This report describes the algorithm used by Dynare to compute

More information

1 The Basic RBC Model

1 The Basic RBC Model IHS 2016, Macroeconomics III Michael Reiter Ch. 1: Notes on RBC Model 1 1 The Basic RBC Model 1.1 Description of Model Variables y z k L c I w r output level of technology (exogenous) capital at end of

More information

Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm

Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm Masaru Inaba November 26, 2007 Introduction. Inaba (2007a) apply the parameterized

More information

Introduction to Coding DSGE Models with Dynare

Introduction to Coding DSGE Models with Dynare Introduction to Coding DSGE Models with Macroeconomic Theory (MA1213) Juha Kilponen Bank of Finland Additional Material for Lecture 3, January 23, 2013 is preprocessor and a collection of Matlab (and GNU

More information

Foundation of (virtually) all DSGE models (e.g., RBC model) is Solow growth model

Foundation of (virtually) all DSGE models (e.g., RBC model) is Solow growth model THE BASELINE RBC MODEL: THEORY AND COMPUTATION FEBRUARY, 202 STYLIZED MACRO FACTS Foundation of (virtually all DSGE models (e.g., RBC model is Solow growth model So want/need/desire business-cycle models

More information

The Basic RBC model with Dynare

The Basic RBC model with Dynare The Basic RBC model with Dynare Petros Varthalitis December 200 Abstract This paper brie y describes the basic RBC model without steady-state growth.it uses dynare software to simulate the model under

More information

The full RBC model. Empirical evaluation

The full RBC model. Empirical evaluation The full RBC model. Empirical evaluation Lecture 13 (updated version), ECON 4310 Tord Krogh October 24, 2012 Tord Krogh () ECON 4310 October 24, 2012 1 / 49 Today s lecture Add labor to the stochastic

More information

PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING

PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING James Bullard* Federal Reserve Bank of St. Louis 33rd Annual Economic Policy Conference St. Louis, MO October 17, 2008 Views expressed are

More information

A simple macro dynamic model with endogenous saving rate: the representative agent model

A simple macro dynamic model with endogenous saving rate: the representative agent model A simple macro dynamic model with endogenous saving rate: the representative agent model Virginia Sánchez-Marcos Macroeconomics, MIE-UNICAN Macroeconomics (MIE-UNICAN) A simple macro dynamic model with

More information

Suggested Solutions to Problem Set 2

Suggested Solutions to Problem Set 2 Macroeconomic Theory, Fall 03 SEF, HKU Instructor: Dr. Yulei Luo October 03 Suggested Solutions to Problem Set. 0 points] Consider the following Ramsey-Cass-Koopmans model with fiscal policy. First, we

More information

Graduate Macroeconomics - Econ 551

Graduate Macroeconomics - Econ 551 Graduate Macroeconomics - Econ 551 Tack Yun Indiana University Seoul National University Spring Semester January 2013 T. Yun (SNU) Macroeconomics 1/07/2013 1 / 32 Business Cycle Models for Emerging-Market

More information

On automatic derivation of first order conditions in dynamic stochastic optimisation problems

On automatic derivation of first order conditions in dynamic stochastic optimisation problems MPRA Munich Personal RePEc Archive On automatic derivation of first order conditions in dynamic stochastic optimisation problems Grzegorz Klima and Kaja Retkiewicz-Wijtiwiak Department for Strategic Analyses,

More information

... Solving Dynamic General Equilibrium Models Using Log Linear Approximation

... Solving Dynamic General Equilibrium Models Using Log Linear Approximation ... Solving Dynamic General Equilibrium Models Using Log Linear Approximation 1 Log-linearization strategy Example #1: A Simple RBC Model. Define a Model Solution Motivate the Need to Somehow Approximate

More information

Decentralised economies I

Decentralised economies I Decentralised economies I Martin Ellison 1 Motivation In the first two lectures on dynamic programming and the stochastic growth model, we solved the maximisation problem of the representative agent. More

More information

Chapter 12 Ramsey Cass Koopmans model

Chapter 12 Ramsey Cass Koopmans model Chapter 12 Ramsey Cass Koopmans model O. Afonso, P. B. Vasconcelos Computational Economics: a concise introduction O. Afonso, P. B. Vasconcelos Computational Economics 1 / 33 Overview 1 Introduction 2

More information

Dynamic (Stochastic) General Equilibrium and Growth

Dynamic (Stochastic) General Equilibrium and Growth Dynamic (Stochastic) General Equilibrium and Growth Martin Ellison Nuffi eld College Michaelmas Term 2018 Martin Ellison (Nuffi eld) D(S)GE and Growth Michaelmas Term 2018 1 / 43 Macroeconomics is Dynamic

More information

Christiano 416, Fall 2014 Homework 1, due Wednesday, October Consider an economy in which household preferences have the following form:

Christiano 416, Fall 2014 Homework 1, due Wednesday, October Consider an economy in which household preferences have the following form: Christiano 416, Fall 2014 Homework 1, due Wednesday, October 15. 1. Consider an economy in which household preferences have the following form: β t u(c t, n t ), β =.99, and u(c t, n t ) = log(c t ) +

More information

problem. max Both k (0) and h (0) are given at time 0. (a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

problem. max Both k (0) and h (0) are given at time 0. (a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming 1. Endogenous Growth with Human Capital Consider the following endogenous growth model with both physical capital (k (t)) and human capital (h (t)) in continuous time. The representative household solves

More information

Dynamic Optimization Using Lagrange Multipliers

Dynamic Optimization Using Lagrange Multipliers Dynamic Optimization Using Lagrange Multipliers Barbara Annicchiarico barbara.annicchiarico@uniroma2.it Università degli Studi di Roma "Tor Vergata" Presentation #2 Deterministic Infinite-Horizon Ramsey

More information

Dynamic stochastic general equilibrium models. December 4, 2007

Dynamic stochastic general equilibrium models. December 4, 2007 Dynamic stochastic general equilibrium models December 4, 2007 Dynamic stochastic general equilibrium models Random shocks to generate trajectories that look like the observed national accounts. Rational

More information

Solution Methods. Jesús Fernández-Villaverde. University of Pennsylvania. March 16, 2016

Solution Methods. Jesús Fernández-Villaverde. University of Pennsylvania. March 16, 2016 Solution Methods Jesús Fernández-Villaverde University of Pennsylvania March 16, 2016 Jesús Fernández-Villaverde (PENN) Solution Methods March 16, 2016 1 / 36 Functional equations A large class of problems

More information

Master 2 Macro I. Lecture notes #12 : Solving Dynamic Rational Expectations Models

Master 2 Macro I. Lecture notes #12 : Solving Dynamic Rational Expectations Models 2012-2013 Master 2 Macro I Lecture notes #12 : Solving Dynamic Rational Expectations Models Franck Portier (based on Gilles Saint-Paul lecture notes) franck.portier@tse-fr.eu Toulouse School of Economics

More information

Graduate Macro Theory II: Business Cycle Accounting and Wedges

Graduate Macro Theory II: Business Cycle Accounting and Wedges Graduate Macro Theory II: Business Cycle Accounting and Wedges Eric Sims University of Notre Dame Spring 2017 1 Introduction Most modern dynamic macro models have at their core a prototypical real business

More information

Advanced Econometrics III, Lecture 5, Dynamic General Equilibrium Models Example 1: A simple RBC model... 2

Advanced Econometrics III, Lecture 5, Dynamic General Equilibrium Models Example 1: A simple RBC model... 2 Advanced Econometrics III, Lecture 5, 2017 1 Contents 1 Dynamic General Equilibrium Models 2 1.1 Example 1: A simple RBC model.................... 2 1.2 Approximation Method Based on Linearization.............

More information

Lecture 2 The Centralized Economy

Lecture 2 The Centralized Economy Lecture 2 The Centralized Economy Economics 5118 Macroeconomic Theory Kam Yu Winter 2013 Outline 1 Introduction 2 The Basic DGE Closed Economy 3 Golden Rule Solution 4 Optimal Solution The Euler Equation

More information

Linearized Euler Equation Methods

Linearized Euler Equation Methods Linearized Euler Equation Methods Quantitative Macroeconomics [Econ 5725] Raül Santaeulàlia-Llopis Washington University in St. Louis Spring 206 Raül Santaeulàlia-Llopis (Wash.U.) Linearized Euler Equation

More information

The Real Business Cycle Model

The Real Business Cycle Model The Real Business Cycle Model Macroeconomics II 2 The real business cycle model. Introduction This model explains the comovements in the fluctuations of aggregate economic variables around their trend.

More information

New Keynesian Macroeconomics

New Keynesian Macroeconomics New Keynesian Macroeconomics Chapter 4: The New Keynesian Baseline Model (continued) Prof. Dr. Kai Carstensen Ifo Institute for Economic Research and LMU Munich May 21, 212 Prof. Dr. Kai Carstensen (LMU

More information

Advanced Macroeconomics II. Real Business Cycle Models. Jordi Galí. Universitat Pompeu Fabra Spring 2018

Advanced Macroeconomics II. Real Business Cycle Models. Jordi Galí. Universitat Pompeu Fabra Spring 2018 Advanced Macroeconomics II Real Business Cycle Models Jordi Galí Universitat Pompeu Fabra Spring 2018 Assumptions Optimization by consumers and rms Perfect competition General equilibrium Absence of a

More information

Ramsey Cass Koopmans Model (1): Setup of the Model and Competitive Equilibrium Path

Ramsey Cass Koopmans Model (1): Setup of the Model and Competitive Equilibrium Path Ramsey Cass Koopmans Model (1): Setup of the Model and Competitive Equilibrium Path Ryoji Ohdoi Dept. of Industrial Engineering and Economics, Tokyo Tech This lecture note is mainly based on Ch. 8 of Acemoglu

More information

4- Current Method of Explaining Business Cycles: DSGE Models. Basic Economic Models

4- Current Method of Explaining Business Cycles: DSGE Models. Basic Economic Models 4- Current Method of Explaining Business Cycles: DSGE Models Basic Economic Models In Economics, we use theoretical models to explain the economic processes in the real world. These models de ne a relation

More information

New Notes on the Solow Growth Model

New Notes on the Solow Growth Model New Notes on the Solow Growth Model Roberto Chang September 2009 1 The Model The firstingredientofadynamicmodelisthedescriptionofthetimehorizon. In the original Solow model, time is continuous and the

More information

(a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

(a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming 1. Government Purchases and Endogenous Growth Consider the following endogenous growth model with government purchases (G) in continuous time. Government purchases enhance production, and the production

More information

Lecture Notes 7: Real Business Cycle 1

Lecture Notes 7: Real Business Cycle 1 Lecture Notes 7: Real Business Cycle Zhiwei Xu (xuzhiwei@sjtu.edu.cn) In this note, we introduce the Dynamic Stochastic General Equilibrium (DSGE) model, which is most widely used modelling framework in

More information

Assessing Structural VAR s

Assessing Structural VAR s ... Assessing Structural VAR s by Lawrence J. Christiano, Martin Eichenbaum and Robert Vigfusson Zurich, September 2005 1 Background Structural Vector Autoregressions Address the Following Type of Question:

More information

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Sungbae An Singapore Management University Bank Indonesia/BIS Workshop: STRUCTURAL DYNAMIC MACROECONOMIC MODELS IN ASIA-PACIFIC

More information

A Modern Equilibrium Model. Jesús Fernández-Villaverde University of Pennsylvania

A Modern Equilibrium Model. Jesús Fernández-Villaverde University of Pennsylvania A Modern Equilibrium Model Jesús Fernández-Villaverde University of Pennsylvania 1 Household Problem Preferences: max E X β t t=0 c 1 σ t 1 σ ψ l1+γ t 1+γ Budget constraint: c t + k t+1 = w t l t + r t

More information

Solutions Methods in DSGE (Open) models

Solutions Methods in DSGE (Open) models Solutions Methods in DSGE (Open) models 1. With few exceptions, there are not exact analytical solutions for DSGE models, either open or closed economy. This is due to a combination of nonlinearity and

More information

Solving LQ-Gaussian Robustness Problems in Dynare

Solving LQ-Gaussian Robustness Problems in Dynare Solving LQ-Gaussian Robustness Problems in Dynare July 2008 1 / 20 Overview Why Robustness? Ellsberg s Paradox. Gambling Example. Knightian Uncertainty: there is a difference between Risk and Uncertainty.

More information

Macroeconomics Qualifying Examination

Macroeconomics Qualifying Examination Macroeconomics Qualifying Examination August 2015 Department of Economics UNC Chapel Hill Instructions: This examination consists of 4 questions. Answer all questions. If you believe a question is ambiguously

More information

High-dimensional Problems in Finance and Economics. Thomas M. Mertens

High-dimensional Problems in Finance and Economics. Thomas M. Mertens High-dimensional Problems in Finance and Economics Thomas M. Mertens NYU Stern Risk Economics Lab April 17, 2012 1 / 78 Motivation Many problems in finance and economics are high dimensional. Dynamic Optimization:

More information

Perturbation and Projection Methods for Solving DSGE Models

Perturbation and Projection Methods for Solving DSGE Models Perturbation and Projection Methods for Solving DSGE Models Lawrence J. Christiano Discussion of projections taken from Christiano Fisher, Algorithms for Solving Dynamic Models with Occasionally Binding

More information

Macroeconomics I. University of Tokyo. Lecture 13

Macroeconomics I. University of Tokyo. Lecture 13 Macroeconomics I University of Tokyo Lecture 13 The Neo-Classical Growth Model II: Distortionary Taxes LS Chapter 11. Julen Esteban-Pretel National Graduate Institute for Policy Studies Environment! Time

More information

Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model. Burkhard Heer University of Augsburg, Germany

Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model. Burkhard Heer University of Augsburg, Germany Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model Burkhard Heer University of Augsburg, Germany October 3, 2018 Contents I 1 Central Planner 2 3 B. Heer c Public Economics: Chapter

More information

Dynare. Wouter J. Den Haan London School of Economics. c by Wouter J. Den Haan

Dynare. Wouter J. Den Haan London School of Economics. c by Wouter J. Den Haan Dynare Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Introduction What is the objective of perturbation? Peculiarities of Dynare & some examples Incorporating Dynare in other Matlab

More information

slides chapter 3 an open economy with capital

slides chapter 3 an open economy with capital slides chapter 3 an open economy with capital Princeton University Press, 2017 Motivation In this chaper we introduce production and physical capital accumulation. Doing so will allow us to address two

More information

News-Shock Subroutine for Prof. Uhlig s Toolkit

News-Shock Subroutine for Prof. Uhlig s Toolkit News-Shock Subroutine for Prof. Uhlig s Toolkit KENGO NUTAHARA Graduate School of Economics, University of Tokyo, and the JSPS Research Fellow ee67003@mail.ecc.u-tokyo.ac.jp Revised: October 23, 2007 (Fisrt

More information

1. Constant-elasticity-of-substitution (CES) or Dixit-Stiglitz aggregators. Consider the following function J: J(x) = a(j)x(j) ρ dj

1. Constant-elasticity-of-substitution (CES) or Dixit-Stiglitz aggregators. Consider the following function J: J(x) = a(j)x(j) ρ dj Macro II (UC3M, MA/PhD Econ) Professor: Matthias Kredler Problem Set 1 Due: 29 April 216 You are encouraged to work in groups; however, every student has to hand in his/her own version of the solution.

More information

Time-varying Consumption Tax, Productive Government Spending, and Aggregate Instability.

Time-varying Consumption Tax, Productive Government Spending, and Aggregate Instability. Time-varying Consumption Tax, Productive Government Spending, and Aggregate Instability. Literature Schmitt-Grohe and Uribe (JPE 1997): Ramsey model with endogenous labor income tax + balanced budget (fiscal)

More information

Financial Factors in Economic Fluctuations. Lawrence Christiano Roberto Motto Massimo Rostagno

Financial Factors in Economic Fluctuations. Lawrence Christiano Roberto Motto Massimo Rostagno Financial Factors in Economic Fluctuations Lawrence Christiano Roberto Motto Massimo Rostagno Background Much progress made on constructing and estimating models that fit quarterly data well (Smets-Wouters,

More information

Competitive Equilibrium and the Welfare Theorems

Competitive Equilibrium and the Welfare Theorems Competitive Equilibrium and the Welfare Theorems Craig Burnside Duke University September 2010 Craig Burnside (Duke University) Competitive Equilibrium September 2010 1 / 32 Competitive Equilibrium and

More information

A Model with Collateral Constraints

A Model with Collateral Constraints A Model with Collateral Constraints Jesús Fernández-Villaverde University of Pennsylvania December 2, 2012 Jesús Fernández-Villaverde (PENN) Collateral Constraints December 2, 2012 1 / 47 Motivation Kiyotaki

More information

Online Appendix for Investment Hangover and the Great Recession

Online Appendix for Investment Hangover and the Great Recession ONLINE APPENDIX INVESTMENT HANGOVER A1 Online Appendix for Investment Hangover and the Great Recession By MATTHEW ROGNLIE, ANDREI SHLEIFER, AND ALP SIMSEK APPENDIX A: CALIBRATION This appendix describes

More information

Part A: Answer question A1 (required), plus either question A2 or A3.

Part A: Answer question A1 (required), plus either question A2 or A3. Ph.D. Core Exam -- Macroeconomics 5 January 2015 -- 8:00 am to 3:00 pm Part A: Answer question A1 (required), plus either question A2 or A3. A1 (required): Ending Quantitative Easing Now that the U.S.

More information

Problem 1 (30 points)

Problem 1 (30 points) Problem (30 points) Prof. Robert King Consider an economy in which there is one period and there are many, identical households. Each household derives utility from consumption (c), leisure (l) and a public

More information

Perturbation and Projection Methods for Solving DSGE Models

Perturbation and Projection Methods for Solving DSGE Models Perturbation and Projection Methods for Solving DSGE Models Lawrence J. Christiano Discussion of projections taken from Christiano Fisher, Algorithms for Solving Dynamic Models with Occasionally Binding

More information

Macroeconomics I. University of Tokyo. Lecture 12. The Neo-Classical Growth Model: Prelude to LS Chapter 11.

Macroeconomics I. University of Tokyo. Lecture 12. The Neo-Classical Growth Model: Prelude to LS Chapter 11. Macroeconomics I University of Tokyo Lecture 12 The Neo-Classical Growth Model: Prelude to LS Chapter 11. Julen Esteban-Pretel National Graduate Institute for Policy Studies The Cass-Koopmans Model: Environment

More information

The Solow Growth Model

The Solow Growth Model The Solow Growth Model Lectures 5, 6 & 7 Topics in Macroeconomics Topic 2 October 20, 21 & 27, 2008 Lectures 5, 6 & 7 1/37 Topics in Macroeconomics From Growth Accounting to the Solow Model Goal 1: Stylized

More information

Equilibrium in a Production Economy

Equilibrium in a Production Economy Equilibrium in a Production Economy Prof. Eric Sims University of Notre Dame Fall 2012 Sims (ND) Equilibrium in a Production Economy Fall 2012 1 / 23 Production Economy Last time: studied equilibrium in

More information

Macroeconomics II. Dynamic AD-AS model

Macroeconomics II. Dynamic AD-AS model Macroeconomics II Dynamic AD-AS model Vahagn Jerbashian Ch. 14 from Mankiw (2010) Spring 2018 Where we are heading to We will incorporate dynamics into the standard AD-AS model This will offer another

More information

Dynamic AD-AS model vs. AD-AS model Notes. Dynamic AD-AS model in a few words Notes. Notation to incorporate time-dimension Notes

Dynamic AD-AS model vs. AD-AS model Notes. Dynamic AD-AS model in a few words Notes. Notation to incorporate time-dimension Notes Macroeconomics II Dynamic AD-AS model Vahagn Jerbashian Ch. 14 from Mankiw (2010) Spring 2018 Where we are heading to We will incorporate dynamics into the standard AD-AS model This will offer another

More information

Can News be a Major Source of Aggregate Fluctuations?

Can News be a Major Source of Aggregate Fluctuations? Can News be a Major Source of Aggregate Fluctuations? A Bayesian DSGE Approach Ippei Fujiwara 1 Yasuo Hirose 1 Mototsugu 2 1 Bank of Japan 2 Vanderbilt University August 4, 2009 Contributions of this paper

More information

Neoclassical Models of Endogenous Growth

Neoclassical Models of Endogenous Growth Neoclassical Models of Endogenous Growth October 2007 () Endogenous Growth October 2007 1 / 20 Motivation What are the determinants of long run growth? Growth in the "e ectiveness of labour" should depend

More information

Topic 8: Optimal Investment

Topic 8: Optimal Investment Topic 8: Optimal Investment Yulei Luo SEF of HKU November 22, 2013 Luo, Y. SEF of HKU) Macro Theory November 22, 2013 1 / 22 Demand for Investment The importance of investment. First, the combination of

More information

SMOOTHIES: A Toolbox for the Exact Nonlinear and Non-Gaussian Kalman Smoother *

SMOOTHIES: A Toolbox for the Exact Nonlinear and Non-Gaussian Kalman Smoother * SMOOTHIES: A Toolbox for the Exact Nonlinear and Non-Gaussian Kalman Smoother * Joris de Wind September 2017 Abstract In this paper, I present a new toolbox that implements the exact nonlinear and non-

More information

Applications for solving DSGE models. October 25th, 2011

Applications for solving DSGE models. October 25th, 2011 MATLAB Workshop Applications for solving DSGE models Freddy Rojas Cama Marola Castillo Quinto Preliminary October 25th, 2011 A model to solve The model The model A model is set up in order to draw conclusions

More information

Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011

Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011 Department of Economics University of Maryland Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011 Objective As a stepping stone to learning how to work with and computationally

More information

Perturbation Methods I: Basic Results

Perturbation Methods I: Basic Results Perturbation Methods I: Basic Results (Lectures on Solution Methods for Economists V) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 19, 2018 1 University of Pennsylvania 2 Boston College Introduction

More information

MA Advanced Macroeconomics: 7. The Real Business Cycle Model

MA Advanced Macroeconomics: 7. The Real Business Cycle Model MA Advanced Macroeconomics: 7. The Real Business Cycle Model Karl Whelan School of Economics, UCD Spring 2016 Karl Whelan (UCD) Real Business Cycles Spring 2016 1 / 38 Working Through A DSGE Model We have

More information

Macroeconomics Theory II

Macroeconomics Theory II Macroeconomics Theory II Francesco Franco FEUNL February 2016 Francesco Franco (FEUNL) Macroeconomics Theory II February 2016 1 / 18 Road Map Research question: we want to understand businesses cycles.

More information

Assessing Structural VAR s

Assessing Structural VAR s ... Assessing Structural VAR s by Lawrence J. Christiano, Martin Eichenbaum and Robert Vigfusson Columbia, October 2005 1 Background Structural Vector Autoregressions Can be Used to Address the Following

More information

Assumption 5. The technology is represented by a production function, F : R 3 + R +, F (K t, N t, A t )

Assumption 5. The technology is represented by a production function, F : R 3 + R +, F (K t, N t, A t ) 6. Economic growth Let us recall the main facts on growth examined in the first chapter and add some additional ones. (1) Real output (per-worker) roughly grows at a constant rate (i.e. labor productivity

More information

Solution for Problem Set 3

Solution for Problem Set 3 Solution for Problem Set 3 Q. Heterogeneous Expectations. Consider following dynamic IS-LM economy in Lecture Notes 8: IS curve: y t = ar t + u t (.) where y t is output, r t is the real interest rate,

More information

DYNARE COURSE Amsterdam University. Motivation. Design of the macro-language. Dynare macro language and dynare++ k-order approximation

DYNARE COURSE Amsterdam University. Motivation. Design of the macro-language. Dynare macro language and dynare++ k-order approximation DYNARE COURSE Amsterdam University Dynare macro language and dynare++ k-order approximation Dynare macro language Michel Juillard October 23, 2008 Motivation Design of the macro-language The Dynare language

More information

Dynare Class on Heathcote-Perri JME 2002

Dynare Class on Heathcote-Perri JME 2002 Dynare Class on Heathcote-Perri JME 2002 Tim Uy University of Cambridge March 10, 2015 Introduction Solving DSGE models used to be very time consuming due to log-linearization required Dynare is a collection

More information

Looking for the stars

Looking for the stars Looking for the stars Mengheng Li 12 Irma Hindrayanto 1 1 Economic Research and Policy Division, De Nederlandsche Bank 2 Department of Econometrics, Vrije Universiteit Amsterdam April 5, 2018 1 / 35 Outline

More information

1 Solving Linear Rational Expectations Models

1 Solving Linear Rational Expectations Models September 29, 2001 SCHUR.TEX Economics 731 International Monetary University of Pennsylvania Theory and Policy Martín Uribe Fall 2001 1 Solving Linear Rational Expectations Models Consider a vector x t

More information

Notes on Foerser, Sarte, Watson (2011) "Sectoral vs. Aggregate Shocks: A Structural Factor Analysis of Industrial Production"

Notes on Foerser, Sarte, Watson (2011) Sectoral vs. Aggregate Shocks: A Structural Factor Analysis of Industrial Production Notes on Foerser, Sarte, Watson (2011) "Sectoral vs. Aggregate Shocks: A Structural Factor Analysis of Industrial Production" Research questions 1. How correlated are shocks to industries productivities?

More information

From Difference to Differential Equations I

From Difference to Differential Equations I From Difference to Differential Equations I Start with a simple difference equation x (t + 1) x (t) = g(x (t)). (30) Now consider the following approximation for any t [0, 1], x (t + t) x (t) t g(x (t)),

More information

Asset pricing in DSGE models comparison of different approximation methods

Asset pricing in DSGE models comparison of different approximation methods Asset pricing in DSGE models comparison of different approximation methods 1 Introduction Jan Acedański 1 Abstract. There are many numerical methods suitable for approximating solutions of DSGE models.

More information

Real Business Cycle Model (RBC)

Real Business Cycle Model (RBC) Real Business Cycle Model (RBC) Seyed Ali Madanizadeh November 2013 RBC Model Lucas 1980: One of the functions of theoretical economics is to provide fully articulated, artificial economic systems that

More information

An Introduction to Perturbation Methods in Macroeconomics. Jesús Fernández-Villaverde University of Pennsylvania

An Introduction to Perturbation Methods in Macroeconomics. Jesús Fernández-Villaverde University of Pennsylvania An Introduction to Perturbation Methods in Macroeconomics Jesús Fernández-Villaverde University of Pennsylvania 1 Introduction Numerous problems in macroeconomics involve functional equations of the form:

More information

The economy is populated by a unit mass of infinitely lived households with preferences given by. β t u(c Mt, c Ht ) t=0

The economy is populated by a unit mass of infinitely lived households with preferences given by. β t u(c Mt, c Ht ) t=0 Review Questions: Two Sector Models Econ720. Fall 207. Prof. Lutz Hendricks A Planning Problem The economy is populated by a unit mass of infinitely lived households with preferences given by β t uc Mt,

More information

Monetary Economics: Solutions Problem Set 1

Monetary Economics: Solutions Problem Set 1 Monetary Economics: Solutions Problem Set 1 December 14, 2006 Exercise 1 A Households Households maximise their intertemporal utility function by optimally choosing consumption, savings, and the mix of

More information

DYNAMIC LECTURE 1 UNIVERSITY OF MARYLAND: ECON 600

DYNAMIC LECTURE 1 UNIVERSITY OF MARYLAND: ECON 600 DYNAMIC LECTURE 1 UNIVERSITY OF MARYLAND: ECON 6 1. differential Equations 1 1.1. Basic Concepts for Univariate Equations. We use differential equations to model situations which treat time as a continuous

More information

Solving Linear Rational Expectations Models

Solving Linear Rational Expectations Models Solving Linear Rational Expectations Models simplified from Christopher A. Sims, by Michael Reiter January 2010 1 General form of the models The models we are interested in can be cast in the form Γ 0

More information