hello,
I have two distributions A and B as per attached spreadsheet.
Using Sas stat, which procedure will test they are similar or different?
thanks in advance for your help.
Qui
Thanks everyone for the suggestions.
I ended up using proc ttest (paired) and npar1way to analyse the data.
Qui
@Ksharp wrote:
You could try Kolmogorov-Smirnov test is 0.0164.
This supports rejection of the null hypothesis
that the distributions are the same for the two samples.
Check its Example :
Example 85.2: EDF Statistics and EDF Plot
Just to avoid a possible misunderstanding: The p-value 0.0164 refers to the example from the PROC NPAR1WAY documentation, not to @quiphan's sample data. Without knowing anything about the sample sizes, i.e., based on relative frequencies alone, no statistical test can determine whether the differences between the two empirical distributions are significant.
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!
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.