BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello all,

I am new in statistics and sas, so I will try to make my question as clear as possible.

I need to find the statistical significant differences between two different variables in the same dataset for each treatment level.

I used the proc compare but i am taking just the differences between the values.

Any idea what command to use to run a post hoc test between two different variables
3 REPLIES 3
Paige
Quartz | Level 8
You cannot test whether or not two variables are statistically different, but you can test if statistics computed from those variables are different.

Are you referring to mean differences, standard deviation differences, or something else?
deleted_user
Not applicable
I am interested for the means
Ksharp
Super User
Is it matched observations?
if it is not ,then use proc ttest
if it is ,then use proc univariate

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 1666 views
  • 0 likes
  • 3 in conversation