Hoover Institution, Stanford University. Department of Economics, Stanford University. Department of Economics, Santa Clara University

Size: px
Start display at page:

Download "Hoover Institution, Stanford University. Department of Economics, Stanford University. Department of Economics, Santa Clara University"

Transcription

1 Supplementary Material Supplement to How to solve dynamic stochastic models computing expectations just once : Appendices (Quantitative Economics, Vol. 8, No. 3, November 2017, ) Kenneth L. Judd Hoover Institution, Stanford University Lilia Maliar Department of Economics, Stanford University Serguei Maliar Department of Economics, Santa Clara University Inna Tsener Department of Applied Economics, University of the Balearic Islands Appendix A: Bellman and Euler equation algorithms for solving a growth model with inelastic labor supply In Algorithms A1 A6, we provide a description of three Bellman and two Euler equation algorithms, which we use to solve the neoclassical stochastic growth model with inelastic labor supply described in Section 2. Kenneth L. Judd: kennethjudd@mac.com Lilia Maliar: maliarl@stanford.edu Serguei Maliar: smaliar@scu.edu Inna Tsener: inna.tcener@uib.es Copyright 2017 The Authors. Quantitative Economics. The Econometric Society. Licensed under the Creative Commons Attribution-NonCommercial License 4.0. Availableat DOI: /QE329

2 2 Judd, Maliar, Maliar, and Tsener Supplementary Material Algorithm 1a. Value function iteration a. Choose an approximating function V( ; b) V. b. Choose integration nodes, ε j, and weights, ω j, j = 1 J. c. Construct a grid Γ ={k m z m } M m=1. d. Make an initial guess on b (1). At iteration i, perform the following steps: Step 1. Computation of values of V on the grid. a. Solve for k m satisfying u ((1 δ)k m + z m f(k m ) k m ) = β J j=1 ω j V 1 (k m zρ m exp(ε j ); b (i) ). b. Find c m satisfying c m = (1 δ)k m + z m f(k m ) k m. c. Find value function on the grid v m u(c m ) + β J j=1 ω j V(k m zρ m exp(ε j ); b (i) ). Step 2. Computation of b that fits value function on the grid. Run a regression to find b: b = arg minb v m V(k m z m ; b). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2: endstep2if 1 M (k m )(i) (k m )(i 1) (k < m) (i 1) b. Use damping with ξ = 1 to compute b (i+1) = (1 ξ)b (i) + ξ b. Algorithm 1b. Value function iteration with precomputation b. Precompute {I 0 I n } using (12). Step 1. Computation of values of V on the grid. At iteration i,form = 1 M: a. Given b (i),findb (i) from (11) and compute V 1 (k m zρ m; b (i) ). b. Solve for k m satisfying u ((1 δ)k m + z m f(k m ) k m ) = β V 1 (k m zρ m; b (i) ). d. Find value function on the grid v m u(c m ) + β V(k m zρ m; b (i) ).

3 Supplementary Material How to solve dynamic stochastic models 3 Algorithm 2a. Endogenous grid method a. Choose an approximating function V( ; b) V. b. Choose integration nodes, ε j, and weights, ω j, j = 1 J. c. Construct grid Γ ={k m z m} M m=1. d. Make an initial guess on b (1). At iteration i, perform the following steps: Step 1. Computation of values of V on the grid. a. Compute Ŵ(k m z m; b (i) ) J j=1 ω j V(k m zρ m exp(ε j ); b (i) ) and Ŵ 1 (k m z m; b (i) ) J j=1 ω j V 1 (k m zρ m exp(ε j ); b (i) ). b. Find c m = u 1 [βŵ 1 (k m z m; b (i) )]. c.useasolvertofindk m satisfying (1 δ)k m + z m f(k m ) = c m + k m. d. Find value function on the grid v m u(c m ) + βŵ(k m z m; b (i) ). Step 2. Computation of b that fits value function on the grid. Run a regression to find b: b = arg minb v m V(k m z m ; b). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2:endStep2if 1 M (k m) (i) (k m ) (i 1) < (k m ) (i 1) b. Use damping with ξ = 1 to compute b (i+1) = (1 ξ)b (i) + ξ b. Algorithm 2b. Endogenous grid method with precomputation b. Precompute {I 0 I n } using (12). Step 1. Computation of values of V on the grid. At iteration i, form = 1 M: a. Given b (i),findb (i) from (11) and compute Ŵ(k m zρ m; b (i) ) and Ŵ 1 (k m zρ m; b (i) ). b. Find c m = u 1 [βŵ 1 (k m zρ m; b (i) )]. d. Find value function on the grid v m u(c m ) + βŵ(k m zρ m; b (i) ).

4 4 Judd, Maliar, Maliar, and Tsener Supplementary Material Algorithm 3a. Envelope condition method a. Choose an approximating function V( ; b) V. b. Choose integration nodes, ε j, and weights, ω j, j = 1 J. c. Construct grid Γ ={k m z m } M m=1. d. Make an initial guess on b (1). At iteration i, perform the following steps: Step 1. Computation of values of V on the grid. a. Use b (i) to compute V 1 (k m z m ; b (i) ). b. Compute the corresponding values of c m using c m = u 1 [ V 1 (k m z m ; b (i) )(1 δ + z m f (k m )) 1 ]. c. Find k m using k m = (1 δ)k m + z m f(k m ) c m. d. Find value function on the grid v m u(c m ) + β J j=1 ω j V(k m zρ m exp(ε j ); b (i) ). Step 2. Computation of b that fits the value function on the grid. Run a regression to find b: b = arg minb v m V(k m z m ; b). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2: endstep2if 1 M (k m )(i) (k m )(i 1) (k < m) (i 1) b. Use damping with ξ = 1 to compute b (i+1) = (1 ξ)b (i) + ξ b. Algorithm 3b. Envelope condition method with precomputation b. Precompute {I 0 I n } using (12). Step 1. Computation of values of V on the grid. At iteration i,form = 1 M: a. Given b (i),findb (i) from (11); use b (i) to compute V 1 (k m z m ; b (i) ) and use b (i) to compute V(k m zρ m; b (i) ). d. Find value function on the grid v m u(c m ) + β V(k m zρ m; b (i) ).

