Hello,
I am estimating a medium-scale NK model without trend. I’ve read posts in this forum about data transformation and measurement equations, as well as Johannes’ A Guide to Specifying Observation Equations for the Estimation of DSGE Models, but I still have some doubts.
I am trasforming my data, first dividing the raw data by a price deflator and a population index, second taking logs and third multiplying by 100: X_obs =100* ln( (X/def)/popindex) )
. For the interest rate (FFR): r_obs= FFR/4
. For inflation: pi_obs=ln(def_t/def_t-1)*100
.
Finally, I detrend all the data using the one-sided HP filter. My questions are:
-
Is it correct to multiply by 100 before detrending? Or, should I multiply after detrending?
-
Is it correct to also detrend inflation and the interest rate? I thought they are already stationary, but then I read in post that one could demean (or detrend?) them.
With my detrended observables, my measurement equations will look like this:
X_obs=100*x_t
, for the interest rate and inflation as well. -
Is this correct? I believe the interest rate should not be multiplied by 100, but in this case I can only estimate a couple of shocks and the obtained mode check plots are flat. When it is multiplied by 100 instead, estimation results look better.
-
Would it be correct not to multiply by 100 neither in the data, nor the model variables? In that case, the interpretation of shocks, for example, would be not percentage points, but percent, is that correct?
-
Also, could I demean instead of detrending? Would 100*( ln(X) -mean(ln(X)) ) be equivalent to my transformation above for output, consumption, etc.? For the interest rate: r_obs= FFR/4, and for inflation: pi_obs=100*( ln(def_t/def_t-1) - mean(ln(def_t/def_t-1) ) ?
Thanks to anyone who can help me.