Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
sasguy299
Fluorite | Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions
data_null__
Jade | Level 19

I think DIFF is an alias for PDIFF which produces the same output.

 

GLM is one of the oldest PROCs I think from 1976ish.   

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

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

--
Paige Miller
sasguy299
Fluorite | Level 6
I was just confused why, if it is a valid option in glm, it isn't in the
manual.
data_null__
Jade | Level 19

I think DIFF is an alias for PDIFF which produces the same output.

 

GLM is one of the oldest PROCs I think from 1976ish.   

Season
Barite | Level 11

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.

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

What is ANOVA?

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.

Discussion stats
  • 4 replies
  • 405 views
  • 3 likes
  • 4 in conversation