Means with the same letter are not significantly different. | |||
---|---|---|---|
t Grouping | Mean | N | Sex |
A | 108.950 | 10 | M |
A | |||
A | 90.111 | 9 | F |
Hi all! I'm trying to run an ANOVA that models a continuous variable based on a categorical variable. For some reason, the SAS output is not including the means & pairwise comparisons. I know my code is right; I've run it on SAS on a different computer and it gives me all the proper output. It just doesn't seem to be working on my particular machine. Am I missing something? For reference, here's my code:
PROC ANOVA DATA = work.file3;
CLASS DMDEDUC;
MODEL CFDRIGHT = DMDEDUC;
MEANS DMDEDUC / LSD;
RUN;
Thanks!
Can you show us the SASLOG? Can you show us the output? Can you show us (part of) the data used?
Here are screen shots of the SASLOG and all the output. The data was compiled from pieces of the NHANES data set, unfortunately I can't share the dataset since it was compiled by my professor and not myself (this is a class assignment).
How did you move the data to the other computer? Am wondering if how you did that may have actually changed any values.
Specify a ANOVA method. PROC ANOVA DATA = sashelp.class; CLASS sex; MODEL weight = sex; MEANS sex / TUKEY; quit;
Sorry, my mistake for not specifiying in my original post. I tried using both the LSD and BON methods (this was for a class homework assignment, these are the two the professor suggested we use). Neither resulted in pairwise comparisons showing.
Hey, I saw this in the output.
Is that what you are looking for ?
Means with the same letter are not significantly different. | |||
---|---|---|---|
t Grouping | Mean | N | Sex |
A | 108.950 | 10 | M |
A | |||
A | 90.111 | 9 | F |
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 the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.