Two warnings
Posted on
wanlin
Joined: 10/28/2009
Forums
Dear developers,
I am new in openMX. when i tried some tests for the twin Data using ACE model, i found the following two warnings,
1: In model 'twinACE' NPSOL returned a non-zero status code 1. The final iterate satisfies the optimality conditions to the accuracy requested, but the sequence of iterates has not yet converged. NPSOL was terminated because no further improvement could be made in the merit function (Mx status GREEN).
2: In model 'twinSAT' NPSOL returned a non-zero status code 6. model does not satisfy the first-order optimality conditions to the required accuracy, and no improved point for the merit function could be found during the final linesearch (Mx status RED)
I am new in openMX. when i tried some tests for the twin Data using ACE model, i found the following two warnings,
1: In model 'twinACE' NPSOL returned a non-zero status code 1. The final iterate satisfies the optimality conditions to the accuracy requested, but the sequence of iterates has not yet converged. NPSOL was terminated because no further improvement could be made in the merit function (Mx status GREEN).
2: In model 'twinSAT' NPSOL returned a non-zero status code 6. model does not satisfy the first-order optimality conditions to the required accuracy, and no improved point for the merit function could be found during the final linesearch (Mx status RED)
Is it means that the results i obtained is not correct? Is it related to my twin data?
thanks
wanlin
The first warning was from a
The second model is a "code red". This is more serious and you should stop and think. This model has not converged and there is very likely a problem either with (a) the starting values, (b) the model, (c) the data, or (c & d) the match between the model and the data. You may want to rethink the model you are using to fit your data. Look at the model parameters that were returned. You may well find strange things going on like negative residual variances. Constraints sometimes help, or it may be that your model is empirically underidentified.
Log in or register to post comments
In reply to The first warning was from a by Steve
Thank you very much. I
Log in or register to post comments
In reply to Thank you very much. I by wanlin
It should not be necessary to
rerunmodel<-mxRun(mxRun(mymodel))
is one way to re-run from solution. Note also that rerunning like this sometimes generates code greens of its own. Using the homepage model there was no warning code the first run, but there was a warning the second time (which of course was from starting values pretty much at the solution).
> run2<-(mxRun(mxRun(factorModel)))
Running One Factor
Running One Factor
Warning message:
In model 'One Factor' NPSOL returned a non-zero status code 1. The final iterate satisfies the optimality conditions to the accuracy requested, but the sequence of iterates has not yet converged. NPSOL was terminated because no further improvement could be made in the merit function (Mx status GREEN).
Finally, don't be surprised if the code RED solution is actually the right answer as well. Such warnings should be heeded, but they may be false positives.
Log in or register to post comments