DSGE
DSGE
Outline
What is DSGE?
Basic building blocks of the model
Using Dynare
Outline Basic DSGE Further readings Dynare
Outline
What is DSGE
Baseline framework
Budget constraint
1 + it
U 0 (Ct ) = βEt U 0 (Ct+1 )
1 + π t +1
1
wt = x̂t
α
where
αω
x̂t = (π̂t − βEt π̂t+1 )
(1 − ω )(1 − βω )
This is known as the New Keynesian Philips curve or the
Forward-looking Philips curve.
Outline Basic DSGE Further readings Dynare
iˆt = δπ̂t + νt
Outline Basic DSGE Further readings Dynare
Dynare
As a Modeler...
What Dynare do
Dynare environment
Labeling block:
Endogenous variables written in ”var”
Exogenous variables written in ”varexo”
parameters written in ”parameters”
Parameter values block: Assign values to parameters
You may also find it useful to give some parameter
transformations. e.g. beta is a parameter, and you define
steady state real interest rate: rr = 1/beta − 1
Outline Basic DSGE Further readings Dynare
Dynare environment
Model block:
The model block starts with
model;
and ends with
end;
Between ’model’ and ’end’ you write down the necessary
equations:
defining the dynamic equilibrium of the model firstorder
conditions
constraints
Remember: you need as many equations as there are
variables
Outline Basic DSGE Further readings Dynare
Dynare environment
Linearization
Initialization block
shock;
var a;
we shock only one ’variable’ (the TFP shock a)
stderr 0.007; the standard error of the TFP shock is 0.007.
If there are several shocks, say e z and e c, you have to be
more careful: stderr e z0.007; stderr e c0.002;
More generally, if there are several shocks, you may want to
give the variance-covariance matrix of the shocks;
Outline Basic DSGE Further readings Dynare
Dynare output
Configuration message
Outline Basic DSGE Further readings Dynare
Model summary
Outline Basic DSGE Further readings Dynare
Shock co-variance
Outline Basic DSGE Further readings Dynare
Theoretical moments
Outline Basic DSGE Further readings Dynare
Correlation Matrix
Outline Basic DSGE Further readings Dynare
Autocorrelation
Outline Basic DSGE Further readings Dynare
Storing Output