Error Using steady_state_model Command
Posted: Wed Mar 30, 2016 11:09 pm
Hi all,
I have a deterministic growth model with two sources of growth: TFP and population. I detrended the model by hand and created a .mod file to simulate the detrended model. The code is attached. I'm using the steady_state_model command to calculate the steady state of the model. Regarding this command and determinist models, on page 34 of the manual is written the following:
When I do this, the following error happens:
If I comment the steady command after the initval block, then the code runs. However, the final steady state is equal to the values of the initval block, not equal to the values calculated by the steady_state_model command.
Please, someone help me with this issue!
Best to all!
I have a deterministic growth model with two sources of growth: TFP and population. I detrended the model by hand and created a .mod file to simulate the detrended model. The code is attached. I'm using the steady_state_model command to calculate the steady state of the model. Regarding this command and determinist models, on page 34 of the manual is written the following:
steady_state_model block works also with deterministic models. An initval block and, when necessary, an endval block, is used to set the value of the exogenous variables. Each initval or endval block must be followed by steady to execute the function created by steady_state_ model and set the initial, respectively terminal, steady state.
When I do this, the following error happens:
- Code: Select all
??? Error using ==> print_info at 72
The steadystate file did not compute the steady state
Error in ==> resid at 112
print_info(info,options_.noprint, options_)
Error in ==> steady at 90
resid;
Error in ==> code2 at 138
steady;
Error in ==> dynare at 180
evalin('base',fname) ;
If I comment the steady command after the initval block, then the code runs. However, the final steady state is equal to the values of the initval block, not equal to the values calculated by the steady_state_model command.
Please, someone help me with this issue!
Best to all!