by amilaa » Tue Nov 03, 2015 5:18 pm
Thanx for the advice, I had corrected that but still it results in below error, Hope you can advice on that as well. I have attached amended mod file as well. Really appreciate your help.
An infinite element was encountered when trying to solve equation(s) 7
with respect to the variable(s): w.
The values of the endogenous variables when the problem was encountered were:
v 0.8
c 1.9
b 0.7
l 1
m 0.4
w 0.8
p 0.2
b_b 0.9
h 0.2
Error using lnsrch1 (line 71)
Some element of Newton direction isn't finite. Jacobian maybe singular or there is a
problem with initial values
Error in solve1 (line 107)
[x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,varargin{:});
Error in dynare_solve (line 150)
[x,info]=solve1(func,x,j1(r(i):r(i+1)-1),j2(r(i):r(i+1)-1),jacobian_flag, ...
Error in evaluate_steady_state (line 66)
[ys,check] = dynare_solve([M.fname '_static'],...
Error in steady_ (line 54)
[steady_state,params,info] =
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
Error in steady (line 81)
[steady_state,M_.params,info] = steady_(M_,options_,oo_);
Error in hh (line 198)
steady;
Error in dynare (line 180)
evalin('base',fname) ;
- Attachments
-
- hh.mod
- mod file
- (882 Bytes) Downloaded 53 times