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?
Take a look at PROC MULTTEST, especially at the example adjusting p values.
Steve Denham
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.
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.