I'm trying to compare different simple monetary rules within a basic 3 equation hybrid NK model:
- Code: Select all
y=alpha1*y(-1)+alpha2*y(-2)-sigma*(i(-1)-infl(+1)-r(-1))+e_y;
- Code: Select all
infl=gamma*infl(-1)+(1-gamma)*infl(+1)+kappa*y(-1)+e_infl;
- Code: Select all
ihat=phi1*ihat(-1)+phi2*(infl-infls)+phi3*y;
With the CB's preferences described as:
- Code: Select all
planner_objective lambda1*infl^2 + lambda2*y^2 + lambda3*ihat^2;
The parameters are calibrated with typical values from the literature.
I wish to run the model with different simple monetary rules (i.e. replacing the taylor rule) and find the optimal parameters for the various simple rules and also the variance and welfare loss of the system.
I am new at Dynare and have written a basic model which is attached. I just want to check whether this is along the right line.
Thanks in advance