You are misrepresenting what I said. To estimate model parameters using Bayesian techniques, you must not use two-sided filters. However, when comparing moments from the estimated model to the data, you are not restricted by such considerations. You just need to be consistent in comparing processed data to the same object from the model. The particular processing choice is up to you. The most common one is to compute growth rates in the data to growth rates from the model or HP-filtered data to HP-filtered variables from the model.
Sidenote: the filtered_variables command does not conduct filtering of the data, but provides you with one-step ahead forecasts.
If you are willing to not consider the full posterior distribution, you can use
- Code: Select all
stoch_simul(order=1, hp_filter=1600);
after estimation and compare the moments to HP-filtered data.