BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PaalNavestad
Pyrite | Level 9

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
You could try option
proc nlin outest=

And you need a good initial value for parameters.
@Rick_SAS wrote a blog about it before .

View solution in original post

4 REPLIES 4
Ksharp
Super User
You could try option
proc nlin outest=

And you need a good initial value for parameters.
@Rick_SAS wrote a blog about it before .
PaalNavestad
Pyrite | Level 9

Thanks, Yes the outest has the data.

Rick_SAS
SAS Super FREQ

This article describes two methods for monitoring the convergence status of many SAS procedures, including NLIN:  "Monitor convergence during simulation studies in SAS."

 

PaalNavestad
Pyrite | Level 9

Thanks,

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1066 views
  • 2 likes
  • 3 in conversation