one-sided-HP-filter in stoch_simul - how to do that?
Posted: Thu Aug 02, 2012 2:08 pm
Hi,
how can I change the dynare code to apply the one-sided HP filter in the stoch_simul command?
I have a file defining the function one-sided-HP-filter. Among the dynare files, I found a file called sample_hp_filter, so I thought that it is enough if I rename my file and function and remove the original Dynare file. But it did not work.
Where can I found the code that can be changed in a way that a one-sided HP filter is computed?
I would be very thankful for your help.
Alma
Ps By the way, does it make a huge difference for the simulated data if we apply the one-sided or double-sided filter? In the end, we always come back to the ss, so perhaps this difference is not so important.
how can I change the dynare code to apply the one-sided HP filter in the stoch_simul command?
I have a file defining the function one-sided-HP-filter. Among the dynare files, I found a file called sample_hp_filter, so I thought that it is enough if I rename my file and function and remove the original Dynare file. But it did not work.
Where can I found the code that can be changed in a way that a one-sided HP filter is computed?
I would be very thankful for your help.
Alma
Ps By the way, does it make a huge difference for the simulated data if we apply the one-sided or double-sided filter? In the end, we always come back to the ss, so perhaps this difference is not so important.