HP Filter simulated variables

An HP filter does not only remove a trend, it removes all the frequencies under a threshold level (determined by the value of \lambda. So if you want to compare the simulated and sample data over the same range of frequencies, you need to filter the simulated data.

Best,
Stéphane.