Every run of lsmeans causes LS means to be added to Least Squares Means Table. My attempt seen below is resulting in Differences of LSmeans table not being output. ods select ModelInfo ClassLevels Dimensions Nobs Type3 CovParms FitStatistics
SolutionF Tests3 LSMeans where = (_path_ ? 'Step1');
You can create the "Differences of Least Squares Means" table in a separate PROC MIXED step. With suitable preparations, partly depending on your ODS destination, the output will look (almost) like it was created by a single PROC MIXED step.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.