BookmarkSubscribeRSS Feed
cc
Calcite | Level 5 cc
Calcite | Level 5

I have previously used proc glm to compare means of 2+ groups (1-way anova) and then requested a multiple comparisons test (sheffe's or tukeys) for pairwise comparisons. However, the current data I am analyzing requires the use of proc surveyreg (sample survey data) and I'm unsure how to go about getting the pairwise comparisons I need (there are 3 levels to the variable)--is there a similar option, or how do I go about testing which pairwise comparisons are significant, if I have an overall significant F test?

Thanks very much in advance.

1 REPLY 1
SteveDenham
Jade | Level 19

Take a look at PROC MULTTEST, especially at the example adjusting p values.

Steve Denham

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1 reply
  • 2588 views
  • 0 likes
  • 2 in conversation