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

Hello,

I am running Proc Quantreg for the first time.  I want to get the confidence intervals for the “process plot” of the intercept and slope parameters vs. the quantiles. SAS ver. 9.4 produces an output table that contains the intercept and slope parameters with the quantiles.  I would like to also get the data used to show the confidence intervals that are shown in the example plots in Fig.77.10  for the example shown in the help.  I have looked in the OUTEST and “OUTPUT out = “ statements and options but cannot see that it can be done. Is this not possible?  Has anyone been able to save the confidence limits from the process plots?  I would like to export them as an ascii file using a file statement in a Data step.

 

Thank you for any suggestions.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

It's ODS OUTPUT tables that you're looking for. 

Use ODS TRACE to see the names of what, see example below. 

 

ods trace on;
*your code goes here;
proc means data=sashelp.class;
run; ods trace off;

 The log shows the table name is summary so I can use ODS OUTPUT to capture the tables. The names for the graphs will also produce the data. 

 

proc means data=sashelp.class;
ods output summary=want;
run;

View solution in original post

2 REPLIES 2
Reeza
Super User

It's ODS OUTPUT tables that you're looking for. 

Use ODS TRACE to see the names of what, see example below. 

 

ods trace on;
*your code goes here;
proc means data=sashelp.class;
run; ods trace off;

 The log shows the table name is summary so I can use ODS OUTPUT to capture the tables. The names for the graphs will also produce the data. 

 

proc means data=sashelp.class;
ods output summary=want;
run;
bmac
Calcite | Level 5

Thank you Reeza for your helpful and prompt reply.  It helped a lot and I have been able to get the data exported.

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 Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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