Hi all,
I’m running into weird IRFs in my closed-economy NK DSGE (Rotemberg prices, indexation, Taylor rule with smoothing, capital, AR(1) log-shocks, etc.). My impulses to a 25 bp rate hike are too sharp, interest rate actually falls on impact, and converge monotonically, and inflation troughs in 1–2 quarters rather than 3–6.
I’ve realized that inside my model; … end; block I mix level equations and explicit logs. For example:
// production in levels
y = a * k(-1)^alpha * n^(1-alpha);
// “gap” defined as growth in logs
x = log(y) - log(y(-1));
// Taylor rule in part-log, part-level
i = rho_i * i(-1)
+ (1 - rho_i)*(phi_pi*log(pi) + phi_x*x)
+ eta_i;
// AR(1) TFP in logs
log(a) = rho_a * log(a(-1)) + eps_a;
- Does Dynare’s linearization “see” these mixed units as inconsistent, so that IRFs get mis-scaled/falsely signed?
- If so, what’s the cleanest way to avoid it? (Rewrite all equations in logs?)
- Are there any standard diagnostics or warnings I’m missing that would flag this mix in the
modelblock?
I’d appreciate any guidance (or references) on best practice here, thanks!
nk_v4.mod (4.3 KB)