by monsoon » Fri Mar 04, 2016 6:13 am
Attached is a sticky price version of the same model. Wondering why c_p is zero while all the determinants of c_p (w_d and m_h) are non-zero. Also there is a problem with equation 25 which I could not figure out. All initial values are in place except for c_p. Any ideas would be helpful. Following are the results.
An infinite element was encountered when trying to solve equation(s) 25
with respect to the variable(s): x2.
The values of the endogenous variables when the problem was encountered were:
c_i 3
r_d 0.001001
r_b 0.04221
R_d_hat 0.02168
R_b_hat 0.02013
r_d_hat 0.0163
pi 1
n 1
m_h 0.1125
c_p 0
d 1.006
b 1.006
w_f 2.5
w_d 3.363
q_h 1.311
h 1
y 3
z_e 3
z_d 3
z_b 3
eps_z 3
eps_l 3
eps_d 4.03
eps_b 5.261
eps_y 6
x1 1.33
x2 1.235
t_p 0.1667
x 1.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{:});
- Attachments
-
- sticky_fi.mod
- (6.71 KiB) Downloaded 61 times