Hi there, I have a two country DSGE model. There is one equation involving foreign asset, which is nonstationary and increases at a stochastic rate. I am not sure how can I detread this. The equation is:
b_f[t]=(1 + r_f[t])*b_f[t-1] + 0.37(EX[t-1] - Q[t-1]) -0.385*IM[t-1]
where b_f is foreign asset, r_f is the foreign interest rate which is exogenous. EX, Q and IM are defined as usual. Other equations in the DSGE model are not written here.
All the variables in the system are stationary, except b_f. Apparently, I have to detrend b_f before running dynare. Dose anyone have experience to detrend this?
Any help are highly appreciated.
Regards
Yongdeng Xu