Ad-hoc IMF Model of the Canadian Economy

Hi everyone, this is my first time using Dynare (or estimating a macro-model) and I am trying to replicate an IMF Working Paper ad-hoc model of the Canadian econonmy.

I have written out a mod-file but it stops working at the initial value stage telling me I have a syntax error at line 34. Attached is the modfile.

Any help would be much appreciated.
CDNECON2.mod (1.56 KB)

Variable RRgap isn’t defined in your *.mod file



Thanks Michel - something I should have seen, too much time staring at the script I guess.

Much appreciated.