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-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!

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.

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
  • 725 views
  • 0 likes
  • 2 in conversation