Hi everyone
I would like to enter a finite sum in a dynare .mod file, but I don't now the syntax. I've enclosed the formula I want to use. Can anyone help me?
Thanks in advance
Ewoud
//at the beginning of the mod-file
@# define k = 1
@# define K = NumberofLags
//inside the block model
...=1/H*(
@#for k in 1: K
+ omega_@{k}*(p(@{-k})-px(@{-k}))^2
@#endfor
)
;
Users browsing this forum: Google [Bot] and 13 guests