Hi,
I don't see the 'diff' option in the manual for the LSMEANS statement in PROC GLM yet, before I realized that this was the case, I was able to run LSMEANS using 'diff' and for some reason SAS still outputted the differences in means. Do you know what is going on?
Thanks
I think DIFF is an alias for PDIFF which produces the same output.
GLM is one of the oldest PROCs I think from 1976ish.
@sasguy299 wrote:
I don't see the 'diff' option in the manual for the LSMEANS statement in PROC GLM yet, before I realized that this was the case, I was able to run LSMEANS using 'diff' and for some reason SAS still outputted the differences in means.
Confusing description. You was you ran LSMEANS using 'diff' and SAS still showed the differences in mean. What is the problem?
In any event, show us the code you ran and the output you got.
I think DIFF is an alias for PDIFF which produces the same output.
GLM is one of the oldest PROCs I think from 1976ish.
SAS Help is not perfect. For instance, months ago, I wanted to import a multi-sheet Excel spreadsheet into SAS and was stuck on how to import the data on different sheets to different datasets automatically. Lots of efforts were spared, but I finally came to know in SAS Community that there is a SHEET statement in PROC IMPORT that can do the job (Re: Import and merge multiple sheets from excel). However, that statement is not present in the documentation of PROC IMPORT. So SAS Help is a good manual to rely on, but sometimes information from other sources like SAS Community is also indispensable.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.