5 Supplementary Material How to solve dynamic stochastic models 5 Algorithm 4a. Euler equation algorithm parameterizing Q a. Choose an approximating function Q( ; b) Q. b. Choose integration nodes, ε j, and weights, ω j, j = 1 J. c. Construct grid Γ ={k m z m } M m=1. d. Make an initial guess on b (1). At iteration i, perform the following steps: Step 1. Computation of values of Q on the grid. a. Use b (i) to compute Q(k m z m ; b (i) ). b. Find k m using k m = (1 δ)k m + z m f(k m ) u 1 ( Q(k m z m ;b (i) ) 1 δ+z m f(k m ) ). c. Find the values of q m on the grid q m β J j=1 ω j Q(k m zρ m exp(ε j ); b (i) )[1 δ + zf (k m )]. Step 2. Computation of b that fits the Q function on the grid. Run a regression to find b: b = arg minb q m Q(k m z m ; b). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2:endStep2if 1 M (k m )(i) (k m )(i 1) (k < m) (i 1) b. Use damping with ξ = 1 to compute b (i+1) = (1 ξ)b (i) + ξ b. Algorithm 4b. Euler equation algorithm parameterizing Q with precomputation b. Precompute {I 0 I n } using (12). Step 1. Computation of values of Q on the grid. At iteration i,form = 1 M: a. Given b (i),findb (i) from (11); compute Q(k m z m ; b (i) ) and Q(k m zρ m; b (i) ). c. Find the values of q m on the grid q m β Q(k m zρ m; b (i) )[1 δ + zf (k m )].

6 6 Judd, Maliar, Maliar, and Tsener Supplementary Material Algorithm 5a. Euler equation algorithm parameterizing Q and K a. Choose approximating functions K( ; v) K and Q( ; b) Q. b. Choose integration nodes, ε j, and weights, ω j, j = 1 J. c. Construct grid Γ ={k m z m } M m=1. d. Make an initial guess on v (1). At iteration i, perform the following steps: Step 1. Computation of values of Q on the grid. a. Use v (i) to compute K(k m z m ; v (i) ). b. Find c m using c m = (1 δ)k m + z m f(k m ) K(k m z m ; v (i) ). c. Find the values of q m on the grid q m u (c m )[1 δ + z m f (k m )]. Step 2. Computation of v that fits the capital function on the grid. a. Run a regression to find b: b = arg Mm=1 minb q m Q(k m z m ; b), and compute Q(k m z m ; b). b. Compute the values of next-period capital on the grid Jj=1 ω j Q( K(k m z m ;v (i) ) z ρ m exp(ε j ); b) k m β (1 δ + zf Q(k (k m z m ; b) m )) K(k m z m ; v (i) ). c. Run a regression to find v: v = arg min Mm=1 v k m K(k m z m ; v (i) ). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2: endstep2if 1 M (k m )(i) (k m )(i 1) (k < m) (i 1) b. Use damping with ξ = 0 15 to compute v (i+1) = (1 ξ)v (i) + ξ v.

7 Supplementary Material How to solve dynamic stochastic models 7 Algorithm 5b. Euler equation algorithm parameterizing Q and K with precomputation b. Precompute {I 0 I n } using (12). Step 2. Computation of v that fits the capital function on the grid. a. Run a regression to find b, b = arg Mm=1 minb q m Q(k m z m ; b), and compute Q(k m z m ; b). Given b, find b from (11), and compute Q( K(k m z m ; v (i) ) zm; b ρ ). b. Compute the value of next-period capital on the grid k m β Q( K(k m z m ;v (i) ) zm; b ρ ) (1 δ + zf Q(k (k m z m ; b) m )) K(k m z m ; v (i) ). Algorithm 6. Euler equation algorithm parameterizing K (not compatible with precomputation) a. Choose approximating functions K( ; v) K. Step 1. Computation of values of k on the grid. a. Use v (i) to compute K(k m z m ; v (i) ) and k m j = K( K(k m z m ; v (i) ) zm ρ exp(ɛ j ); v (i) ), j = 1 J. b. Find c m j using c m j = (1 δ) K(k m z m ; v (i) ) + z m f( K(k m z m ; v (i) )) k m j. c. Find the values of c m on the grid u (c m ) = β J j=1 ω j u (c m j )[1 δ + zρ m exp(ɛ j )f ( K(k m z m ; v (i) ))]. d. Find the values of k m on the grid k m = (1 δ)k m + z m f(k m ) c m. Step 2. Computation of v that fits the capital function on the grid. a. Run a regression to find v: v = arg min v k m K(k m z m ; v (i) ).

8 8 Judd, Maliar, Maliar, and Tsener Supplementary Material Appendix B: ECM and Euler equation algorithms for solving a growth model with elastic labor supply In Algorithms 7 and 8, we provide a description of ECM and Euler equation algorithms, which we use to solve the neoclassical stochastic growth model with valued leisure described in Section 2. Algorithm 7a. Envelope condition method a. Choose an approximating function V( ; b) V. b. Choose integration nodes, ε j, and weights, ω j, j = 1 J. c. Construct grid Γ ={k m z m } M m=1. d. Make an initial guess on b (1). At iteration i, perform the following steps: Step 1. Computation of values of V on the grid. a. Use b (i) to compute V 1 (k m z m ; b (i) ). b. Solve for l m that satisfies B(1 l m ) μ [1 δ + z m f 1 (k m l m )]=V 1 (k m z m ; b (i) )z m f 2 (k m l m ). c. Compute the corresponding values of c m using c m = u 1 1 [ B(1 l m) μ z m f 2 (k m l m ) ]. d. Find k m using k m = (1 δ)k m + z m f(k m l m ) c m. e. Find value function on the grid v m u(c m l m ) + β J j=1 ω j V(k m zρ m exp(ε j ); b (i) ). Step 2. Computation of b that fits the value function on the grid. Run a regression to find b: b = arg minb v m V(k m z m ; b). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2:endStep2if 1 M (k m )(i) (k m )(i 1) (k < m) (i 1) b. Use damping with ξ = 1 to compute b (i+1) = (1 ξ)b (i) + ξ b.

9 Supplementary Material How to solve dynamic stochastic models 9 Algorithm 7b. Envelope condition method with precomputation b. Precompute {I 0 I n } using (12). Step 1. Computation of values of V on the grid. At iteration i,form = 1 M: a. Given b (i),findb (i) from (11); use b (i) to compute V 1 (k m z m ; b (i) ) and use b (i) to compute V(k m zρ m; b (i) ). e. Find value function on the grid v m u(c m l m ) + β V(k m zρ m; b (i) ).

