trap for too many parameters to be estimated w.r.t. affected moments.
parent
664d17ba24
commit
e5c3decbc1
|
@ -80,6 +80,11 @@ if info(1)==0,
|
||||||
derivatives_info.DYss=dYss;
|
derivatives_info.DYss=dYss;
|
||||||
if init,
|
if init,
|
||||||
indJJ = (find(max(abs(JJ'))>1.e-8));
|
indJJ = (find(max(abs(JJ'))>1.e-8));
|
||||||
|
if length(indJJ)<nparam,
|
||||||
|
disp('The number of moments with non-zero derivative is smaller than the number of parameters')
|
||||||
|
disp('Either increase ar or reduce the list of estimated parameters')
|
||||||
|
error ,
|
||||||
|
end
|
||||||
indH = (find(max(abs(H'))>1.e-8));
|
indH = (find(max(abs(H'))>1.e-8));
|
||||||
indLRE = (find(max(abs(gp'))>1.e-8));
|
indLRE = (find(max(abs(gp'))>1.e-8));
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue