Thank you for replying!!
I’m really sorry for the poor explanation.
Actually, we are replicating Eichenbaum, Rebelo, & Tranbandt(2020) paper.
They opened their dynare code.
I really want to attach the benchmark.mod file down.
but, I’m not sure that I can attach it without their approval.
The mod file is here!
ert_model.mod (17.2 KB)
So, I write down their homepage address.
one of their paper named [Epidemics in the Neoclassical and New-Keynesian Models],
they announced that their dynare codes should be operated only with dynare version 4.4.3.
However, we have some trouble with restricting some endogenous variables in a specific range.
For instance, if there exists an endogenous variable m_t, we want to limit the range of m_t as “m_t>=0”.
However, we could not find any method to set a lower bound to the endogenous variable in dynare version 4.4.3.
If it is not possible in dynare version 4.4.3, then, we would like to run the modified code with recent dynare version.
However, sim1 were not run properly with the recent dynare version.
How can we modify the last part of the benchmark.mod to be properly operated in recent dynare version?
I hope you see the benchmark.mod(specific location in the zip file: \ERTcodes_neo_nk\competitive\ert_model.mod).