Dear Johannes,
If I would like to estimate a dsge model with no trend,(all shocks are transitory) using U.S. data, it seems that I can use following ways to detrend data(if not consider one-side hpfiler):
1. Linear/quadratic/cubic detrend
2. demeaned growth rate data.
Could I ask :
a. Are both 1 and 2 OK?
b. If 1 is Ok, how to know which is the best detrend method among linear, quadratic and cubic?
c. If use 1, can I directly compare model moments(theoretical moments) with data moments by adding stoch_simul command after estimation command? I mean that this
is Unlike hp-iltered data(you have to use hp_filter=1600 in stoch_simul block).
d. Can 1 and 2 be jointly used to detrend data? Like y c I data use cubic detrending while some others use demeaned growth rate data?
Many thanks in advance,
Kind regards,
Huan