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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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