Ru
unDynareon
ntheMacroM
ModelDataBase
LiPinJuan
n
Preliiminary.........................................................................................................................................1
TheMacroecono
omicModelD
DataBase.............................................................................................3
Pre
eliminary
y
Toru
unDynare,youhavethechoiceofhavingitwork withGNUOcctaveorMatthWorksMATTLAB.
Heree,Idemonstrratetheasso
ociatedsettin
[Link]
freeOctave,youmayreferto
othewebsitee:[Link]
[Link]/documenttationand
port/quicksttart.
supp
1 AssumingyoualreadyinstallMATTLABonyourrcomputer,downloadth
1.
heDynare4.2
2
[Link]/download
d
installeratthewebsiite[Link]
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
[Link],,ifyouhaveinstalledDyn
nare4.2.5inthestandard
d
location,seleect
c:\dynaree\4.2.5\matllab
ClickOkan
ndapplythesettingbycliickingSavebutton
e. C
4 LetstesttruntheDyn
4.
[Link]
pyexample1
[Link]
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
[Link](tthefileformaatassumediinDynare)fo
orthetaskslikesolve,sim
mulate,
andestim
[Link]
getyourreadysoon.H
Hereisoneeexcellentexample:
[Link]
[Link]/~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
[Link]/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
[Link]
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,[Link],[Link]
ock
HereeistheresulttofthisHK_FFPP11:[Link]
markketwealthefffectsinaneestimatedDSSGEmodelfo
orHongKong..Economic
Mod
delling,28:31
16334,2011
1