BookmarkSubscribeRSS Feed
ShufeGuoding
Obsidian | Level 7

I want to run  proc SSM many times using different parameter values and determine the best . The model performance is evaluated  based on likelihoods that are printed on screen as the part of  output after proc ssm complete it's running properly. How can i save the likelihood data on the screen as a data file to compare them?

Thanks alot !

2 REPLIES 2
Jagadishkatam
Amethyst | Level 16

ods output fitsummary=dsn;

proc ssm.......

ods output close;

Thanks,

Jagadish

Thanks,
Jag
Reeza
Super User

To capture the table you first figure out the table name, using

ods trace on;

proc ssm  ...

ods trace off;

Once you've determined the table name you can use ods table to capture it:

ods table sastablename=my_table;

proc ssm...

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1616 views
  • 0 likes
  • 3 in conversation