Sunteți pe pagina 1din 4

Ru

unDynareon
ntheMacroM
ModelDataBase
LiPinJuan
n
Preliiminary.........................................................................................................................................1
TheMacroecono
omicModelD
DataBase.............................................................................................3

Pre
eliminary
y
Toru
unDynare,youhavethechoiceofhavingitwork withGNUOcctaveorMatthWorksMATTLAB.
Heree,Idemonstrratetheasso
ociatedsettin
ngwiththeseecondchoicee.Fortheinsstallationoftthe
freeOctave,youmayreferto
othewebsitee:http://ww
ww.dynare.org/documenttationand
port/quicksttart.
supp
1 AssumingyoualreadyinstallMATTLABonyourrcomputer,downloadth
1.
heDynare4.2
2
ww.dynare.org/download
d
installeratthewebsiitehttp://ww
2 DoublecclickontheD
2.
Dynareinstallerandfollow
wtheinstrucctions.
3 RunMATTLABandcon
3.
nfigureMATLLABforDynaare:
a. C
ClickontheM
MATLABFileemenu
b. C
ClickontheSetPathm
menuentry
c. C
ClickontheAddFolder
button.
d. IInthepopup
pdialogwind
dow,selectthematlab subdirectoryyofyourDyn
nare
iinstallation.FForexample,,ifyouhaveinstalledDyn
nare4.2.5inthestandard
d
location,seleect
c:\dynaree\4.2.5\matllab
ClickOkan
ndapplythesettingbycliickingSavebutton
e. C
4 LetstesttruntheDyn
4.
nareout.Cop
pyexample1
1.modfromtthesubdirecttoryofdynarre
installation,C:\dynarre\4.2.5\exam
mplestoarbitraryworkin
ngfolderyou
ucreate,say,the
folderisondesktop
5 Setthew
5.
workingdirecctorytodeskktop

6 Typetheefollowingto
6.
oruntheexaamplemodelfile
Dynareexxample1

7 Thenyou
7.
uwouldobtaainthefollow
wingresult(Ionlyshowth
hefiguresof
f theexamplee1)

Note:Ifyyouknowho
owtouseMA
ATLAB,itwilltakeyoujusstafewminu
utestogetagripof
howtoeedita.mod(tthefileformaatassumediinDynare)fo
orthetaskslikesolve,sim
mulate,
andestim
mateaDSGEmodel.TherrearelotsoffshorttutorialpublishedontheInterrnetto
getyourreadysoon.H
Hereisoneeexcellentexample:
http://nd
d.edu/~esims1/using_dynare.pdf

The
e Macroe
economicc Model D
Data Base
e
The Macroeconomic Model D
Data Base is a
an archive of macroecon
nomic models
s based on the
computational platform of MA
ATLAB (emb
bedded with Dynare) thatt provides va
arious tools ffor
syste
ematic mode
el compariso
on.

1. First,reggisterfordow
1
wnloadviahtttp://www.m
macromodelb
base.com/reggister
2 Followth
2.
heinstructiontodownloaadMacroMo
odelDataBaasesoftwareversion1.2ffor
Dynare4
4.2(thefilenaameisMMB
B_1_2_Dyn4.zzip)
3 Extractthezipfiletoretrievethefoldercalled
3.
dMMBonan
nyplaceyoulike,andadjjust
Btothepathwherethem
mainfile,MM
MB.m,islocatted
theworkkingdirectoryyofMATLAB

4 Clickingo
4.
onEnter,aaftertypeintthecomman
ndline(notethattheproggramiscase
sensitivee)
MM
MB
5 Youwou
5.
uldseeauserrinterfacepo
opupthatw
willguideyouthrougham
menuofoptio
ons
fromwhichyoucancchoose.Hereeisanexamp
ple:
ChooseapollicyruleTaylor(1993)
a. C
b. C
Choosethem
modelsyouw
wouldliketopickHK_FFPP11continue
c. D
Doyouwanttoplotauto
ocorrelationffunctionsyyes
d. D
Doyouwanttoplotimpu
ulseresponseefunctions
yes
e. D
Doyouwanttoshocksevveralinnovattionscontem
mporaneouslyyyes
f. C
Choosethesshocksyouw
wouldliketop
pickepsa
continue
g. D
Doyouwanttoplotinterrestrate,inflation,outpu
utgroupandoutputorall
vvariablesseelectvariablees
h. D
Doyouwanttoprintouttheuncondiitionalvarian
ncesofthevaariablesno
o

unke,M.Paetz,andE.Pyttlarczyk.Sto
ock
HereeistheresulttofthisHK_FFPP11:M.Fu
markketwealthefffectsinaneestimatedDSSGEmodelfo
orHongKong..Economic
Mod
delling,28:31
16334,2011
1