10 10 Judd, Maliar, Maliar, and Tsener Supplementary Material Algorithm 8a. Euler equation algorithm parameterizing Q a. Choose an approximating function Q( ; b) Q. b. Choose integration nodes, ε j, and weights, ω j, j = 1 J. c. Construct grid Γ ={k m z m } M m=1. d. Make an initial guess on b (1). At iteration i, perform the following steps: Step 1. Computation of values of Q on the grid. a. Use b (i) to compute Q(k m z m ; b (i) ). b. Solve for l m that satisfies B(1 l m ) μ [1 δ + z m f 1 (k m l m )]= Q(k m z m ; b (i) )z m f 2 (k m l m ). c. Compute the corresponding values of c m using c m = u 1 1 [ B(1 l m) μ z m f 2 (k m l m ) ]. d. Find k m using k m = (1 δ)k m + z m f(k m l m ) c m. e. Find the values of q m on the grid q m β J j=1 ω j Q(k m zρ m exp(ε j ); b (i) )[1 δ + zf 1 (k m l m )]. Step 2. Computation of b that fits the Q function on the grid. Run a regression to find b: b = arg minb q m Q(k m z m ; b). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2:endStep2if 1 M (k m )(i) (k m )(i 1) (k < m) (i 1) b. Use damping with ξ = 1 to compute b (i+1) = (1 ξ)b (i) + ξ b.

11 Supplementary Material How to solve dynamic stochastic models 11 Algorithm 8b. Euler equation algorithm parameterizing Q with precomputation b. Precompute {I 0 I n } using (12). Step 1. Computation of values of Q on the grid. At iteration i,form = 1 M: a. Given b (i),findb (i) from (11); compute Q(k m z m ; b (i) ) and Q(k m zρ m; b (i) ). e. Find the values of q m on the grid q m β Q(k m zρ m; b (i) )[1 δ + zf 2 (k m l m )].

12 12 Judd, Maliar, Maliar, and Tsener Supplementary Material Appendix C: Euler equation algorithm for solving the multicountry model In this section, we describe the Euler equation methods that we use to analyze the multicountry model in Section 3. Algorithm 9a. Euler equation algorithm parameterizing Q h and K h a. Choose approximating functions K h ( ; v h ) K h, h = 1 N,andQ h ( ; b h ) Q h. b. Choose integration nodes, ε j = (εj 1 εn j ), and weights, ω j, j = 1 J. c. Fix simulation length T = 2000 and (k 0 z 0 ) = (1 1), where1 (1 1) R N. d. Draw and fix a sequence of productivity levels {z t } t=1 T using (40). e. Construct integration nodes, z t+1 j = (zt+1 j 1 zn t+1 j ) with zh t+1 j = (zh t )ρ exp(εj h). f. Make an initial guess on (v 1 ) (1) (v h ) (1). At iteration i,given(v 1 ) (i) (v h ) (i) : Step 1. Computation of values of Q on the simulated points. For t = 1 T: a. Use k h t+1 = K h (k t z t ; (v h ) (i) ), h = 1 N, to recursively calculate {k t+1 } t=0 T. b. Compute {c t } t=0 T satisfying c h t = ( N h=1 c h t )/N. c. Compute q h t from q h t u (c h t )[1 δ + zh t f (k h t )]. Step 2. Computation of v h that fits the values of capital on the simulated points. a. Run a regression to find b h, bh = arg min Mm=1 b h q t h Q h (k t z t ; b h ), and compute Q h (k t z t ; b h ). b. Compute the values of next-period capital on the simulated points Jj=1 ω j Qh (k t+1 z t+1 j ; b h ) kh t+1 β [1 δ + z Q h h (k t z t ; b h ) t f (k h t )]Kh (k t z t ; v h ), h = 1 N. c. Run a regression to find v h : v h arg min Tt=1 v h k h t+1 K h (k t z t ; (v h ) (i) ). Step 3. Convergence check and fixed-point iteration. a. Check for convergence for i 2;endStep2if 1 Tt=1 Nh=1 TN (kh t+1 )(i) (k h t+1 )(i 1) < (k h t+1 )(i 1) b. Use damping with ξ = 0 1 to compute (v h ) (i+1) = (1 ξ)(v h ) (i) + ξ v h.

13 Supplementary Material How to solve dynamic stochastic models 13 Algorithm 9b. Euler equation algorithm parameterizing Q h and K h with precomputation b. Precompute {I 0 I n } using (53). Step 2. Computation of v h that fits the values of capital on the simulated points. a. Run a regression to find b h, bh = arg min Mm=1 b q t h Q h (k t z t ; b h ), and compute Q h (k t z t ; b h ). Given b,find b from (47), and compute Q h (k t+1 z ρ t ; ( b h ) ). b. Compute the values of next-period capital on the simulated points kh t+1 β Q h (k t+1 z ρ t ;( b h ) ) [1 δ + z Q h h (k t z t ; b h ) t f (k h t )]Kh (k t z t ; v h ), h = 1 N. Algorithm 10. Euler equation algorithm parameterizing K h (not compatible with precomputation) a. Choose approximating functions K h ( ; v h ) K h, h = 1 N. Step 1. Computation of values of k h t+1 on the simulated points. For t = 1 T: a. Use k h t+1 = K h (k t z t ; (v h ) (i) ), h = 1 N, to recursively calculate {k t+1 } t=0 T. b. Compute {c t } t=0 T satisfying ct h = ( N h=1 ct h)/n. c. Compute k h t+2 j = K h (k t+1 z ρ t exp(ɛ j); (v h ) (i) ). d. Find {c t+1 j } t=0 T satisfying ct+1 j h = ( N h=1 ct+1 j h )/N. Step 2. Computation of v h that fits the values of capital on the simulated points. a. Compute the values of next-period capital on the simulated points for h = 1 N: kh t+1 β J j=1 ω j u (ct+1 j h )(u (ct h)) 1 [1 δ + (zt h)ρ exp(ɛ h j )f (k h t+1 )]Kh (k t z t ; v h ). b. Run a regression to find v h : v h arg min Tt=1 v h k h t+1 K h (k t z t ; (v h ) (i) ).

14 14 Judd, Maliar, Maliar, and Tsener Supplementary Material Table C.1. Accuracy and cost of the Euler equation algorithm for the multicountry model: GSSA parameterizing K. Polynomial Precomputation M1 M2 GH(2) Degree L 1 L CPU L 1 L CPU L 1 L CPU L 1 L CPU 1st nd rd th th N = 5 1st nd rd ,221 4th ,640 N = 10 1st ,263 2nd ,610 3rd , ,232 N = 20 1st nd ,204 N = 30 1st nd ,543 Note: The main result columns correspond to variants of GSSA that evaluate integrals by using the precomputation method, the monomial integration methods with 2N and 2N nodes, and the Gauss Hermite quadrature method with two nodes, respectively; the statistics L 1 and L are, respectively, the average and maximum of absolute residuals across optimality condition and test points (in log 10 units) on a stochastic simulation of 10,000 observations; CPU is the time necessary for computing a solution (in seconds).

