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!
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!
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.
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.