BookmarkSubscribeRSS Feed
aecar21
Calcite | Level 5

Is there a way to produce extremely specific output into tables using a macro for a proc mixed command? From the proc mixed results, all that I need is a portion of the "Solution for Fixed Effects" table, with only the estimate and the upper and lower values for the first predictor. If possible, it would be amazing if all of the specified values for each of the predictors in the iterations were compiled into the same table as output. Not sure if I'm asking SAS to do too much, but I would appreciate any advice! 

1 REPLY 1
Reeza
Super User

You can capture the table and make the output you want by manipulating the data. This is commonly done, you can find many examples on Lexjansen.com and instructions/tutorial in the blog post below. 

https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html

 


@aecar21 wrote:

Is there a way to produce extremely specific output into tables using a macro for a proc mixed command? From the proc mixed results, all that I need is a portion of the "Solution for Fixed Effects" table, with only the estimate and the upper and lower values for the first predictor. If possible, it would be amazing if all of the specified values for each of the predictors in the iterations were compiled into the same table as output. Not sure if I'm asking SAS to do too much, but I would appreciate any advice! 


 

 

 

 

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
  • 1 reply
  • 320 views
  • 0 likes
  • 2 in conversation