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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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