15 Supplementary Material How to solve dynamic stochastic models 15 Appendix D: Euler equation algorithm for solving the Aiyagari model In this section, we describe a solution algorithm for Aiyagari s (1994) model analyzed in Section 4. We focus on the algorithm for solving the individual problem in which the precomputation results appear. The rest of the algorithm is standard and relies on stochastic simulation and a bisection technique as in Aiyagari (1994). Algorithm 11a. Euler equation algorithm parameterizing Q and K a. Given K, compute R = αk α 1 δ and W = (1 α)(k) α. b. Choose an approximating function K( ; b l ) K and Q( ; v l ) Q for l {1 J}. c. Construct grid Γ ={k m z m } M m=1. d. Make an initial guess on K( ; b l ) (1). At iteration i, perform the following steps: Step 1. Computation of values of K on the grid. a. Find c m l using c m l = Wz l + (1 + R)k m K( ; b l ). (1 + R). c. Run a regression to find v l for l {1 J}: v l = arg min Mm=1 v l q m l Q(k m ; v). d. Find k m l using k m l = Wz l + (1 + R)k m u 1 [β j π jl Q(k m l ; vj )]. b. Compute q m l = c γ m l Step 2. Convergence check and fixed-point iteration. a. Check for convergence for i 2; endstep1if max m l (c m l) (i 1) (c m l ) (i) (c m l ) (i 1) < b. Use damping with ξ = 0 5 to compute ( K( ; b l )) (i+1) = (1 ξ)( K( ; b l )) (i) + ξ( k m l )(i).

16 16 Judd, Maliar, Maliar, and Tsener Supplementary Material Algorithm 11b. Euler equation algorithm parameterizing Q with precomputation Step 1. Computation of values of K on the grid. At iteration i,form = 1 M: d. Given v l, l = 1 J,find( v l ) from (67). e. Find k m l using k m l = Wz l + (1 + R)k m u 1 [β Q(k m l ; ( vl ) )]. Algorithm 12. Euler equation algorithm for Aiyagari s (1994) model parameterizing K (not compatible with precomputation) b. Choose an approximating function K( ; b l ) K for l {1 J}. Step 1. Computation of values of K on the grid. At iteration i,form = 1 M: For l ={1 J}: b. Compute k m j = K(k m l ; bj ) for j ={1 J}. c. Find c m j for j ={1 J} using c m j = Wz j + (1 + R)k m l k m j. d. Find k m l using k m l = Wz l + (1 + R)k m u 1 [β j π jl(c m j ) γ [1 + R]]. Co-editor José-Víctor Ríos-Rull handled this manuscript. Manuscript received 9 November, 2012; final version accepted 6 December, 2016; available online 2 June, 2017.

Hoover Institution, Stanford University and NBER. University of Alicante and Hoover Institution, Stanford University

