SMM Dynare Toolbox with Binomial draws

Dear Willi,

I wonder whether it is possible to specify HP filtered moments in the “matched_moments” block of the code. I have tried to define the hpfilter command as an external function but this approach does not seem to work.

Moreover, I am confused on whether the stoch_simul output (activating the hp filter option) may help me on this.

Any thought would be very helpful. Thanks!!!