NaN values in deterministic simulation
Posted: Sat Aug 16, 2014 4:04 pm
Dear all,
I am working for my master thesis to a simple RBC model with government.
The purpose of the model, which is calibrated for Italy, is to produce a deterministic simulation of 20 periods (from 1989 to 2009) where exogenous variable such as Gov Consumption, Gov. Transfers, Tax rates are feeded in with their historical values and to study the trend of the main endogenous variable which is government debt. The scope is to see how well the model-produced government debt time series fits the (actual) time series of the Italian government debt.
My problem is that, when I launch the code in Dynare (4.3.3), I face the following situation: the program is able to calculate the SS, the rank condition is satisfied and the convergence is obtained. But apart from the SS, the values for all the endogenous like “y” (output), “b” (government debt) along the simulation are NaN (except for the first and last values which reflect the initial and terminal conditions). I don’t understand why this is happening neither I have found something analogous in the other posts.
I attach in the following my .mod file. I would be extremely grateful, if anyone could help me.
Mattia
I am working for my master thesis to a simple RBC model with government.
The purpose of the model, which is calibrated for Italy, is to produce a deterministic simulation of 20 periods (from 1989 to 2009) where exogenous variable such as Gov Consumption, Gov. Transfers, Tax rates are feeded in with their historical values and to study the trend of the main endogenous variable which is government debt. The scope is to see how well the model-produced government debt time series fits the (actual) time series of the Italian government debt.
My problem is that, when I launch the code in Dynare (4.3.3), I face the following situation: the program is able to calculate the SS, the rank condition is satisfied and the convergence is obtained. But apart from the SS, the values for all the endogenous like “y” (output), “b” (government debt) along the simulation are NaN (except for the first and last values which reflect the initial and terminal conditions). I don’t understand why this is happening neither I have found something analogous in the other posts.
I attach in the following my .mod file. I would be extremely grateful, if anyone could help me.
Mattia