Hoover Institution, Stanford University and NBER. University of Alicante and Hoover Institution, Stanford University Supplementary Material Supplement to Numerically stable and accurate stochastic simulation approaches for solving dynamic economic models : Appendices (Quantitative Economics, Vol. 2, No. 2, July 2011,

More information

Introduction: Solution Methods for State-Dependent and Time-Dependent Models

Introduction: Solution Methods for State-Dependent and Time-Dependent Models Introduction: Solution Methods for State-Dependent and Time-Dependent Models Lilia Maliar and Serguei Maliar Washington DC, August 23-25, 2017 FRB Mini-Course Maliar and Maliar (2017) State- and Time-Dependent

More information

Introduction: Solution Methods for State-Dependent and Time-Dependent Models

Introduction: Solution Methods for State-Dependent and Time-Dependent Models Introduction: Solution Methods for State-Dependent and Time-Dependent Models Lilia Maliar and Serguei Maliar CEF 2017 Workshop Maliar and Maliar (2017) State-Dependent and Time-Dependent Models CEF 2017

More information

NBER WORKING PAPER SERIES ONE-NODE QUADRATURE BEATS MONTE CARLO: A GENERALIZED STOCHASTIC SIMULATION ALGORITHM

NBER WORKING PAPER SERIES ONE-NODE QUADRATURE BEATS MONTE CARLO: A GENERALIZED STOCHASTIC SIMULATION ALGORITHM NBER WORKING PAPER SERIES ONE-NODE QUADRATURE BEATS MONTE CARLO: A GENERALIZED STOCHASTIC SIMULATION ALGORITHM Kenneth Judd Lilia Maliar Serguei Maliar Working Paper 16708 http://www.nber.org/papers/w16708

More information

Numerically Stable and Accurate Stochastic Simulation Approaches for Solving Dynamic Economic Models

Numerically Stable and Accurate Stochastic Simulation Approaches for Solving Dynamic Economic Models Numerically Stable and Accurate Stochastic Simulation Approaches for Solving Dynamic Economic Models Kenneth L. Judd, Lilia Maliar and Serguei Maliar QUANTITATIVE ECONOMICS (forthcoming) July 1, 2011 Judd,

More information

Envelope Condition Method with an Application to Default Risk Models

Envelope Condition Method with an Application to Default Risk Models Envelope Condition Method with an Application to Default Risk Models Cristina Arellano, Lilia Maliar, Serguei Maliar and Viktor Tsyrennikov February 15, 2015 Abstract We develop an envelope condition method

More information

Numerically stable and accurate stochastic simulation approaches for solving dynamic economic models

Numerically stable and accurate stochastic simulation approaches for solving dynamic economic models Quantitative Economics 2 (2011), 173 210 1759-7331/20110173 Numerically stable and accurate stochastic simulation approaches for solving dynamic economic models Kenneth L. Judd Hoover Institution, Stanford

More information

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

Projection. Wouter J. Den Haan London School of Economics. c by Wouter J. Den Haan Projection Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Model [ ] ct ν = E t βct+1 ν αz t+1kt+1 α 1 c t + k t+1 = z t k α t ln(z t+1 ) = ρ ln (z t ) + ε t+1 ε t+1 N(0, σ 2 ) k

More information

The Market Resources Method for Solving Dynamic Optimization Problems *

The Market Resources Method for Solving Dynamic Optimization Problems * Federal Reserve Bank of Dallas Globalization and Monetary Policy Institute Working Paper No. 274 http://www.dallasfed.org/assets/documents/institute/wpapers/2016/0274.pdf The Market Resources Method for

More information

Parameterized Expectations Algorithm

Parameterized Expectations Algorithm Parameterized Expectations Algorithm Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Overview Two PEA algorithms Explaining stochastic simulations PEA Advantages and disadvantages

More information

Dynamic Programming with Hermite Interpolation

Dynamic Programming with Hermite Interpolation Dynamic Programming with Hermite Interpolation Yongyang Cai Hoover Institution, 424 Galvez Mall, Stanford University, Stanford, CA, 94305 Kenneth L. Judd Hoover Institution, 424 Galvez Mall, Stanford University,

More information

Projection Methods. (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018

Projection Methods. (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018 Projection Methods (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018 1 University of Pennsylvania 2 Boston College Introduction Remember that

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

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

Numerical Methods in Economics

Numerical Methods in Economics Numerical Methods in Economics MIT Press, 1998 Chapter 12 Notes Numerical Dynamic Programming Kenneth L. Judd Hoover Institution November 15, 2002 1 Discrete-Time Dynamic Programming Objective: X: set

More information

HOMEWORK #3 This homework assignment is due at NOON on Friday, November 17 in Marnix Amand s mailbox.

HOMEWORK #3 This homework assignment is due at NOON on Friday, November 17 in Marnix Amand s mailbox. Econ 50a second half) Yale University Fall 2006 Prof. Tony Smith HOMEWORK #3 This homework assignment is due at NOON on Friday, November 7 in Marnix Amand s mailbox.. This problem introduces wealth inequality

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

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

Solving nonlinear dynamic stochastic models: An algorithm computing value function by simulations

Solving nonlinear dynamic stochastic models: An algorithm computing value function by simulations Economics Letters 87 (2005) 135 10 www.elsevier.com/locate/econbase Solving nonlinear dynamic stochastic models: An algorithm computing value function by simulations Lilia Maliar, Serguei Maliar* Departamento

More information

Errata Dynamic General Equilibrium Modelling, Springer: Berlin August 2015

Errata Dynamic General Equilibrium Modelling, Springer: Berlin August 2015 Errata Dynamic General Equilibrium Modelling, Springer: Berlin 2005 17 August 2015 Chapter 1.1 p. 9/10: Figure 1.1 was computed for the parameter values T = 59, α = 0.50, and ρ = 0.35 and not as stated

More information

Suggested Solutions to Homework #6 Econ 511b (Part I), Spring 2004

Suggested Solutions to Homework #6 Econ 511b (Part I), Spring 2004 Suggested Solutions to Homework #6 Econ 511b (Part I), Spring 2004 1. (a) Find the planner s optimal decision rule in the stochastic one-sector growth model without valued leisure by linearizing the Euler

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

An approximate consumption function

An approximate consumption function An approximate consumption function Mario Padula Very Preliminary and Very Incomplete 8 December 2005 Abstract This notes proposes an approximation to the consumption function in the buffer-stock model.

More information

Projection Methods. Michal Kejak CERGE CERGE-EI ( ) 1 / 29

Projection Methods. Michal Kejak CERGE CERGE-EI ( ) 1 / 29 Projection Methods Michal Kejak CERGE CERGE-EI ( ) 1 / 29 Introduction numerical methods for dynamic economies nite-di erence methods initial value problems (Euler method) two-point boundary value problems

More information

Taking Perturbation to the Accuracy Frontier: A Hybrid of Local and Global Solutions

Taking Perturbation to the Accuracy Frontier: A Hybrid of Local and Global Solutions Dynare Working Papers Series http://www.dynare.org/wp/ Taking Perturbation to the Accuracy Frontier: A Hybrid of Local and Global Solutions Lilia Maliar Serguei Maliar Sébastien Villemot Working Paper

More information

Value Function Iteration

Value Function Iteration Value Function Iteration (Lectures on Solution Methods for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 26, 2018 1 University of Pennsylvania 2 Boston College Theoretical Background

More information

A Cluster-Grid Algorithm: Solving Problems With High Dimensionality

A Cluster-Grid Algorithm: Solving Problems With High Dimensionality A Cluster-Grid Algorithm: Solving Problems With High Dimensionality Kenneth L. Judd, Lilia Maliar and Serguei Maliar August 11, 2011 Abstract We develop a cluster-grid algorithm (CGA) that solves dynamic

More information

Stanford University. Santa Clara University

Stanford University. Santa Clara University Supplementary Material Supplement to Merging simulation and projection approaches to solve high-dimensional problems with an application to a new Keynesian model (Quantitative Economics, Vol. 6, No. 1,

More information

Parameterized Expectations Algorithm: How to Solve for Labor Easily

Parameterized Expectations Algorithm: How to Solve for Labor Easily Computational Economics (2005) 25: 269 274 DOI: 10.1007/s10614-005-2224-9 C Springer 2005 Parameterized Expectations Algorithm: How to Solve for Labor Easily LILIA MALIAR and SERGUEI MALIAR Departmento

More information

Parameterized Expectations Algorithm and the Moving Bounds

Parameterized Expectations Algorithm and the Moving Bounds Parameterized Expectations Algorithm and the Moving Bounds Lilia Maliar and Serguei Maliar Departamento de Fundamentos del Análisis Económico, Universidad de Alicante, Campus San Vicente del Raspeig, Ap.

More information

Projection Methods. Felix Kubler 1. October 10, DBF, University of Zurich and Swiss Finance Institute

Projection Methods. Felix Kubler 1. October 10, DBF, University of Zurich and Swiss Finance Institute Projection Methods Felix Kubler 1 1 DBF, University of Zurich and Swiss Finance Institute October 10, 2017 Felix Kubler Comp.Econ. Gerzensee, Ch5 October 10, 2017 1 / 55 Motivation In many dynamic economic

More information

A comparison of numerical methods for the. Solution of continuous-time DSGE models. Juan Carlos Parra Alvarez

A comparison of numerical methods for the. Solution of continuous-time DSGE models. Juan Carlos Parra Alvarez A comparison of numerical methods for the solution of continuous-time DSGE models Juan Carlos Parra Alvarez Department of Economics and Business, and CREATES Aarhus University, Denmark November 14, 2012

More information

1. Using the model and notations covered in class, the expected returns are:

1. Using the model and notations covered in class, the expected returns are: Econ 510a second half Yale University Fall 2006 Prof. Tony Smith HOMEWORK #5 This homework assignment is due at 5PM on Friday, December 8 in Marnix Amand s mailbox. Solution 1. a In the Mehra-Prescott

More information

Advanced Tools in Macroeconomics

Advanced Tools in Macroeconomics Advanced Tools in Macroeconomics Continuous time models (and methods) Pontus Rendahl August 21, 2017 Introduction In this lecture we will take a look at models in continuous, as opposed to discrete, time.

More information

Solving Models with Heterogeneous Agents Xpa algorithm

Solving Models with Heterogeneous Agents Xpa algorithm Solving Models with Heterogeneous Agents Xpa algorithm Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan Individual agent Subject to employment shocks ε i,t {0, 1} or ε i,t {u, e} Incomplete

More information

DSICE: A Dynamic Stochastic Integrated Model of Climate and Economy

DSICE: A Dynamic Stochastic Integrated Model of Climate and Economy DSICE: A Dynamic Stochastic Integrated Model of Climate and Economy Yongyang Cai Hoover Institution, 424 Galvez Mall, Stanford University, Stanford, CA 94305 yycai@stanford.edu Kenneth L. Judd Hoover Institution,

More information

Aiyagari-Bewley-Hugget-Imrohoroglu Economies

Aiyagari-Bewley-Hugget-Imrohoroglu Economies Aiyagari-Bewley-Hugget-Imrohoroglu Economies Quantitative Macroeconomics Raül Santaeulàlia-Llopis MOVE-UAB and Barcelona GSE Fall 2018 Raül Santaeulàlia-Llopis (MOVE-UAB,BGSE) QM: ABHI Models Fall 2018

More information

Introduction to Recursive Methods

Introduction to Recursive Methods Chapter 1 Introduction to Recursive Methods These notes are targeted to advanced Master and Ph.D. students in economics. They can be of some use to researchers in macroeconomic theory. The material contained

More information

Supplement to The cyclical dynamics of illiquid housing, debt, and foreclosures (Quantitative Economics, Vol. 7, No. 1, March 2016, )

Supplement to The cyclical dynamics of illiquid housing, debt, and foreclosures (Quantitative Economics, Vol. 7, No. 1, March 2016, ) Supplementary Material Supplement to The cyclical dynamics of illiquid housing, debt, and foreclosures Quantitative Economics, Vol. 7, No. 1, March 2016, 289 328) Aaron Hedlund Department of Economics,

More information

1 Recursive Competitive Equilibrium

1 Recursive Competitive Equilibrium Feb 5th, 2007 Let s write the SPP problem in sequence representation: max {c t,k t+1 } t=0 β t u(f(k t ) k t+1 ) t=0 k 0 given Because of the INADA conditions we know that the solution is interior. So

More information

The Pass-Through of Sovereign Risk. Luigi Bocola Q K (S)

The Pass-Through of Sovereign Risk. Luigi Bocola Q K (S) Online Appendix The Pass-Through of Sovereign Risk Luigi Bocola A Numerical Solution A.1 Equilibrium conditions The states of the model are S = [ K, B, P, z, g, s, d]. The controls { C(S), R(S), α(s),

More information

HOMEWORK #1 This homework assignment is due at 5PM on Friday, November 3 in Marnix Amand s mailbox.

HOMEWORK #1 This homework assignment is due at 5PM on Friday, November 3 in Marnix Amand s mailbox. Econ 50a (second half) Yale University Fall 2006 Prof. Tony Smith HOMEWORK # This homework assignment is due at 5PM on Friday, November 3 in Marnix Amand s mailbox.. Consider a growth model with capital

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

A Tractable Framework for Analyzing a Class of Nonstationary Markov Models

A Tractable Framework for Analyzing a Class of Nonstationary Markov Models A Tractable Framework for Analyzing a Class of Nonstationary Markov Models Lilia Maliar, Serguei Maliar, John B. Taylor and Inna Tsener December 29, 2016 Abstract Dynamic stochastic economic models normally

More information

NBER WORKING PAPER SERIES SOLVING DYNAMIC PROGRAMMING PROBLEMS ON A COMPUTATIONAL GRID. Yongyang Cai Kenneth L. Judd Greg Thain Stephen J.

NBER WORKING PAPER SERIES SOLVING DYNAMIC PROGRAMMING PROBLEMS ON A COMPUTATIONAL GRID. Yongyang Cai Kenneth L. Judd Greg Thain Stephen J. NBER WORKING PAPER SERIES SOLVING DYNAMIC PROGRAMMING PROBLEMS ON A COMPUTATIONAL GRID Yongyang Cai Kenneth L. Judd Greg Thain Stephen J. Wright Working Paper 18714 http://www.nber.org/papers/w18714 NATIONAL

More information

Do not turn over until you are told to do so by the Invigilator.

Do not turn over until you are told to do so by the Invigilator. UNIVERSITY OF EAST ANGLIA School of Mathematics Main Series UG Examination 216 17 INTRODUCTION TO NUMERICAL ANALYSIS MTHE612B Time allowed: 3 Hours Attempt QUESTIONS 1 and 2, and THREE other questions.

More information

Seminar Lecture. Introduction to Structural Estimation: A Stochastic Life Cycle Model. James Zou. School of Economics (HUST) September 29, 2017

Seminar Lecture. Introduction to Structural Estimation: A Stochastic Life Cycle Model. James Zou. School of Economics (HUST) September 29, 2017 Seminar Lecture Introduction to Structural Estimation: A Stochastic Life Cycle Model James Zou School of Economics (HUST) September 29, 2017 James Zou (School of Economics (HUST)) Seminar Lecture September

More information

Suggested Solutions to Homework #3 Econ 511b (Part I), Spring 2004

Suggested Solutions to Homework #3 Econ 511b (Part I), Spring 2004 Suggested Solutions to Homework #3 Econ 5b (Part I), Spring 2004. Consider an exchange economy with two (types of) consumers. Type-A consumers comprise fraction λ of the economy s population and type-b

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

Introduction to Numerical Methods

Introduction to Numerical Methods Introduction to Numerical Methods Wouter J. Den Haan London School of Economics c by Wouter J. Den Haan "D", "S", & "GE" Dynamic Stochastic General Equilibrium What is missing in the abbreviation? DSGE

More information

Supplemental Material for KERNEL-BASED INFERENCE IN TIME-VARYING COEFFICIENT COINTEGRATING REGRESSION. September 2017

Supplemental Material for KERNEL-BASED INFERENCE IN TIME-VARYING COEFFICIENT COINTEGRATING REGRESSION. September 2017 Supplemental Material for KERNEL-BASED INFERENCE IN TIME-VARYING COEFFICIENT COINTEGRATING REGRESSION By Degui Li, Peter C. B. Phillips, and Jiti Gao September 017 COWLES FOUNDATION DISCUSSION PAPER NO.

More information

Incomplete Markets, Heterogeneity and Macroeconomic Dynamics

Incomplete Markets, Heterogeneity and Macroeconomic Dynamics Incomplete Markets, Heterogeneity and Macroeconomic Dynamics Bruce Preston and Mauro Roca Presented by Yuki Ikeda February 2009 Preston and Roca (presenter: Yuki Ikeda) 02/03 1 / 20 Introduction Stochastic

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

Matlab Programming and Quantitative Economic Theory

Matlab Programming and Quantitative Economic Theory Matlab Programming and Quantitative Economic Theory Patrick Bunk and Hong Lan SFB C7 Humboldt University of Berlin June 4, 2010 Patrick Bunk and Hong Lan (SFB C7 Humboldt Matlab University Programming

More information

NBER WORKING PAPER SERIES NUMERICALLY STABLE STOCHASTIC SIMULATION APPROACHES FOR SOLVING DYNAMIC ECONOMIC MODELS

NBER WORKING PAPER SERIES NUMERICALLY STABLE STOCHASTIC SIMULATION APPROACHES FOR SOLVING DYNAMIC ECONOMIC MODELS NBER WORKING PAPER SERIES NUMERICALLY STABLE STOCHASTIC SIMULATION APPROACHES FOR SOLVING DYNAMIC ECONOMIC MODELS Kenneth Judd Lilia Maliar Serguei Maliar Working Paper 15296 http://www.nber.org/papers/w15296

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

Value Function Iteration as a Solution Method for the Ramsey Model

Value Function Iteration as a Solution Method for the Ramsey Model Value Function Iteration as a Solution Method for the Ramsey Model BURKHARD HEER ALFRED MAUßNER CESIFO WORKING PAPER NO. 2278 CATEGORY 10: EMPIRICAL AND THEORETICAL METHODS APRIL 2008 An electronic version

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

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

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

2. What is the fraction of aggregate savings due to the precautionary motive? (These two questions are analyzed in the paper by Ayiagari)

2. What is the fraction of aggregate savings due to the precautionary motive? (These two questions are analyzed in the paper by Ayiagari) University of Minnesota 8107 Macroeconomic Theory, Spring 2012, Mini 1 Fabrizio Perri Stationary equilibria in economies with Idiosyncratic Risk and Incomplete Markets We are now at the point in which

More information

Interpolation. 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter

Interpolation. 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter Key References: Interpolation 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter 6. 2. Press, W. et. al. Numerical Recipes in C, Cambridge: Cambridge University Press. Chapter 3

More information

Problem set (a) Write a program that uses the golden section method to find the maximum of the function. f (x) = log (x) x.

Problem set (a) Write a program that uses the golden section method to find the maximum of the function. f (x) = log (x) x. Recursive methods Spring 2007 Henriksen Problem set 1 1. (a) Write a program that uses the golden section method to find the maximum of the function f (x) = log (x) x. (b) Write computer programs to implement

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

Permanent Income Hypothesis Intro to the Ramsey Model

Permanent Income Hypothesis Intro to the Ramsey Model Consumption and Savings Permanent Income Hypothesis Intro to the Ramsey Model Lecture 10 Topics in Macroeconomics November 6, 2007 Lecture 10 1/18 Topics in Macroeconomics Consumption and Savings Outline

More information

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 1 Suggested Solutions

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 1 Suggested Solutions ECON607 Fall 200 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment Suggested Solutions The due date for this assignment is Thursday, Sep. 23.. Consider an stochastic optimal growth model

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

Topic 2. Consumption/Saving and Productivity shocks

Topic 2. Consumption/Saving and Productivity shocks 14.452. Topic 2. Consumption/Saving and Productivity shocks Olivier Blanchard April 2006 Nr. 1 1. What starting point? Want to start with a model with at least two ingredients: Shocks, so uncertainty.

More information

Numerical Methods-Lecture VIII: Interpolation

Numerical Methods-Lecture VIII: Interpolation Numerical Methods-Lecture VIII: Interpolation (See Judd Chapter 6) Trevor Gallen Fall, 2015 1 / 113 Motivation Most solutions are functions Many functions are (potentially) high-dimensional Want a way

More information

PROJECTION METHODS FOR DYNAMIC MODELS

PROJECTION METHODS FOR DYNAMIC MODELS PROJECTION METHODS FOR DYNAMIC MODELS Kenneth L. Judd Hoover Institution and NBER June 28, 2006 Functional Problems Many problems involve solving for some unknown function Dynamic programming Consumption

More information

Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models

Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models Shinichi Nishiyama Graduate School of Economics Kyoto University January 10, 2019 Abstract In this lecture, we solve and simulate

More information

Productivity Losses from Financial Frictions: Can Self-financing Undo Capital Misallocation?

Productivity Losses from Financial Frictions: Can Self-financing Undo Capital Misallocation? Productivity Losses from Financial Frictions: Can Self-financing Undo Capital Misallocation? Benjamin Moll G Online Appendix: The Model in Discrete Time and with iid Shocks This Appendix presents a version

More information

Basic Deterministic Dynamic Programming

Basic Deterministic Dynamic Programming Basic Deterministic Dynamic Programming Timothy Kam School of Economics & CAMA Australian National University ECON8022, This version March 17, 2008 Motivation What do we do? Outline Deterministic IHDP

More information

Endogenous Growth. Lecture 17 & 18. Topics in Macroeconomics. December 8 & 9, 2008

Endogenous Growth. Lecture 17 & 18. Topics in Macroeconomics. December 8 & 9, 2008 Review: Solow Model Review: Ramsey Model Endogenous Growth Lecture 17 & 18 Topics in Macroeconomics December 8 & 9, 2008 Lectures 17 & 18 1/29 Topics in Macroeconomics Outline Review: Solow Model Review:

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 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

Solving the Multi-Country Real Business Cycle Model Using a Monomial Rule Galerkin Method

Solving the Multi-Country Real Business Cycle Model Using a Monomial Rule Galerkin Method Solving the Multi-Country Real Business Cycle Model Using a Monomial Rule Galerkin Method Paul Pichler Department of Economics University of Vienna Hohenstaufengasse 9 A- Vienna Austria Abstract I propose

More information

Ruling Out Multiplicity of Smooth Equilibria in Dynamic Games: A Hyperbolic Discounting Example

Ruling Out Multiplicity of Smooth Equilibria in Dynamic Games: A Hyperbolic Discounting Example Dyn Games Appl 2016 6:243 261 DOI 1007/s13235-015-0177-8 Ruling Out Multiplicity of Smooth Equilibria in Dynamic Games: A Hyperbolic Discounting Example Lilia Maliar 1 Serguei Maliar 2 Published online:

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

A Quick Introduction to Numerical Methods

A Quick Introduction to Numerical Methods Chapter 5 A Quick Introduction to Numerical Methods One of the main advantages of the recursive approach is that we can use the computer to solve numerically interesting models. There is a wide variety

More information

THE ZERO LOWER BOUND: FREQUENCY, DURATION,

THE ZERO LOWER BOUND: FREQUENCY, DURATION, THE ZERO LOWER BOUND: FREQUENCY, DURATION, AND NUMERICAL CONVERGENCE Alexander W. Richter Auburn University Nathaniel A. Throckmorton DePauw University INTRODUCTION Popular monetary policy rule due to

More information

DYNAMIC LECTURE 5: DISCRETE TIME INTERTEMPORAL OPTIMIZATION

DYNAMIC LECTURE 5: DISCRETE TIME INTERTEMPORAL OPTIMIZATION DYNAMIC LECTURE 5: DISCRETE TIME INTERTEMPORAL OPTIMIZATION UNIVERSITY OF MARYLAND: ECON 600. Alternative Methods of Discrete Time Intertemporal Optimization We will start by solving a discrete time intertemporal

More information

Negative Income Taxes, Inequality and Poverty

Negative Income Taxes, Inequality and Poverty Negative Income Taxes, Inequality and Poverty Constantine Angyridis Brennan S. Thompson Department of Economics Ryerson University July 8, 2011 Overview We use a dynamic heterogeneous agents general equilibrium

More information

Business Cycles and Exchange Rate Regimes

Business Cycles and Exchange Rate Regimes Business Cycles and Exchange Rate Regimes Christian Zimmermann Département des sciences économiques, Université du Québec à Montréal (UQAM) Center for Research on Economic Fluctuations and Employment (CREFE)

More information

Macroeconomics Theory II

Macroeconomics Theory II Macroeconomics Theory II Francesco Franco FEUNL February 2011 Francesco Franco Macroeconomics Theory II 1/34 The log-linear plain vanilla RBC and ν(σ n )= ĉ t = Y C ẑt +(1 α) Y C ˆn t + K βc ˆk t 1 + K

More information

14.452: Introduction to Economic Growth Problem Set 4

14.452: Introduction to Economic Growth Problem Set 4 14.452: Introduction to Economic Growth Problem Set 4 Daron Acemoglu Due date: December 5, 12pm noon Please only hand in Question 3, which will be graded. The rest will be reviewed in the recitation but

More information

Perturbation Methods

Perturbation Methods Perturbation Methods Jesús Fernández-Villaverde University of Pennsylvania May 28, 2015 Jesús Fernández-Villaverde (PENN) Perturbation Methods May 28, 2015 1 / 91 Introduction Introduction Remember that

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

Lecture 3: Growth Model, Dynamic Optimization in Continuous Time (Hamiltonians)

Lecture 3: Growth Model, Dynamic Optimization in Continuous Time (Hamiltonians) Lecture 3: Growth Model, Dynamic Optimization in Continuous Time (Hamiltonians) ECO 503: Macroeconomic Theory I Benjamin Moll Princeton University Fall 2014 1/16 Plan of Lecture Growth model in continuous

More information

Finite State Markov-chain Approximations to Highly. Persistent Processes

Finite State Markov-chain Approximations to Highly. Persistent Processes Finite State Markov-chain Approximations to Highly Persistent Processes Karen A. Kopecky y Richard M. H. Suen z This Version: November 2009 Abstract The Rouwenhorst method of approximating stationary AR(1)

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

Modern Macroeconomics II

Modern Macroeconomics II Modern Macroeconomics II Katsuya Takii OSIPP Katsuya Takii (Institute) Modern Macroeconomics II 1 / 461 Introduction Purpose: This lecture is aimed at providing students with standard methods in modern

More information

Multiple Interior Steady States in the Ramsey Model with Elastic Labor Supply

Multiple Interior Steady States in the Ramsey Model with Elastic Labor Supply Multiple Interior Steady States in the Ramsey Model with Elastic Labor Supply Takashi Kamihigashi July 31, 2014 Abstract In this paper, we show that multiple interior steady states are possible in the

More information

Multiple Interior Steady States in the Ramsey Model with Elastic Labor Supply

Multiple Interior Steady States in the Ramsey Model with Elastic Labor Supply Multiple Interior Steady States in the Ramsey Model with Elastic Labor Supply Takashi Kamihigashi March 18, 2014 Abstract In this paper we show that multiple interior steady states are possible in the

More information

Lecture XII. Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk

Lecture XII. Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk Lecture XII Solving for the Equilibrium in Models with Idiosyncratic and Aggregate Risk Gianluca Violante New York University Quantitative Macroeconomics G. Violante, Idiosyncratic and Aggregate Risk p.

More information

Equilibrium in the growth model with an endogenous labor-leisure choice

Equilibrium in the growth model with an endogenous labor-leisure choice Equilibrium in the growth model with an endogenous labor-leisure choice Aditya Goenka Manh-Hung Nguyen April 6, 2011 Abstract We prove the existence of competitive equilibrium in an optimal growth model

More information

Eaton Kortum Model (2002)

Eaton Kortum Model (2002) Eaton Kortum Model (2002) Seyed Ali Madanizadeh Sharif U. of Tech. November 20, 2015 Seyed Ali Madanizadeh (Sharif U. of Tech.) Eaton Kortum Model (2002) November 20, 2015 1 / 41 Introduction Eaton and

More information

Lecture 3: Hamilton-Jacobi-Bellman Equations. Distributional Macroeconomics. Benjamin Moll. Part II of ECON Harvard University, Spring

Lecture 3: Hamilton-Jacobi-Bellman Equations. Distributional Macroeconomics. Benjamin Moll. Part II of ECON Harvard University, Spring Lecture 3: Hamilton-Jacobi-Bellman Equations Distributional Macroeconomics Part II of ECON 2149 Benjamin Moll Harvard University, Spring 2018 1 Outline 1. Hamilton-Jacobi-Bellman equations in deterministic

More information

A factorization of the inverse of the shifted companion matrix

A factorization of the inverse of the shifted companion matrix Electronic Journal of Linear Algebra Volume 26 Volume 26 (203) Article 8 203 A factorization of the inverse of the shifted companion matrix Jared L Aurentz jaurentz@mathwsuedu Follow this and additional

More information

Endogenous Growth: AK Model

Endogenous Growth: AK Model Endogenous Growth: AK Model Prof. Lutz Hendricks Econ720 October 24, 2017 1 / 35 Endogenous Growth Why do countries grow? A question with large welfare consequences. We need models where growth is endogenous.

More information