I'm estimating the SW2007 model with a slight alteration to the consumption equation. To obtain the new parameters for this alternation, I just estimated a simple OLS regression and used the coefficients from that as parameter values. However, when I run the model in Dynare, I get the following error:
Error in computing likelihood for initial parameter values
??? Error using ==> print_info at 49
The Jacobian matrix evaluated at the steady state contains elements that are not real or are
infinite
Error in ==> initial_estimation_checks at 101
print_info(info, options_.noprint)
Error in ==> dynare_estimation_1 at 122
initial_estimation_checks(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);
Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});
Error in ==> test_wealth at 516
dynare_estimation(var_list_);
Error in ==> dynare at 120
evalin('base',fname) ;
49 error(['The Jacobian matrix evaluated at the steady state contains elements ' ...
I have tried altering the initial parameter values, but it still makes no difference. Would I need to estimate an external steady state file? Or is there anything that I could do to get the model to run.
The .mod file is attached.
Thanks for your help.
Sashe86