The SAS Output Delivery System and reporting techniques

How to save the information printed in the screen such as the FitSummary as a data file.

Reply
Contributor
Posts: 22

How to save the information printed in the screen such as the FitSummary as a data file.

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 !

Trusted Advisor
Posts: 1,137

Re: How to save the information printed in the screen such as the FitSummary as a data file.

Posted in reply to ShufeGuoding

ods output fitsummary=dsn;

proc ssm.......

ods output close;

Thanks,

Jagadish

Thanks,
Jag
Super User
Posts: 19,770

Re: How to save the information printed in the screen such as the FitSummary as a data file.

Posted in reply to ShufeGuoding

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

Ask a Question
Discussion stats
  • 2 replies
  • 359 views
  • 0 likes
  • 3 in conversation