Hello everybody,

I have a model , that I attach the file,and now I want to examine my model once with unanticipated shock epsilonm=-gammap*infl-gammayg*yg-rho*m(-1)-gammao*po for periods t=1 to 4

and for other periods this shock is :epsilonm=rhom*epsilonm(-1)+epsah
my model with anticipated shock :
epsilonm=0 for t=1 to 4
epsilonm=rhom*epsilonm(-1)+epsah for other periods

but I don’t know how do I write this equation in dynare? and where do I write this equation in dynare?

calib7.mod (6.27 KB)