Help using Base SAS procedures

Warning Message in Proc Logistic's Log-> "Some plots have more than 5000 observations ....."

Accepted Solution Solved
Reply
Super Contributor
Posts: 381
Accepted Solution

Warning Message in Proc Logistic's Log-> "Some plots have more than 5000 observations ....."

Hello eveyone,

 

Due to my project, I use Proc Logistic frequently, however, when I execute the procedure, I always get the following Warning message and I want to prevent this.

 

1st-> What can be the reason for?

2nd-> How can I prevent my log?

 

WARNING: Some plots have more than 5000 observations and are suppressed. Specify the PLOTS(MAXPOINTS=NONE) option in the PROC
LOGISTIC statement to display the plots.
WARNING: The effect plots have more than 5000 observations; the observations are suppressed. Specify the PLOTS(MAXPOINTS=NONE)
option in the PROC LOGISTIC statement to display the observations.

 

I'd like to state that I work with millions data.

 

Can anybody help me, please?

 

Thank you


Accepted Solutions
Solution
‎08-02-2016 09:06 AM
SAS Super FREQ
Posts: 3,478

Re: Warning Message in Proc Logistic's Log-> "Some plots have more than 5000 observations ..

You can combine the options:

proc logistic ... plots(only  maxpoints=none)=roc;

 

View solution in original post


All Replies
Super User
Posts: 17,840

Re: Warning Message in Proc Logistic's Log-> "Some plots have more than 5000 observations ..

What happens when tried the suggested options? 

 

WARNING: Some plots have more than 5000 observations and are suppressed. Specify the PLOTS(MAXPOINTS=NONE) option in the PROC LOGISTIC statement to display the plots.

Super Contributor
Posts: 381

Re: Warning Message in Proc Logistic's Log-> "Some plots have more than 5000 observations ..

Hello @Reeza,

 

Normally, I wrote this statement as PLOTS(ONLY)=ROC but I'm not sure whether PLOTS(MAXPOINTS=NONE) has any affect the results.

 

Ods Graphics On;
Ods Output ResponseProfile=Res_&Suffix. Association=Roc_&Suffix. ParameterEstimates=Err_&Suffix.;
PROC LOGISTIC DATA=&Dataset. /*PLOTS(ONLY)=ROC*/ PLOTS(MAXPOINTS=NONE);
Ods Select ROCCurve ;
MODEL &Target. (Event = "1")=&P_Target./SELECTION=NONE LINK=LOGIT;
RUN;
QUIT;
Ods Output Close;
Ods Graphics Off;

After I wrote the statement then I get the following error, what about this how I can prevent this Warning message.

 

WARNING: Output 'ROCCurve' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also,

         verify that the appropriate procedure options are used to produce the requested output object.  For example, verify that

         the NOPRINT option is not used.

 

Thank you

Super User
Posts: 17,840

Re: Warning Message in Proc Logistic's Log-> "Some plots have more than 5000 observations ..

[ Edited ]

That's weird, your code doesn't show a request for that table which is where you'd see the error. 

 

You can probably specify both maxpoints and roccurve, I don't see any reason why they would be mutually exclusive. 

 

Edit: oh, you've placed it after your proc logistic. At any rate, still try specifying both. 

Solution
‎08-02-2016 09:06 AM
SAS Super FREQ
Posts: 3,478

Re: Warning Message in Proc Logistic's Log-> "Some plots have more than 5000 observations ..

You can combine the options:

proc logistic ... plots(only  maxpoints=none)=roc;

 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 388 views
  • 3 likes
  • 3 in conversation