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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1069 views
  • 0 likes
  • 2 in conversation