Calibration & steady state

Did you check whether the signs match? Is there dynamics to return debt to the non-binding regime?

  1. Yes, I assume that as P_N (relatives prices picks up following an interest rate shock): Firms profit increase and demand for labor increase leading to an increase in the non tradable GDP (This mechanism is clear in Nonbinding case-attached), this process continues until GDP become high enough to relax the binding constraint)

  1. The complementary slackness condition requires \mu_t \ (D_t +\phi*(W_t*N_t + \pi_t)) = 0.

I have implemented this in Dyane as follows:
[name=‘Borrowing Constraint eq8’, relax=‘occ’]
mu = 0;

[name=‘Borrowing Constraint eq8’, bind=‘occ’]
D = -phi*(W*N + ppi);

and then declared:

occbin_constraints;
name ‘occ’; bind D <= -phi*(W*N+ppi);
end;

If this is the right way to set up the occasionally binding constraint, then how \mu is determined when the constraint is active ?

@jpfeifer any advise please whether I am implementing occbin constraint part right in dynare ? (part 2 above) I am attaching an updating version of the code .

SuddenStopSGU_steadystate.m (4.4 KB)
SuddenStopSGU.mod (8.0 KB)

The implementation looks correct.

Thank you !

SuddenStopSGU.mod (7.5 KB)
SuddenStopSGU_steadystate.m (4.4 KB)

@jpfeifer Hi again,

I continued investigating the code, the model works fine when the borrowing constraint does not bind i.e. \phi > 1.9, but when \phi=1.9 or less, IRF graph diverges and does not revert to baseline scenario although Steady state and Bk condition all are fine. Any advise where to investigate or where I might messed up ?

One thing I have suspected I messed up with is the definition of the shocks. In Mendoza (2002), shocks process for tradable endowment is e^{\epsilon^{T}_t}, productivity shock A_t=Ae^{\epsilon^{N}_t}, and interest rate shock e^{\epsilon^{R}_t} are all Markov process. If I imposed the productivity shock as: \epsilon^{N}_t =log{Z_t}=\rho*{log(Z_{t-1})}+\epsilon_t (to allow for a productivity shock today to have an effect on tomorrow’s production too) while the other two shocks \epsilon^{T}_t and \ \epsilon^{R}_t are iid~(0,\sigma^2) then it would affect model’s return mechanism to non-binding case ?

An AR1 process is a Markov process. Your IRFs suggest that, once you enter the binding regime, the model explodes instead of converging back to the non-binding regime. You need to find out why. Have you tried just running the model for the binding regime?

Thank you prof.

Yes and this is what is puzzling me. I have tried to run the binding scenario alone using -stoch_simul- and it behaves perfectly well and returns to its steady state. Please see the binding case results.

bind.mod (3.9 KB)

Hi Prof.,

I used Mendoza’s (2002) calibration values and I I get below simulation results with ossiilating results before model converges. The BK condition is satisfied but one of the stable eigenvalues is near 1 (0.997) with no complex eigenvalues and I have doubled check the timing convention where only debt is predetermined in the model.

When the model is solved for relaxed borrowing, simulation results are reasonable and converge smoothly. Only when the binding constraint is active, then simulation results ossiliiates. Please note that the behavior of the simulation after oscillation phase is the correct for all variables except for debt.

Also whenever I amend the \delta: elasticity of labor supply then the labor supply equation becomes indeterminate (complex) .

Any advise if possible ?

SuddenStopSGU.mod (5.6 KB)
SuddenStopSGU_steadystate.m (4.4 KB)