




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A dynamic optimization problem related to a basic RBC model. It explains how to find a deterministic solution and a steady state solution. It also discusses linearization and policy functions. available code and an alternative Dynare. It concludes with steady state equations. useful for students studying macroeconomics, dynamic optimization, and DSGE models.
Typology: Exams
1 / 171
This page cannot be seen from the preview
Don't miss anything!





























































































1
Basic RBC
Social Planner’s problem:
max
∞X t=
t β
log
ct
ψ
log (
lt
ct
k
t+
αk t
ze t^ lt
− α^
δ
)^ k
,^ t
t >
zt
ρz
t−
1
ε
,^ t
εt
,^ σ
This is a dynamic optimization problem.
2
Equilibrium ConditionsFrom the household problem+
firms’s problem+aggregate conditions:
(^1) ct
β
( t
ct
α
αk − 1 t^
(e
zt lt
− α^
δ
)´
ψ
ct 1
lt
α
)^ k
α t^
(e
zt^ lt
−α
−l
1 t
ct
k
t+
k
α t^
(e
zt^ l)t
1 −
α^
δ
)^ k
t
zt
ρ
zt
− 1
ε
t
4
Finding a Deterministic Solution
We search for the
fi
rst component of the solution.
If^
σ^
,^ the equilibrium conditions are:
(^1) ct
β
ct
α
αk − 1 t^
(^1) l −α t
δ
´
ψ
ct 1
lt
α
)^ k
αl t^
− α t
ct
k
t+
k
αl t^
1 −
α t^
δ )^ k
t
5
Solving the Steady StateSolution:
k^
μ Ω
ϕ
μ
l^
ϕ k
c^
k
y^
αk
(^1) l −α
where
ϕ
³ 1 α
³^1 β
δ ´´
1 1 −
α^ ,
ϕ
1 −
α^
δ and
μ
(^1) ψ
α
)^ ϕ
− α.
7
Linearization I
Loglinearization or linearization?
-^
Advantages and disadvantages
-^
We can linearize and perform later a change of variables.
8
Linearization IIIWe get:^ −
1 c^
(c
−t
c) =
( t
1 ( c^
ct
c
α
α
)^ β
y zk^
t+
α (α
β
y 2 k
(k
t+
k
α
α
)^ β
y kl
(l
t+
l)
)
1 c^
(c
−t
c) +
l)
(l
−t
l) = (
α
)^ z
+t
α k
kt
k
α l
lt^
l)
(c
−t
c
kt
k
y μ^ (
α
)^ z
+t
α k
kt
k
(
− α) l
(l
−t
l)
¶
δ
kt
k
zt
ρ
zt
− 1
ε
t
10
Rewriting the System IOr: α
ct
c
{t α
ct
c
α
z 2 t+
α
kt
k
α
lt+
l)
(c
−t
c
α
z 5
+t
α k
c^ (
kt
k
α
lt^
l)
(c
−t
c
kt
k
α
z 7
+t
α
kt
k
α
lt^
l)
zt
ρ
zt
− 1
ε
t
11
Rewriting the System IIIAfter some algebra the system is reduced to:
(k
t+
k
(k
−t
k
(l
−t
l) +
Dz
= 0t
(t
(k
t+
k
(k
−t
k
(l
t+
l) +
(l
−t
l) +
Lz
t+
Mz
) = 0t
zt t+
ρ
zt
13
Guess Policy FunctionsWe guess policy functions of the form (
kt
k
kt
k
Qz
t^ and
(l
−t
l) =
(k
−t
k
Sz
, plug them in and get:t
kt
k
Qz
) +t
(k
−t
k
(k
−t
k
Sz
) +t
Dz
= 0t
kt
k
Qz
) +t
(k
−t
k
kt
k
Qz
) +t
SNz
)t
(k
−t
k
Sz
) + (t
)^ z
= 0t
14
Solving the System II
We have a system of four equations on four unknowns.
-^
To solve it note that
(^1) C
(^1) C
(^1) C
Then:
2
μ
¶
a quadratic equation on
16
Solving the System III
We have two solutions: P
à μ
¶^2
!^0
.^5
one stable and another unstable.
-^
If we pick the stable root and
fi
nd
(^1) C^
) we have to a
system of two linear equations on two unknowns with solution:
17
General Structure of Linearized SystemGiven
m
states
x
, nt
controls
y
,^ t
and
k
exogenous stochastic processes
zt
, we have:
Ax
+t
Bx
t−
1
Cy
+t
Dz
= 0t
(t F x
t+
Gx
+t
Hx
t−
1
Jy
t+
Ky
+t
Lz
t+
Mz
) = 0t
zt t+
Nz
t
where
is of size
l×
n, l
n
and of rank
n,
that
is of size (
m
n
l)
n,
and that
has only stable eigenvalues.
19
Policy FunctionsWe guess policy functions of the form:
xt
P x
t−
1
Qz
t
yt
Rx
t−
1
Sz
t
where
and
are matrices such that the computed equilibrium is
stable.
20