Commit e5c3decb authored by Marco Ratto's avatar Marco Ratto
Browse files

trap for too many parameters to be estimated w.r.t. affected moments.

parent 664d17ba
......@@ -80,6 +80,11 @@ if info(1)==0,
if init,
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 ,
indH = (find(max(abs(H'))>1.e-8));
indLRE = (find(max(abs(gp'))>1.e-8));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment