Minimizing negative welfare
Posted: Mon Sep 30, 2013 4:41 pm
I am getting that message when I am minimizing the negative welfare of the representative agent.
??? Reference to non-existent field 'eigval'.
Error in ==> check at 80
eigenvalues_ = dr.eigval;
Error in ==> welfare4_loop_det at 333
oo_.dr.eigval = check(M_,options_,oo_);
Error in ==> cond_welfare at 30
welfare4_loop_det
Error in ==> fminsearch at 265
x(:) = y; f = funfcn(x,varargin{:});
Error in ==> max_cond_welfare at 46
[bigtheta_star,condwelfare_star] = fminsearch('cond_welfare',bigtheta_start,options);
How can I solve the problem?
Thanks,
Boniface
??? Reference to non-existent field 'eigval'.
Error in ==> check at 80
eigenvalues_ = dr.eigval;
Error in ==> welfare4_loop_det at 333
oo_.dr.eigval = check(M_,options_,oo_);
Error in ==> cond_welfare at 30
welfare4_loop_det
Error in ==> fminsearch at 265
x(:) = y; f = funfcn(x,varargin{:});
Error in ==> max_cond_welfare at 46
[bigtheta_star,condwelfare_star] = fminsearch('cond_welfare',bigtheta_start,options);
How can I solve the problem?
Thanks,
Boniface