- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm coding a work flow where I first try to find a decline curve using Nlin. Some by groups has bad data or do not follow a decline. I can see this from the fact that the procedure does not Converge. I can use non-convergence as flag to call different methods. Basically I just want a way to programmatically see the fact that this text is put to the output/log
WARNING: PROC NLIN failed to converge.
I would rather not have to read the log/output as text if possible.
Does anybody know of a macro/method to test for this in an easy manner?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
proc nlin outest=
And you need a good initial value for parameters.
@Rick_SAS wrote a blog about it before .
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
proc nlin outest=
And you need a good initial value for parameters.
@Rick_SAS wrote a blog about it before .
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Yes the outest has the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This article describes two methods for monitoring the convergence status of many SAS procedures, including NLIN: "Monitor convergence during simulation studies in SAS."
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,