BookmarkSubscribeRSS Feed
MUABer
Fluorite | Level 6

Hello,

If there were only a few outputs I could rewrite them by hand, but there are many table to do. Is there a format or function to change this output below?

Example:

I have proc phreg output with Parameter estimate is -0.003.313, and the Standard Error is 0.006.367

I need ODS rtf report output result to tables to look like the following.

̶̶  3.3 × 10-3 (6.4 × 10-3)

2 REPLIES 2
ballardw
Super User

Probably the best bet is to get the phreg output in a SAS data set. Manipulate as needed to create superscript text values and then use Proc Print/Report/Tabulate to display the results..

MUABer
Fluorite | Level 6

Thanks, I think I can do that. I am hoping for something has already been done to shorten the process.

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
  • 1500 views
  • 0 likes
  • 2 in conversation