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 |
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.