BookmarkSubscribeRSS Feed
munitech4u
Quartz | Level 8

Hi,

I want to know how we can use the GLM or ANOVA procedure to do cross tab comparison.

e.g.

IF I have product A,B,C.D

I want ANOVA for

A vs B

A vs C

A vs D

B vs C

B vs D

C vs D

by using either of procedure listed above. What options can I use? I didn't come across such an example anywhere.

Thanks

2 REPLIES 2
PGStats
Opal | Level 21

In proc GLM, look at MEANS statement with T and CLDIFF options.

PG

PG
munitech4u
Quartz | Level 8

Though it gives the ttest for all vs all. I also need the p value for each comparison, so that I can decided upon statistical significance.

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
  • 2 replies
  • 2107 views
  • 0 likes
  • 2 in conversation