Help using Base SAS procedures

how do I save quantile regression process output (eg, confidence intervals)

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

how do I save quantile regression process output (eg, confidence intervals)

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.


Accepted Solutions
Solution
‎05-02-2016 08:46 AM
Super User
Posts: 19,869

Re: how do I save quantile regression process output (eg, confidence intervals)

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


All Replies
Solution
‎05-02-2016 08:46 AM
Super User
Posts: 19,869

Re: how do I save quantile regression process output (eg, confidence intervals)

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;
New Contributor
Posts: 2

Re: how do I save quantile regression process output (eg, confidence intervals)

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

☑ This topic is solved.

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

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