by kyri82 » Wed Feb 01, 2012 5:59 pm
Daniel,
The actual data you simply have to:
1. Log them
2. Take the cyclical part of the HP-filtered (log) data.
The model generated data are stationary, they are expressed as deviations from the steady-state and eventually they go back to it. Similarly, if you take the trend component out of the actual data, they are also expressed in stationary form since they represent the cyclical part only. So they are comparable.
There is a question on whether you should actually apply the HP-filter on model-generated data as well. In principle, one might say that you shouldn't since model-generated data are already de-trended, they are stationary by construction. Nevertheless, it is a common practice to take the filter over the model-generated data as well. These issues are discussed in King and Rebello (1993).
Hope that helps.