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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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