BookmarkSubscribeRSS Feed
Jazzman
Obsidian | Level 7

Hello, I think the title says it all: I would like to store single results from PROC steps (i. e. regression coefficients, p-values ...) and display them later altogether in one table. It would also work for me just to print them as a list with annotations. The important thing here is that I need to display a large amount of results in an overseeable way.

 

I'm especially thinking of the way you can work with stored results in Stata. Every program you execute generates a number of local macros that contain the single numbers and strings that you can see in the program's output. Afterwards you can store them with custom names and after you finished all your analyses you can easily get an overview over the key outputs.

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

If you put:
ods trace on;

Before each step, and turn it off afterwards, you will see the ODS system generates a hidden table for each set of results it generates.  These can be extracted in a few ways, out= and set a dataset in some instances, in proc means for instance you can get it from:

output out=...;

But in all case you can use:

ods output <object_name>=<dataset_name>;

To store these somewhere.

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
  • 1050 views
  • 0 likes
  • 3 in conversation