Hi everyone,
I’m working with a non-linear NK DSGE model where the model’s output variable y_t is stationary.
My dataset contains Real GDP in levels (billions of USD, from FRED), which is obviously non-stationary.
I know I can’t just feed the model GDP in levels, so I was thinking of transforming it.
My question is:
- Is it fine to take the log difference of Real GDP in the data (i.e. ln(Y_t) – ln(Y_{t-1})) and then use an observation equation in the .mod file:
y_obs = log(y) - log(y(-1));
so that the observed series matches the model variable’s transformation?
In other words, I’d be telling Dynare: “I took the levels of Real GDP, log-differenced them, and this corresponds to my model’s output growth.”
Is this approach correct for a non-linear model, or does it create problems for estimation?
Thanks in advance