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

Hi Everyone,

I run the following regression and extract the results into 2 table report1 and report2.

It takes very long time and I think it is caused by the Result Viewer where SAS tries to all regression graph for each By Group.

Could you please tell me if I can add any condition to stop the Result Viewer printing and still get the report I want?

When I try the NoPRINT option, report1/2 are not created.

Thank you.

HHC

proc reg data=data6a ;

ods output ParameterEstimates=report1(drop=df);

ods output FitStatistics=report2;

by yq0 ;

model ab3_ret12 =  cbr_s;

run;

NOTE: The above message was for the following BY group:

      yq0=200101

WARNING: ODS graphics with more than 5000 points have been suppressed. Use the PLOTS(MAXPOINTS= ) option in the PROC REG

         statement to change or override the cutoff.

1 ACCEPTED SOLUTION

Accepted Solutions
hhchenfx
Barite | Level 11

ODS GRAPHICS OFF;

proc reg data=data6a ;

ods output ParameterEstimates=report1(drop=df);

ods output FitStatistics=report2;

by yq0 ;

model ab3_ret12 =  cbr_s;

run;

View solution in original post

2 REPLIES 2
hhchenfx
Barite | Level 11

ODS GRAPHICS OFF;

proc reg data=data6a ;

ods output ParameterEstimates=report1(drop=df);

ods output FitStatistics=report2;

by yq0 ;

model ab3_ret12 =  cbr_s;

run;

Rick_SAS
SAS Super FREQ

ods graphics off;
ods exclude all; /* all open destinations */
ods results off; /* no updates to tree view */

proc reg
   ...;
quit;

ods graphics on;
ods exclude none;
ods results on;

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 495 views
  • 0 likes
  • 2 in conversation